05-25-2020 01:48 AM
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.
05-25-2020 02:40 PM
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
05-26-2020 09:14 AM
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.
05-26-2020 09:19 AM
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
05-26-2020 09:58 AM
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.
05-26-2020 10:09 AM
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
05-27-2020 03:18 AM
Hi,
You need to override documentlist-view-detailed.js file to remove link from file/folder name.
Explore our Alfresco products with the links below. Use labels to filter content by product module.