.NET API Printing
i.You can run reports from the API with various overloads of the function
ReportManager.SaveReportAsPdf()
ii.The function takes following parameters, depending on the overload used:
int reportId |
The ID of the report to print |
Identifier element |
Is the object reference for a single object |
List<Identifier> elements |
List of many objects reference |
string path |
Is the desired target folder to save the generated PDF file |
bool overwrite |
Is to define if to overwrite existing PDFs of the same name |
Dictionary<string, object> parameter2value |
Pairs of optional parameters and their values |
iii.The naming convention for the generated report is “ObjectName-ReportName.pdf”