updateTemplateForReportInSession() Method
In ReportService, use the updateTemplateForReportInSession() method to update a template for a specific report 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 updateTemplateForReportInSession(String reportAbsolutePath, String templateName, String locale, byte[] templateData, String bipSessionToken);
Parameters for updateTemplateForReportInSession() Method
Parameter | Description |
---|---|
String reportAbsolutePath |
The path to the report that contains the template to update. For example: /HR Manager/Employee Reports/Employee Listing.xdo |
String templateName |
The name of the template to update (for example, |
String locale |
The locale of the template to update (for example, |
byte[] templateData |
The template file. |
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. |