12-29-2017 12:40 PM
We are using dynamic constraint list with the id and name combination. After packet creation if any name change with respctive id and system trying to update existing packet. integrity violation error is coming. Is there any way to differentiate label and value in list
12-30-2017 06:05 AM
Please first provide the name (and ideally link to) the addon you are using for the dynamic constraint list functionality. Since this is not a standard functionality of Alfresco, it is provided by some addon and in order to respond to the question we need to know which one, as they may have different implementations.
12-30-2017 09:42 PM
Thanks Axel ,
We are using ListOfValuesConstraint (Alfresco Data Model API)
01-01-2018 07:25 AM
That type of constraint is not a "dynamic" constraint list. It is just a simple, predefined constraint list. And yes, it differentiates between label and value - the label is maintained via localisation of the model. You can see an example in the BPM Model localisation files.
01-02-2018 10:53 AM
Thank You Axel. This is very helpful. Our dropdown values(ID -Name ) is changing frequently. Could you please suggest some good dynamic constraint list functionality.
01-02-2018 12:58 PM
So far I haven't seen "good" functionalities yet. A quick search via Google returns various results, and even a meta list of 5 addons.
With frequently changing drop down values you should be really careful about setting this up as a "constraint". If your list e.g. only includes the "currently selectable" values for UI convenience, then this may result in existing data becoming invalid and causing validation issues if old entries need to be touched again, as their old value may no longer be contained in the list.
01-03-2018 06:25 AM
I have been using this one with success for years now GitHub - dgcloud/alfresco-value-assistance: Configurable value assistance module for Alfresco Share ...
Explore our Alfresco products with the links below. Use labels to filter content by product module.