AnsweredAssumed Answered

Disable share button from the search result page

Question asked by ayushi.agrahari on Dec 8, 2017
Latest reply on Dec 9, 2017 by ayushi.agrahari

when we search for any document in alfresco,we see an info button on the search result page and when we click on the info button,we see the public share button,I need to disable that share button from the alfresco search page.


so, what I have done is replaced the url tag in tomcat/webapps/share/WEB-INF/classes/alfresco/share-config.xml to the empty url tag as follows

 <config evaluator="string-compare" condition="Social">
      <!-- Alfresco QuickShare social widget - for creating public url that can be shared -->
            Will be available as Alfresco.constants.QUICKSHARE_URL using javascrip in the browser.
            If changing this, make sure this url matches the quickshare rule in urlrewrite.xml
         <!-- <url>{context}/s/{sharedId}</url> -->

(commented out the <url>{context}/s/{sharedId}</url> tag and added <url></url>)


with this,the share button is disabled from the document library,but not from the info button on the search page.I am unable to figure out why this is so.


Any help would be highly appreciated...