function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Natraj Subramani 15Natraj Subramani 15 

Edit Report Filter

Hi All,

We have created a standard salesforce report based on a custom object. The report is placed in a report folder which has "Viewer" access for certain users.

The report is accessed via button click, which passes few filters to the report (Like District etc).Users will only see data related to their district.

The report works perfectly fine but it gives users the access to edit the report filter. User can still change the filter and run the report to see other data.

Is there a way to make a report & its filters read only?

I did try removing "Create and Customize Reports" and user can no longer edit the filters for that report but thats taking away the create access for personal folders.

Any suggestions, please confirm.

Thanks
Natraj
Best Answer chosen by Natraj Subramani 15
NagendraNagendra (Salesforce Developers) 
Hi Natraj,

Sorry for this issue you are encountering.

May I request you please confirm if you are testing this functionality in classic or lightning?

This feature is now available in Salesforce Lightning. In Lightning Experience, the filters have a button that allows the report filters to be hidden. 

For more information please refer to below link from the success community which might help you further. Hope this helps.

Kindly mark this as solved if the reply was helpful.

Thanks,
Nagendra