Monday, October 19, 2015

Add Aspects via Javascript Console

JavaScript console, one of developer friendly tool, to make some quick actions. It directly hits the Alfresco Repository and by passing the Share customisation.

Today, I had a problem with some of the Share customisation and it is not letting me to add the Aspects via Share UI. 

I quickly navigated to the JavaScript console and added the aspects as mentioned below.

var node = search.findNode("workspace://SpacesStore/41b15d7e-5b8f-432a-8a70-407096d8a0b6");

Hope this helps someone !

Happy coding !

No comments:

Post a Comment