cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

API to set Multi valued attribute

praseeth.moothe
1-Visitor

API to set Multi valued attribute

Is there an API to set values for a Multivalued soft attribute ?

3 REPLIES 3

You can use the PersistableAdapter API for getting /setting attributes.


See API document of this API at below location


/Windchill_10.2_2/Windchill/codebase/wt/clients/library/api/com/ptc/core/lwc/server/PersistableAdapter.html



Hope this helps !!



Thanks
Shreyas

Hi Shreyas,

I think this API is only available for 10.2. Is there any equivalent in
10.1?

Praseeth M

All,

One thing I have found is that regardless of what the name of the
object is, there is very little documentation on how to use it.
For example, there are multiple constructors that take multiple
arguments. One of them is an "OperationIdentifier". I can guess
what that is based on type information, but it would be good to
have a documented list of how the LWCNormalizedObjects can be
constructed and used in various scenarios. Some examples beyond
the very simple ones in the Javadoc would be appreciated (at
least by me).

Thanks,

Ron
Announcements


Top Tags