Sanjeev Behera
Sanjeev Behera

Reputation: 35

Call application process from page in oracle apex

I have a page in my apex application, that displays an interactive report. Top of region, i have 2 buttons, 1 is for adding a new row, 2nd is for downloading the report.

I have an application level process "DOWNLOAD_USER_LIST", that downloads the report in excel format. when i am calling this process via Download button click DA in my page it does nothing, just submits the page.

below is the DA action:

type: javascript expression

code apex.submit( { request: "DOWNLOAD_USER_LIST", showWait: true, validate: true } );

my application level process has the condition:

Request = Expression 1

Expression 1 = DOWNLOAD_USER_LIST

what am i missing..?

Also the same approach works on other pages, just not this one.

Upvotes: 0

Views: 1308

Answers (1)

Koen Lostrie
Koen Lostrie

Reputation: 18665

That code does not invoke the application process, it just submits the page with request value DOWNLOAD_USER_LIST. To invoke an application process, you need to call apex.server.process. I'm curious to know how you're invoking this process on the other pages where you say it works.

Upvotes: 1

Related Questions