Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
I'm trying to grab the value from some IBAs using the newcom.ptc.core.lwc.server.LWCNormalizedObjectclass.
For values that are single valued, i'm having no problems, but when i have mult-valued IBAs I'm stuck. The get method says it's supported, but for the life of me I can't figure out how to access them. It sounds like an array of Objects will be returned.
If anybody has used this class for retrieving a multi-valued IBA and would share the code snippet, I would appreciate it.
getpublic Object get(Stringattribute)
throws WTException<dd>
Supported API: true
Returns the value(s) of the attribute with the given name from the object. If the attribute is multi-valued, an Object[] will be returned. Throws an exception if the attribute has not been previously loaded into the object.</dd>