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

Forms Button Trigger for Instant Report Download

Avatar photoCustomer Questions & Answers 3 replies

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?

3 replies

  • Support Enginatics

    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)`.

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

  • Support Enginatics

    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.

  • You must be logged in to reply to this post.