cancel
Showing results for 
Search instead for 
Did you mean: 

Creating datalist item using Java

rohit_chakrabor
Champ on-the-rise
Champ on-the-rise
I want a custom datalist item to be created when my custom action executes. I know the syntax of how to create a datalist but am not sure about the syntax for creating a datalist item. I can get the noderef of the datalist but don't know what to pass as parameters to the nodeservice.createNode() method.

Any help will be appreciated.
1 REPLY 1

gravitonian
Star Collaborator
Star Collaborator
Hi,

See docs: http://docs.alfresco.com/5.1/references/dev-extension-points-data-lists.html
They got both JavaScript and Java sample code for how to populate data lists.