AnsweredAssumed Answered

Custom model with complex properties

Question asked by antonio_sanchez_garaboa on Oct 27, 2017
Latest reply on Oct 29, 2017 by cesarista

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?

Outcomes