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

How to get display name of the attribute?

SOLVED

How to get display name of the attribute?

Hi.

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

Thanks.

Tags (3)
1 ACCEPTED SOLUTION

Accepted Solutions

Re: How to get display name of the attribute?

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

Re: How to get display name of the attribute?

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

Announcements