AnsweredAssumed Answered

datalist content for a cumstom constraint in workflow page

Question asked by sayal on Nov 12, 2013

i want to use datlist values of a certrain datalist as values of a list in a workflow page. For that i have defined a custom constraint and as done in share-workflow-form-config.xml (to be found at ..\webapps\share\WEB-INF\classes\alfresco\) a custom fiel with a controler. Now i do not exactly know what to do next. I have done some research and found the following:

Now i am confused and i have several questions about this:

In the links above in one approeach CMIS is used. I am new to Alfresco, but still i have never heard using CMIS for stuff like this. Can you tell me something about that?

I think using a controller within a form field is essential (correct me please if i am wrong) to fill my constraint/list with data. Now what has my controller to look like? Should it be a ftl-file? Do i have to make an AJAX call to a repository script that give me some JSON back what i can postprocess then? In order to search for the datalist what i want to use and retrieve its values (i have the NodeRef) what is the best way? Making a search with SOLR? A special method within Alfresco? CMIS? Could the NodeRef Cookbook help me for getting the datalist values? Summing all up: what is the best approach?

I know these are many questions, but i feel like Alice in Wonderland right now with all the different aspects of Alfresco development. So i appreciate every single answer or hint.

Thanks in advance!