Adding a filename prefix parameter to a report
When you create a report that runs as a background task, you can add a parameter to the event handler for the background task, that designates a prefix for the filename of the output. This can make it easier to search for and locate the report file later. This procedure is particularly helpful when working in a Multi-Tenant Cloud (MTC) environment.
By default, TaskMan assigns the name (not caption) of the report form as the filename prefix. The procedure in this topic allows you to use your own custom prefix in place of the report name. This procedure is best used to define a prefix that does not change whenever the report is run.
You can verify that this procedure was successful by running the report and then checking the filename of the resultant report output file.