Hi All,
This is Windchill 10 question.
I have an attribute called "DesignControl" with logical name - "ext.abc.DesignControl". It has discrete set values in format like - Internal Name / Display Name as:
Design_A / Design A
Design_B / Design B
.....
For a document when I execute following code, I always get the value of the attribute to be - "Design_A" instead of "Design A" which is the display value.
WTDocument tmpDoc = //Retrieved from search results
LWCNormalizedObject obj = new LWCNormalizedObject(tmpDoc,null,Locale.US,null);
obj.load("number","name","IBA|ext.abc.DesignControl");
System.out.println("Design Control Value - " + obj.getAsString("IBA|ext.abc.DesignControl"));
What other API should I be using to get the correct display value ?
Regards,