Forum Discussion

gjayne84's avatar
gjayne84
Brass Contributor
Nov 03, 2021

Disable Export to CSV in modern list

Hi everyone

 

We have a SharePoint list where we want to prevent people from downloading a copy of the data contained in it.  We have created a a custom permission level which has Use Remote Interfaces and Use Client Integration Features disabled:

 

 

This seems to stop the Export to Excel option as clicking the button tries to open a query.iqy file but this fails with an error, which is perfect.  However, if a user clicks the Export to CSV file option this works and downloads the csv output straight to their computer:

 

 

I've had a look but can't find any way of disabling the CSV option, or just preventing it from working.  Is this possible?

 

1 Reply

  • hunk0227's avatar
    hunk0227
    Brass Contributor
    I believe that is a default function by the sharepoint system and cannot disable by just modifying the permission level.
    The only option to I see is to hide that button by means of scripting,

    Hope this helps ':)

Resources