AnsweredAssumed Answered

Hide edit document menu item.

Question asked by baikal on Jan 12, 2017
Latest reply on Jan 12, 2017 by baikal

I don't want my users to edit documents in google docs but I can't just remove google docs integration because it breaks some documents that already have been edited this way. So I want to hide the menu item from edit document menu, I have found this example here

  

<actions>
      <action id="view-in-explorer">
         <evaluator>evaluator.doclib.action.disableAction</evaluator>
</action>

<!-- View document in browser -->
<action id="document-view-content" type="link" label="actions.document.view">
      <evaluator>evaluator.doclib.action.disableAction</evaluator>
</action>

</actions>

 

but I'm not sure how to adjust it for google docs, what would be the action id, type and label? Where can I find them? Does evaluater line stay the same? 

Outcomes