Alfresco folder rule to create publicly sharable link for the children

149 Views Asked by At

I am using Enterprise Alfresco.

I want to have a rule on my folder that will create a publicly shareable link whenever a new document created in the folder. The sharable should be the same as what we can create using the share ui.

Any help will be appreciated...

1

There are 1 best solutions below

0
On

You can Refer logic of publicly shareable code in below webscript.

ShareContentPost.java

QuickShareService.java