getReportParametersInSession Method getReportSampleData Method getReportSampleDataInSession Method

ReportService 4-7

4.11 getTemplate Method

Use getTemplate method to retrieve a template from a report definition in the BI Publisher catalog. Signature byte[] getTemplateString reportAbsolutePath, String templateID, String locale, String userID, String password;

4.12 getTemplateInSession Method

Use getTemplateInSession method to retrieve a template from a report definition in the BI Publisher catalog based on the bipTokenSession of a given user. For more information about in-session methods, see Section 1.2, About In-Session Methods. Signature byte[] getTemplateInSessionString reportAbsolutePath, String templateID, String locale, String bipSessionToken; Table 4–10 Parameters for getReportSampleDataInSession Method Parameter Description String reportAbsolutePath The path to the report for which to retrieve the report data model sample data. For example: HR ManagerEmployee ReportsEmployee Listing.xdo String bipSessionToken The proprietary token string generated for the user by the BI Publisher server. With the bipSessionToken string, the user no longer needs to provide user credentials. The BI Publisher server can validate this token string and restore the BI Publisher server session to perform needed operation. Table 4–11 Parameters for getTemplate Method Parameter Description String reportAbsolutePath The path to the report to which the template is associated. For example: HR ManagerEmployee ReportsEmployee Listing.xdo String templateID The ID of the template for example, Chart Layout. String locale The locale of the template to retrieve for example, en_US. String userID Specifies the BI Publisher user name. String password Specifies the password for the user name. Table 4–12 Parameters for getTemplateInSession Method Parameter Description String reportAbsolutePath The path to the report to which the template is associated. For example: HR ManagerEmployee ReportsEmployee Listing.xdo String templateID The ID of the template for example, Chart Layout. String locale The locale of the template to retrieve for example, en_US. 4-8 Developers Guide for Oracle Business Intelligence Publisher

4.13 getTemplateParameters Method