03-26-2019 08:37 AM
How can I create a property of a custom model equivalent to a java arrayList ?
03-26-2019 09:31 AM
By Setting
<multiple>true</multiple>
for that property in content model.
03-26-2019 09:45 AM
Hi,
Thanks,
Do you have any idea about how to create a field for this kind of properties.
I mean a field that can give you multiple options and I can choose multiple values.(checkbox maybe ?)
03-27-2019 03:41 AM
I found an example of a multiSelectInput here is the code :
{
name : "alfresco/forms/controls/MultiSelectInput",
config : {
label : "Select Users",
name : "prop_config_users",
optionsConfig : {
queryAttribute : "shortName",
publishTopic : "ALF_GET_FORM_CONTROL_OPTIONS",
publishPayload : {
url : page.url.context
+ "/proxy/alfresco/api/groups/ALFRESCO_ADMINISTRATORS/children",
resultsProperty : "options",
itemsAttribute : "data",
labelAttribute : "displayName",
valueAttribute : "shortName"
}
}
}
},
but I didn't know how to change the url under publishPayload to make it show all users.
Explore our Alfresco products with the links below. Use labels to filter content by product module.