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

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

How to get display name of the attribute?

VasiliyRepecki
1-Newbie

How to get display name of the attribute?

Hi.

How can i get display name of the attribute by java code?

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions

Resolved by next code:

LWCNormalizedObject obj = new LWCNormalizedObject(persistable, null, locale, null);

obj.load(attributeInnerName);

String displayName = obj.getAttributeDescriptor(attributeInnerName).getLabel();

View solution in original post

1 REPLY 1

Resolved by next code:

LWCNormalizedObject obj = new LWCNormalizedObject(persistable, null, locale, null);

obj.load(attributeInnerName);

String displayName = obj.getAttributeDescriptor(attributeInnerName).getLabel();

Top Tags