Home Discussions Questions & Answers Forms Button Trigger for Instant Report Download

Forms Button Trigger for Instant Report Download

Avatar photoCustomer May 9, 2024 at 12:33 am

I’m working on a `when-button-pressed` trigger in a custom Oracle form. After generating the report using the BLOB API, how do I actually trigger the file download on the client side?

Viewing 2 reply threads
  • Author
    Replies
    • Support May 11, 2024 at 2:46 am  

      The file download is handled by the procedure `xxen_utils.download_file`. This procedure requires the file ID, which is retrieved by calling `xxen_api.report_file_id(l_run_id)`.

    • Avatar photoCustomer May 11, 2024 at 8:11 pm  

      Does this require any special library attachments in my custom form?

    • Support May 13, 2024 at 3:00 pm  

      Yes, the `xxen_utils.download_file` procedure is included in the `XXEN.pll` library, so you must ensure that this library is attached to your custom form to enable the download functionality.

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

Login with: