cancel
Showing results for 
Search instead for 
Did you mean: 

How to populate attributes

Former Member
0 Kudos

Dear MDM Gurus,

Is there a way to populate attributes and also create categories while we import the data.

Thanks.

Jack

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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