AnsweredAssumed Answered

List constraint with key and value

Question asked by mick73 on Apr 8, 2014
Latest reply on Apr 12, 2014 by romschn
Hi everyone, I'm pretty new to Alfresco.
I'm using Alfresco Community Edition - latest version.

I need to define a list constraint in my custom model where the list have displayed values and key values.
Something like HTML "Select", where you can define

<option value="key">displayedValue</option>


The only constraint that I see available is:


<list>
  <value>abc</value>
  <value>def</value>
  …
</list>


with no possibilities to use a "key" different from "value".

Of course I need also that when I save, I save the key, not the displayedname!

Any help?
Thanks in advance,
Mick.

Outcomes