Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
API, SDK, REST and Web Services
LAPI - Change attribute order in category
Michael_Alexander
How can I use LAPI to change the order of attributes within a category? This would mimic the 'Display After' in the GUI. I've tried creating a new category version and using attrset to add the attributes in the new order. This works if I am adding them in the order they were originally created in (i.e. manually through the GUI change the original order, then use LAPI to change them back). However, any other order fails. It appears to be an issue with the ID. When attrset is called it changes the attribute ID to the next ID in sequence instead of retaining the ID in the attrInfo object. This causes an Internal Dictionary Exception when I attempt to create the new version. Any ideas?
Find more posts tagged with
Comments
There are no comments yet