mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-06-02 17:35:18 +00:00
- rename createAction to create - add (read-only) name property to action 2) Addition of createPackage to Workflow Service API (no implementation yet) git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3510 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
10 lines
227 B
JavaScript
10 lines
227 B
JavaScript
// create add action
|
|
var addAspectAction = actions.create("add-features");
|
|
addAspectAction.parameters["aspect-name"] = "cm:lockable";
|
|
|
|
// execute action against passed in node
|
|
addAspectAction.execute(doc);
|
|
|
|
// return
|
|
true;
|