As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
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.
Adding a custom property | Alfresco Documentation
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.