How to Disable Export Controls in Bold Report Viewer
In Bold Reports, you can easily manage the visibility of export options in the Report Viewer toolbar. This feature is especially useful when you want to restrict export capabilities for certain users or when embedding reports in environments where exporting is not required.
This article explains how to disable export controls in the Bold Report Viewer using the showexportcontrols
custom attribute.
Steps to Disable Export Controls
-
Access the report file you want to configure.
-
In the Properties panel, navigate to the Miscellaneous section, select Custom Attributes and add a new custom property with the following values:
Name:showexportcontrols
Value:false
(Boolean). -
Save and Preview the report.
Before setting the attribute, the default toolbar has the export options included.
After setting the attribute, the export options are not included in the toolbar.
With the showexportcontrols
attribute is set to false
, the export options will no longer appear in the Report Viewer toolbar. This is ideal for scenarios where reports should be view-only.