Jovana
Jovana

Reputation: 108

Control for multiple text values in Alfresco Share

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?

Upvotes: 2

Views: 1698

Answers (2)

craig_nelson
craig_nelson

Reputation: 177

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

Upvotes: 0

billerby
billerby

Reputation: 1978

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

Upvotes: 6

Related Questions