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
Creating categories via oscript
Application_Services_FUJITSU_(fuji_ware05_-_(delet
Hi,we encountered some problems when creating categories via oscript. When doing this, the categories are indeed created but before they can be used (its attribute fields are 'empty'), we have to click on them + click on 1 attribute and save the defintion.It seems as if, when clicking the category and attribute a default attrset is loaded and that this must be saved first.Did someone encounter the same problem? Or do you know how to solve this?Thanks in advanceJohan
Find more posts tagged with
Comments
Donna Nalls
Hi Johan,The problem could be one of many things.When you say that you created categories via oscript, I'm wondering when you created the categories? At the time of the node creation? After the node was created? How did you populate the attribute values - inherited from parent or through your oscript?Sounds like you may have created a cache for the cat/atts, but not commit the data. Did you complete the creation process by using the attrData.DBPut() method? You can call this method directly or use the LLNode's NodeCategoriesUpdate() method.Not sure this will resolve your issue, but hope that it will put you on the track.Regards,Donna