Am looking forward to customize a Data-list,
1. Can i able to trigger an custom event(task i want to perform) before saving list row item save event? how should i do it?
2.Is there a way to update a list pro-grammatically ? I don't find a REST API!
Kindly help me out on understanding the CRUD event flow of a data list.
Hi, Anandhan S
Please refer this Behaviors/Policies | Alfresco Documentation to create a custom behavior
After that on
beforeCreateNode event of org.alfresco.repo.node.NodeServicePolicies
check node type with your custom data list type if matches then perform your operations .
I agree that you should look at Behaviors to understand how to fire code when saving data list items.
Regarding working with data lists programmatically the first step is to realize that an item in a data list is simply a node in the repository like any other. That means:
1. They can be viewed in the node browser, which is really helpful to understand how they are structured.
2. They can be created, updated, and deleted through any of the usual APIs you might use to work with folders and documents, and that includes CMIS.
3. They can be hooked with behaviors as has already been mentioned.
Good, I'm glad that helped.
If you are having issues with query parameters or queries I suggest you start a new topic with as much detail as possible.
Will i be able to create Custom Datalist in Alftresco Communiy 5.2 edition?
Yes, nothing has changed with regards to custom dashlets in 5.2 Community Edition.
I was asking about Data list.
What ever tutorial i follow,i end with site not available error.
what would be exact target location to place the context file(-context.xml),if i place it in <installation>\alfresco-community\tomcat\shared\classes\alfresco\extension my site is inaccessible.
Am using alfresco community 5.2
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.