As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Hello,
is it possible to get Property description from PropertyRepresentation in java?
Thanks in adavance!
Can you provide more details? What you are trying to do and what are the steps you are following ?
Hi thanks for a quick response,
I'm trying to get this description from a property from alfresco model manager. I want to get it in my application
as String but PropertyRepresentation has only these attributes and no description attribute.
So i'm wondering is it possible to get the description?
Property descriptions are just descriptive text for alfresco models. As far as I know you cannot read that into your application and according to me you should not be using that in your application.
If i understand correctly based on https://prnt.sc/pcxf13 this link, you want to get the property definition as configured in content model. To get the property definition use DictionaryService.
Dictionary Service: https://docs.alfresco.com/5.2/references/dev-services-dictionary.html
See the API here: http://dev.alfresco.com/resource/AlfrescoOne/5.1/PublicAPI/org/alfresco/service/cmr/dictionary/DictionaryService.html