09-14-2017 06:57 AM
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.
09-14-2017 09:16 AM
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 .
Thanks,
Kalpesh,
ContCentric
09-14-2017 10:55 AM
09-15-2017 10:11 AM
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.
09-18-2017 01:39 AM
09-18-2017 09:47 AM
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.
09-19-2017 08:40 AM
Will i be able to create Custom Datalist in Alftresco Communiy 5.2 edition?
09-19-2017 03:55 PM
Yes, nothing has changed with regards to custom dashlets in 5.2 Community Edition.
09-20-2017 12:47 AM
I was asking about Data list.
What ever tutorial i follow,i end with site not available error.
09-20-2017 10:05 AM
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
Explore our Alfresco products with the links below. Use labels to filter content by product module.