I need to create a custom model to save something like:
<doc>
<title>Title</title>
<genre>Fantasy</genre>
<authors>
<author>
<name>Author 1</name>
<email>author1@email.com</email>
</author>
<author>
<name>Author 2</name>
<email>author2@email.com</email>
</author>
</authors>
</doc>
As you can see, my property "author" is multiple, and contains two other properties, "name" and "email".
However, Alfresco doesn´t allow to create complex properties.
How should I model somethig like this?
You should use empty nodes to store every author with a peer-to-peer association with content node. Probably you have also to create some custom control/form to display the info in Share.
Maybe every author info may be stored in a datalist for example.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
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.