Would anyone have an example of how to create entries programmatically (Java or JS) in a list? for example creating entries in a meeting schedule list on site.
I thank anyone who can help me !
var datalistEntry = dataList.createNode(null, "dl:meetingAgenda");datalistEntry.properties["dl:meetingAgendaRef"] = "Reference";datalistEntry.properties["dl:meetingAgendaTime"] = new Date();datalistEntry.properties["dl:meetingAgendaOwner"] = "Owner";datalistEntry.save();
That is all
If your code is running remote to Alfresco you can use CMIS to create data list entries because CMIS 1.1 includes support for "cmis:item" and "dl:meetingAgenda" would be a child type of "cmis:item". There are also many examples of creating nodes and setting properties with CMIS.
Hi Jeff thanks for your help.
Valeu Douglas, vou estudar sua sugestão.
Retrieving data ...