Search code examples
alfrescoalfresco-share

alfresco store a key value map in a single content model property


I have Alfresco community 5.2 and I need to store in the workflow model a custom property which is basically a Map. Is it possible ? and how?

If that is not possible I need to find another solution. Basically I need a custom input ftl which behaves similarly to the workflow priority input, but instead of having fixed priority int values (1,2,3) bound to priority labels (high, medium, low) I need to have dynamic int values set by the user in a Datalist.

I hope the question is clear, thanks


Solution

  • How about creating a custom form control that gets its values from a web script. The web script can get the data from a data list. There are several examples around the web for how to create a Share form control that gets its values from a web script. Here is one: Dynamic selectone in alfresco share