How to disable this function:view it in a browser

cancel
Showing results for 
Search instead for 
Did you mean: 
cll
Member II

How to disable this function:view it in a browser

How to disable this function:view it in a browserbecause it allows users to use the function of “save as”.

This icon has an eye. As shown in the attached screenshot.

2 Replies
krutik_jayswal
Senior Member II

Re: How to disable this function:view it in a browser

<config evaluator="string-compare" condition="DocLibActions">

<actions>

<action id="document-view-content" type="link" label="actions.document.view">
<param name="href">{viewUrl}</param>
<evaluator>evaluator.doclib.action.disableAction</action>

</actions>

</config>

Add above consiguration in side the DocLibActions in share-config-custom.xml

cll
Member II

Re: How to disable this function:view it in a browser

Thanks very much!