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

API to set Multi valued attribute

Highlighted

API to set Multi valued attribute

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

3 REPLIES 3
Highlighted

RE: API to set Multi valued attribute

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

Highlighted

API to set Multi valued attribute

Hi Shreyas,

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

Praseeth M
Highlighted

For 10.1 it is LWCNormalizedObject in 10.2 LWCNormalizedObject API is replaced by PersistableAdapter

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