Call the procedure this file download, but not from the URL

Hello

Oracle 11g, Apex 4.1.1.00.23.

I have a procedure that generates a CSV of a query (BLOB). The query uses the apex collections.
As it seems impossible to use collections of the apex outside Apex, I can't call this procedure from the URL to download the file (the query fails).

How can I call my procedure on click of a button, without reloading the page, and without calling the URL ?

I have some ideas like the creation of a new page, with a conditional header process that calls my procedure to download the file, then call it in a popup, etc... but I need a simple solution...

Thank you.

Yann.

PS: actually, I need the same functionality when you change a process, let us say a process page, in the source attribute, you link < police = "courier" > [Download Source] < / font >, this link simply calls < police = "courier" > javascript:doSubmit('DOWNLOAD') < / font >, but it seems that the page is not reloaded. That's exactly what I need, it does not call for any procedure in the URL, and it does not reload the page.

Use an application process. These run in the security model for APEX, including the use of the collections.

Tags: Database

Similar Questions

Maybe you are looking for