cancel
Showing results for 
Search instead for 
Did you mean: 

Removing like and comment in data folder and data file

irene08
Champ in-the-making
Champ in-the-making
Can someone teach me on how to remove 'like' and 'comment' only in data folder and in data file? I just want to maintain the 'favorite'. Thank you.
3 REPLIES 3

amitabhandari1
Champ in-the-making
Champ in-the-making
Hi ,

Try to add below configurations  in share-config-custom.xml and make changes  as you want to add or remove  details.

     <config evaluator="string-compare" condition="DocumentLibrary"  >
      <metadata-templates>
         <template id="default">
              <line index="10" id="date">{date}{size}</line>
            <line index="20" id="description" view="simple">{description}</line>
            <line index="30" id="tags" view="simple">{tags}</line>
            <line index="40" id="categories" view="simple" evaluator="evaluator.doclib.metadata.hasCategories">{categories}</line>
            <line index="50" id="social" view="simple">{social}</line>
           </template>
      </metadata-templates>
    </config>

Thanks,

mitpatoliya
Star Collaborator
Star Collaborator
Go through this one
you will get to know the anatomy of actions in share then I am sure you will be able to play around with any actions.
http://wiki.alfresco.com/wiki/Custom_Document_Library_Action

irene08
Champ in-the-making
Champ in-the-making
Thank you.