I'm using Alfresco Community 5.0.d and Alfresco all-in-one sdk for customisation. I am not able to find a way to remove the favorite/like/comment/share from document library.
I followed this How to disable the social plugins (such as following user and ‘like’ document) in Document Library f... but social links are still working.
Please let me know the way to fix it.
Thanks in advance!
Solved! Go to Solution.
Hi:
It is better to copy metadata template definitions from share-documentlibrary-config.xml to share-config-custom.xml, to put replace=true in the corresponding Document Library section and to comment the cited social line.
The reference file is share-documentlibrary-config.xml, which is under WEB-INF directory and it should not be changed, while share-config-custom.xml is in Share web-extension directory.
$ALF_HOME/tomcat/shared/classes/alfresco/web-extension/share-config-custom.xml
Regards.
--C.
Hi:
An option is to replace the default metadata template for simple and detailed view in share-config.custom.xml
Maybe this link helps:
- More about quick shared functionality in Alfresco - zylk
Regards.
--C.
As mentioned in post, Have you tried by commenting following line from share-documentlibrary-config.xml file
<line index="50" id="social" view="detailed">{social}</line>
It should work like a charm.
Well, I think it is the same tip. This should work for Alfresco 5.0.d
Regards.
--C.
Hi:
It is better to copy metadata template definitions from share-documentlibrary-config.xml to share-config-custom.xml, to put replace=true in the corresponding Document Library section and to comment the cited social line.
The reference file is share-documentlibrary-config.xml, which is under WEB-INF directory and it should not be changed, while share-config-custom.xml is in Share web-extension directory.
$ALF_HOME/tomcat/shared/classes/alfresco/web-extension/share-config-custom.xml
Regards.
--C.
this worked like a charm for removing the share (social) button but how to remove other feature including favorite, comments and like option?
Hi:
Do you refer in document details page ?
Regards.
--C.
In document library and document details, I want to remove the favourite, like and comment feature.
Works still on 5.2.2.
Thanks Cesar!
Hii @cesarista ,
This change for document library work perfectly fine and removes like, favourite, comment but is that any way to remove it from Document details as when i click on any document it still have this inside document details.
Thanks,
Piyush
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.