I'm trying to create an attachment/annotation from a Word Template, and then copy it to a Sharepoint location.
I have managed to create the new Word document using the SetWordTemplate Action, but I don't know where I can get the Guid of the newly-created record.
Process.callActionFromHtml("SetWordTemplate",
[
{
key: "Target",
type: Process.Type.EntityReference,
value: new Process.EntityReference("test_entity", testEntityId)
},
{
key: "SelectedTemplate",
type: Process.Type.EntityReference,
value: new Process.EntityReference("documenttemplate", templateId)
}
],onWordDocumentGenerated(params)
);
However, I am not getting any output when the action is completed successfully.
How can I get the Guid of the record that has been created please?
*This post is locked for comments