Can i disable the export function?

Hello,

how can i disable the export function?

Thx

Hi @dan

You can disable report generation using PowerShell, and to do this, you'll need tenant administrator credentials.

We have some detailed documentation with the steps and commands you can check.

Best regards,
Milagros
Plumsail team

The Generate Report Button (PDF) is now hidden with -Key "PochDisableReports". But the Button “Export to CSV” is still there.

Hi @dan

You have two simple ways to go about this. The easiest way is to hide the option with some custom CSS:

.poch-export-csv-link{
    display: none!important;
}

Alternatively, if you want to be more selective about what fields actually get exported, you can use this configuration:

api.config.csvExportFields = ["ID", "Title", "Office", "JobTitle"];

One important thing to keep in mind: If your data source is a SharePoint list, make sure you're using the internal field names. If you're working with User Profiles, you'll need the internal names of the SharePoint user profile properties instead.

Best regards,
Milagros
Plumsail team