I customize a content-metadata-presets and it works perfectly . my problem is: I like to display a json propety of a document like a many properties.
actually I have :
signers:
[{"isInternal":false,"firstName":"Mark","lastName":"jacksson","coordinate":"0,0,595,65","telephone":"","id":"","page":1,"email":"***","username":"","order":2}]
but my goal is to show like:
signers:
isInternal:false
firstName:Mark
lastName:jacksson
coordinate:0,0,595,65
Do you have any solution to resolve this problem.
Thank you
to more explain my problem, there is what i have now in metadata
but i like show like :
>isInternal: true
>firstname:...
Hi Saadaoui,
Without customizations, you cannot format a JSON string / field in the card viewer.
Infact, if you would go in edit mode, how the JSON string could be edited being formatted?
I see two options here:
1) Design a different strategy for the metadata. As an example you could use some metadata and value them with the content of the JSON while you are filling the JSON itself.
2) Customize the viewer to manage the JSON layout in the field.
I hope this will help.
Thank you for your answer
If I choose to Customize the viewer to manage the JSON layout in the field.
Do you know what is the best methode can i use from an external module (I can't edit file of ACA source direct, I must do it from external module )
Discussions, help and advice about the Alfresco Development Framework.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.