Hello,
I've looked at the Category attributes example given, but I probably need more guidance than what's there. I'm assuming I can update metadata after creation simply by updating the Metadata object on the node then doing an UpdateNode() call. I'm having a bit of difficulty understanding the right way to set attributes on categories (assuming categories that already exist in the system). Is the correct approach to get a category template or a category definition? The category template has a placeholder for attribute values but there's no way of knowing what value corresponds to what attribute.
Let's assume you have a list of name value pairs that represent display name and target value. Let's also assume that we can find the category node, but we have no idea what the individual attribute IDs are. What then is the correct approach for setting each attribute value in your attributeGroup or attributeGroup definition? In the example, you fetch the AttributeGroup object using the GetCategoryTemplate call. You then set the values in the Values list by specifying its index when you set it (i.e. attrGroup.Values[x] = somevalue.
In the above approch, I see the following gaps:
* How do you know what index to set (fetching the AttrGroupDefinition doesn't help unless you have to fetch it as well as the category template)?
* How do you support sets?
Thanks in advance
-Hugh