How to get the custom attributes programatically?
Accepted answer
the problem we have is that you haven't said what kind of program
client
server
java
javascript
OLSC
??
here are links to some code in Java for Client and Server (Advisor or Participant)
that accesses all the attributes..
client - see the 'accepted answer' here https://jazz.net/forum/questions/94776/assertionfailedexception-problem-with-getting-the-values-of-attributes
server - see the third post here https://jazz.net/forum/questions/76276/how-to-get-the-value-selected-by-user-from-a-drop-down-list
client
server
java
javascript
OLSC
??
here are links to some code in Java for Client and Server (Advisor or Participant)
that accesses all the attributes..
client - see the 'accepted answer' here https://jazz.net/forum/questions/94776/assertionfailedexception-problem-with-getting-the-values-of-attributes
server - see the third post here https://jazz.net/forum/questions/76276/how-to-get-the-value-selected-by-user-from-a-drop-down-list
Comments
One other answer
you could use getValue with attribute id specified within double quotes
sample code:
sample code:
var custAttr = workItem.getValue("custAttrID");hope it helps