I have installed Alfresco Community Edition 5.2 version. When ever a contributor uploads a file, readers will get a share link option for the uploaded file. I have to customize the menu to hide or not generate the share link so that the document is not shared through Alfresco CE. Also I need to disable 'Copy To' and 'Move To' option from the menu. Appreciate if anyone can help me on this.
Hi,
You can disable document share link using below configuration in alfresco-global.properties file.
system.quickshare.enabled=false
Hide Copy To/Move To action from toolbar(share-config-custom.xml).
In share document library there is 1 section with <multi-select>.
copy that section and put it in share-config-custom.xml with removing copy/move configuration.
Hide Copy To/Move To action from document action.
There is one evaluator called disable action.it is disabling action from document action.
<evaluator>evaluator.doclib.action.disableAction</evaluator>
<action id="document-copy-to" type="javascript" label="actions.document.copy-to">
<param name="function">onActionCopyTo</param>
<evaluator>evaluator.doclib.action.editableByCurrentUser</evaluator><evaluator>evaluator.doclib.action.disableAction</evaluator>
</action><action id="document-move-to" type="javascript" label="actions.document.move-to">
<param name="function">onActionMoveTo</param>
<permissions>
<permission allow="true">Delete</permission>
</permissions>
<evaluator>evaluator.doclib.action.editableByCurrentUser</evaluator><evaluator>evaluator.doclib.action.disableAction</evaluator>
</action>
Thanks,
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.