Skip to main content
1-Visitor
November 12, 2013
Question

How to get IBA attribute definition Localization display value?

  • November 12, 2013
  • 0 replies
  • 1118 views

I know LWC API to get localizationProperties

com.ptc.core.lwc.server.LWCLocalizablePropertyValue lwcLanguage=(com.ptc.core.lwc.server.LWCLocalizablePropertyValue)

com.ptc.core.lwc.server.cache.db.PropertyValueDBService.getPropertyValueDBServiceInstance()

.getPropertyValuesFromPropertyContextHolder(

lwcpropertyDefinitionID,

lwcTypeDefinitionID(),

lwcAttributeDefinition_ObjectIdentifier );

lwcLanguage.getValue("ibaName",locale);

The API is too complex. You should to get lwcpropertyDefinition object,lwcTypeDefinition object,and lwcAttributeDefinition Object.


Is there any simple API to do this?