cancel
Showing results for 
Search instead for 
Did you mean: 

How to get property description using java api from PropertyRepresentation

mire323
Confirmed Champ
Confirmed Champ

Hello,

is it possible to get Property description from PropertyRepresentation in java?

Thanks in adavance!

4 REPLIES 4

abhinavmishra14
World-Class Innovator
World-Class Innovator

Can you provide more details? What you are trying to do and what are the steps you are following ?

~Abhinav
(ACSCE, AWS SAA, Azure Admin)

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.  

abhinavmishra14
World-Class Innovator
World-Class Innovator

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/Dicti...

~Abhinav
(ACSCE, AWS SAA, Azure Admin)