Skip to main content
1-Visitor
August 1, 2014
Question

API to set Multi valued attribute

  • August 1, 2014
  • 3 replies
  • 2274 views

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

3 replies

August 1, 2014

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

1-Visitor
August 4, 2014
Hi Shreyas,

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

Praseeth M
10-Marble
August 4, 2014
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