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!

How can I show other database schemas as a source in an APEX Report or Form?

carkxgFeb 1 2021

I've recently migrated from APEX v5 to v19 and am having some trouble creating reports and forms on tables in schemas outside the main workspace schema. You can see from the screenshot below that I can currently only see the 'Parsing Schema' and one other database schema called 'DO' in the Table Owner dropdown menu that's within the Source of the report.
image.png
I'd like to be able to see tables from two other schemas, i.e. 'GIS' and 'PROD'.
So far I have managed to log in to the INTERNAL workspace as ADMIN, and have assigned the schemas using the 'Manage Workspace to Schema Assignments' page which looks as follows...
image.pngYou can see that I have successfully added the DO, GIS, and PROD schemas. But when I log in as the workspace admin in order to create tables or forms in an application, I only see the DO user schema in the dropdown for the source of the table or form.
How can I fix it so that I can see the GIS and PROD schemas in Table Owner dropdown so that I can access those tables?
If it helps, you can see a table report that I originally set up on APEX v5 that was able to access the GIS schema (because I was able to actually type 'GIS' as the table owner instead of being restricted by a dropdown menu)...
image.pngNow it shows as 'GIS (Invalid)' but it still works.

This post has been answered by Sasha Gomanuke on Feb 2 2021
Jump to Answer

Comments

Sasha Gomanuke
Answer

Think about making grants on certain objects (tables etc) of You additional schemes to Your working scheme being parsed.

Marked as Answer by carkxg · Feb 2 2021
carkxg

Thanks very much, Sasha. It was so simple to fix. I just granted SELECT, INSERT, UPDATE, DELETE privileges on one of the GIS tables to the APEXAPPS user (the parsing schema) and now I can see GIS in the dropdown for the Table Owner along with all the GIS tables.
I've been using APEX for a while now but still don't really understand how the workspace is set up - parsing schemas, database schemas, APEX_190200, APEX_PUBLIC_USER, etc.
Anyway, thanks very much for your help.

Sasha Gomanuke

Glad to help. You should look in Oracle features https://oracle-base.com/articles/misc/proxy-users-and-connect-through
or thnk about it as miracle ))

Sylvain Martel

Hello Carkxg,
I would highly recommend that you download the Oracle APEX free intro course from Oracle. You would be able to learn the basic concepts of APEX and execute labs to improve your understanding APEX development, and it's totally free! There is no catch...
Oracle Application Express - Curriculum
Have fun!

carkxg

Thanks. That sounds like a good idea.

1 - 5

Post Details

Added on Feb 1 2021
5 comments
2,342 views