Home Discussions Questions & Answers Executing BI Publisher Data Triggers in Blitz Report

Executing BI Publisher Data Triggers in Blitz Report

Avatar photoCustomer November 22, 2024 at 11:41 pm

We have several complex BI Publisher (BIP) reports where the core data extraction logic relies on a PL/SQL procedure populating a Global Temporary Table (GTT) in the `beforeReportTrigger` section of the BIP data definition XML. Can Blitz Report leverage this existing logic to extract data?

Viewing 6 reply threads
  • Author
    Replies
    • Support November 25, 2024 at 2:13 am  

      Yes, Blitz Report fully supports leveraging this logic using the BIP Code field in the report header . When you populate this field with the BI Publisher data definition code, Blitz Report is configured to execute the dataTrigger section (e.g., `beforeReportTrigger`) of the associated data definition XML template . This allows the GTT to be populated by the pre-processing logic, and your Blitz Report SQL can then extract the data directly from the GTT .

    • Avatar photoCustomer November 27, 2024 at 3:13 am  

      How do I quickly view the underlying XML content of the BI Publisher data definition after entering the BIP Code?

    • Support November 28, 2024 at 12:21 pm  

      You can quickly download and review the data definition XML template . This is achieved by double-clicking onto the BIP Code field within the Blitz Report setup window , . This action initiates a download of the associated XML file, allowing you to confirm the `dataTrigger` section logic .

    • Avatar photoCustomer November 29, 2024 at 6:24 am  

      If I need to import BI Publisher reports in bulk, should I still use the BIP Code field for each report?

    • Support November 29, 2024 at 7:25 pm  

      If you are migrating existing BI Publisher reports in bulk, you should use the Import API . The procedure `XXEN_API.IMPORT_CONCURRENT_PROGRAM` programmatically imports the BI Publisher report, including its parameter definitions, and sets up the corresponding Blitz Report entry . However, the core report extraction SQL will need to be verified to ensure it correctly selects from the GTT populated by the `beforeReportTrigger` .

    • Avatar photoCustomer December 1, 2024 at 11:23 am  

      Is there an issue if I use the term ‘select’ inside a parameter’s default value definition?

    • Support December 2, 2024 at 10:21 am  

      If a parameter’s default value starts with the keyword ‘select’, Blitz Report recognizes this and executes the SQL to dynamically derive the default value instead of treating the text as a fixed value . This is commonly used for defaulting dates (e.g., `select to_char(sysdate, ‘MON-RR’) from dual`) or retrieving user-specific information .

Viewing 6 reply threads
  • You must be logged in to reply to this post.

Login with: