How to get property description using java api from PropertyRepresentation

cancel
Showing results for 
Search instead for 
Did you mean: 
mire323
Active Member II

How to get property description using java api from PropertyRepresentation

Hello,

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

 

Thanks in adavance!

4 Replies
abhinavmishra14
Advanced

Re: How to get property description using java api from PropertyRepresentation

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)
mire323
Active Member II

Re: How to get property description using java api from PropertyRepresentation

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?

 

mitpatoliya
Moderator
Moderator

Re: How to get property description using java api from PropertyRepresentation

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
Advanced

Re: How to get property description using java api from PropertyRepresentation

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)