AnsweredAssumed Answered

Hide comment link in document details

Question asked by netfisher777 on Nov 17, 2015
Latest reply on Nov 19, 2015 by netfisher777
Hi all!

I'm writing an amp module for hiding some content in alfresco share and now need to hide all links in document details node-header component (likes, favourite, share, comment)
I was successfully remove likes, favourite and share links, but not comment.

Here is what i'm trying to do:


        <id>Remove Likes, Favourite and Share links from document details</id>


for (var i=0; i<model.widgets.length; i++)  {
    if ( == "NodeHeader") {
        model.widgets.options.showFavourite = false;
        model.widgets.options.showLikes = false;
        model.widgets.options.showQuickShare = false;
        model.widgets.options.showComments = false;

Any suggestions?

Alfresco SDK version - 2.1.1 (Community)