How can I create a property of a custom model equivalent to a java arrayList ?
By Setting
<multiple>true</multiple>
for that property in content model.
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 ?)
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.
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.