Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Accessing apex_application_page_regions from web call

569964Dec 17 2007 — edited Dec 20 2007
Hello all :)

I've run into a bit of a problem...

I'm using the same kind of system as described by John Scott in 3 Seconds or Less.

So I call a URL like this...

/pls/apex/schema.apex_download_text

and it downloads the file, document, or whatever.

Works fine... except that it doesn't work at all when I include a select statement for the apex_application_page_regions table.

I need to get the SQL from a region in APEX, and this is stored in that table.

The same technique is used in Denes Kubicek's export to Excel procedures.

Except that's accessed usin APEX's URL structure, like this:
f?p=&APP_ID.:0:&SESSION.:DOWNLOAD_EXCEL:NO::T_REGION_ID,T_EXCE
L_NAME,T_PAGE:#REGION_ID#,my_report,&APP_PAGE_ID.

Can anyone tell me waht the problem is here?

Looks like the web call doesn't have access to the apex_application_page_regions table.

I can access the table even using TOAD / Plsql Dev, etc.

But whenever I put mention that table in the procedure, it just dies.

-EDIT-

256 posts :D

My post count now requires more than a single byte to store lol
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 17 2008
Added on Dec 17 2007
16 comments
1,963 views