on 07-13-2006 9:54 PM
Hi All,
Has anyone been able to successfully implement CatalogData.LinkAttribute method?
Here is my call:
changeStamp = catalog.LinkAttribute("Categories", hierarchyCategory.getNode4(), taxonomyAttribute.getID(), 50, 0);
I debugged to make sure the taxonomyNodeID and attributeID are passed and are correct. May be the last parameter, changeStamp, is causing problems since I've just passed a zero?
Please let me know if you were able to successfully call this method, and if yes, How?
Thanks!
Roman D.
Hi Roman,
The changestamp cannot be zero. The changestamp is the changestamp for the taxonomy node, in your case category. So you need to get a resultset that returns the category to which you're trying to add the attribute. Then call A2iResultSet.getChangeStampAt() and pass this value to the LinkAttribute method.
Hope this helps,
Richard
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.