Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Translate the entire conversation x

How to get display name of the attribute?

VasiliyRepecki
12-Amethyst

How to get display name of the attribute?

Hi.

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

Thanks.

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();

Announcements



Top Tags