Pouplate dropdown values from datalist using ListofValueConstraint
I want to dynamically populate the dropdown values in alfresco share. I have created a datalist to store the dropdown values and created a class extending the ListOfValuesConstraint class and calling it from the model file. But there is no option to get the search service or node service to look for the datalist values from the custom class. I dont want to store the dropdown values in database since the maintenence also will be difficult. To add a new value later we may have to contact the DB team insert values on that table. Please see the code below.
Caused by: org.springframework.beans.MethodInvocationException: Property 'allowedValues' threw exception; nested exception is org.alfresco.error.AlfrescoRuntimeException: 06150022 SOLR queries can not be executed while the repository is bootstrapping
Caused by: org.alfresco.error.AlfrescoRuntimeException: 06150022 SOLR queries can not be executed while the repository is bootstrapping