Adding a File Copy Redirector to a Report
A file copy redirector copies the report to a location on a disk. This location can be remote as long as it is exposed as a UNC (Universal Naming Convention) path.
To use a file copy redirector, you need the following prerequisite:
- The destination file path must be added in Workbench under Project > File Configuration. Learn more
To add a file copy redirector to your report:
- Open Workbench and in Project Explorer, expand your project > Reports > Configurations > your configuration, right-click the desired report, and select Edit.
- On the Redirector Commands tab, select Click here to add new item.
- In the Selected rule settings panel in Command Type, select File Copy.
- In Publish Folder, enter the path where want to copy the report.
- In Execute Command On, select the condition for executing the redirector, and then click Apply.
- To test your file redirector, right-click your report in Project Explorer and select Test Report. When the test completes, check the publish folder for your report.