uploadTemplateForReportInSession() Method
In ReportService, use the uploadTemplateForReportInSession() method to upload a template to a report definition in the catalog based on the bipSessionToken of a given user.
For more information about in-session methods, see About In-Session Methods.
Signature
boolean uploadTemplateForReportInSession(String reportAbsolutePath, String templateName, String templateType, String locale, byte[] templateData, String bipSessionToken);
Parameters for uploadTemplateForReportInSession() Method
Parameter | Description |
---|---|
String reportAbsolutePath |
The path to the report to which to upload the template. For example: /HR Manager/Employee Reports/Employee Listing.xdo |
String templateFileName |
The file name of the template to upload. |
String templateName |
The name of the template to upload. |
String locale |
The locale to assign to the template (for example, |
byte[] templateData |
The contents of the template file to upload. |
String bipSessionToken |
The proprietary token string generated for the user. With the bipSessionToken string, the user no longer needs to provide user credentials. The server can validate this token string and restore the session to perform needed operation. |