cancel
Showing results for 
Search instead for 
Did you mean: 

Rule

mvicidomini
Champ in-the-making
Champ in-the-making
Is there a way to apply / or associate a Rule to folders and subfolders automaticaly throught Javascript ?
3 REPLIES 3

niketapatel
Star Contributor
Star Contributor
I dont think OOB javascript api are available for RuleService.
Either you can use java api OR you can create custom js api for it

kaynezhang
World-Class Innovator
World-Class Innovator
Or you can use webscript api.

mitpatoliya
Star Collaborator
Star Collaborator
this webscript yiu can use
POST /alfresco/service/api/node/{store_type}/{store_id}/{id}/ruleset/rules