Question

I have a custom data model that has a few fields similar to this:

<property name="my:Property1">
    <title>Property1</title>
    <type>d:text</type>
    <multiple>true</multiple>
</property>

The problem is that it is rendered as a single textbox in Share. Is there any control I can use within a form to manage a text property that allow multiple values?

Was it helpful?

Solution

No the OOTB one accepts and renders it as a comma separated values. It should be fairly straightforward to construct a custom one that fits your need though.

There is an open issue for this at Alfresco (cast a vote on it :))

https://issues.alfresco.com/jira/browse/ALF-3144

OTHER TIPS

I stumbled upon this recently 2/7/2015 and had the same issue of needing to create a table or a property value that you can add or delete records too. I stumbled upon this github repository https://github.com/msvoren/alfresco-datatable-property but i noticed that it had some errors in the javascript from being several years old. I have since updated the javascript to work with alfresco community 5.0.c

Git Hub Repo

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top