Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
Windchill Gurus,
We have a need to add new values to discrete set of attribute(s) of soft-type(s) programtically. We are still on 9.1, planning to go to 10.2 soon. Has anyone done anything on these lines or point us in right direction?
Thanks,
Yogesh
HI Yogesh,
I guess you are not talking or tried the OOTB loaders for sub-types with additional configured attributes. Are you looking for that? Why would you need it programatically? I would just run the loaders with the additional attributes. It's done for classification and sub-document types.
Or are you specifically looking for a listener to constantly add attributes if updated so the past legacy is not changed? Just need to know why programmatically. Or do you need to programmatically create the xml file from your database to auto load the new attributes from a tabulated list or ERP system?
Patrick
In Reply to Yogesh Bagul:
Windchill Gurus,
We have a need to add new values to discrete set of attribute(s) of soft-type(s) programtically. We are still on 9.1, planning to go to 10.2 soon. Has anyone done anything on these lines or point us in right direction?
Thanks,
Yogesh
Patrick,
We do use OOTB loaders heavily. Actually thats the only way we load new attributes/values for soft-types now. As per my understanding, it has a manual step to remove all existing attributes from soft-type before running load file command. I am not sure if there is a way to load only the new attributes/values with existing ones already there with loader. Please let me know if its possible.
Here is the reson we need it. Our business manages a lot of product information with attributes (and its values). Our typical product has 50+ attribtes. Some attributes can have 100+ values. And this list grows each month. Its tightly controlled by admins now. Users are asking for a way so that they can add one value on "as needed" basis. So we are looking into potential solutions for this.
Yogesh