We have an Apex application (version 20.1) and our users must be able to change the database schema at runtime via button click (preferably without logging in again). Currently we are solving this by installing our application multiple times, once per schema.
We recently discovered the function apex_export.get_application
. We intend to use this function to bring our frontend under version control (finally!). We would like to deploy our application directly from the exported files. Having a single application, we would not have to mess with the internal component ids from the exported files.
Is it possible to install the application once and change the default schema via Pl/SQL code? Thank you!