Hello All,
I want to remove the link associated with the Document so that it cant get user to the document details page.
I am providing image for a guidelines of what i exactly needs.
What link you want to remove/disable, screen shot doesn't highlight it. Link on nodes itself or links (actions) on right side menu ?
If you are looking to hide actions based on some conditions, have a look at this docs:
https://docs.alfresco.com/6.1/concepts/doclib-predefined-evaluators-reference.html
https://docs.alfresco.com/6.1/concepts/dev-extensions-share-evaluators.html
If you are looking to disable the link on node itself, then you have to extend the document library.
Have a look at this docs which may help you on extending doclib:
https://docs.alfresco.com/6.1/concepts/dev-extensions-share-surf-extension-modules.html
https://docs.alfresco.com/6.1/concepts/dev-extensions-share-override-ootb-surf-webscripts.html
Hi @abhinavmishra14 ,
I want to remove screenshot(4).png URL. So that Users cant see the Document details page of it.
Please guide me through it.
Thanks.
For second option, i already provided links above. Copying again here:
If you are looking to disable the link on node itself, then you have to extend the document library.
Have a look at this docs which may help you on extending doclib:
https://docs.alfresco.com/6.1/concepts/dev-extensions-share-surf-extension-modules.html
https://docs.alfresco.com/6.1/concepts/dev-extensions-share-override-ootb-surf-webscripts.html
Hi @abhinavmishra14 ,
I got your point but what webscript i should add to remove that link from node and what should be my Source package root and target package root in customizartions.
Thanks.
If you go further down in the docs, you would see an example of invite page which demonstrate how to find the webscript and package and how to enable tool for looking at the details.
See here :
https://docs.alfresco.com/6.1/concepts/dev-extensions-share-surf-extension-modules-introduction.html
SurfBug:
https://docs.alfresco.com/6.1/concepts/dev-extensions-share-surfbug.html
Hi,
You need to override documentlist-view-detailed.js file to remove link from file/folder name.
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.