on 10-08-2006 5:52 PM
Dear MDM Gurus,
Is there a way to populate attributes and also create categories while we import the data.
Thanks.
Jack
Hello Jack:
Creating categories is easy. Just import as any other data, just choose as destination table "Categories".
Attributes, on the other hand, are a little bit tricky. I haven't found a way to do it, so I usually use a small Java API routine to add them:
public int AddAttribute(java.lang.String taxonomyTable,
AttributeInfo attributeInfo)
throws StringException
You have to keep in mind that after <b>adding</b> the attributes, you still have to <b>link</b> them. This task can also be performed either manually or by the Java API.
public int LinkAttribute(java.lang.String taxonomyTable,
int taxonomyNodeID,
int attributeID,
int priority,
int changeStamp)
throws StringException
I hope that helps
Alejandro
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.