getTemplateInSession() Method
In ReportService, use the getTemplateInSession() method to retrieve a template from a report definition in the catalog based on the bipTokenSession of a given user.
For more information about in-session methods, see About In-Session Methods.
Signature
byte[] getTemplateInSession(String reportAbsolutePath, String templateID, String locale, String bipSessionToken);
Parameters for getTemplateInSession() Method
Parameter | Description |
---|---|
String reportAbsolutePath |
The path to the report to which the template is associated. For example: /HR Manager/Employee Reports/Employee Listing.xdo |
String templateID |
The ID of the template (for example, |
String locale |
The locale of the template to retrieve (for example, |
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. |