Once you export an application and any related files, you need to import them into the target Oracle Application Express instance before you can install them. As a general rule, always import the application first and then the related files. See "How to Move an Application to Another Development Instance".
Tip:
You can simplify the steps needed to deploy an application by creating a packaged application. See "How to Create a Packaged Application".This section contains the following topics:
To import an Application or Page Export into a target Oracle Application Express instance:
Navigate to the Import page:
On the Workspace home page, click the Application Builder icon.
Select an application.
On the Application home page, click Export/Import.
On the Export/Import page, click Import and then click Next.
For Specify File, specify the following:
Import file - Click Browse and navigate to the file.
File Type - Select Application, Page, or Component Export.
Verify that File Character Set is correct.
Click Next.
Once you import a file, you have the option to install it.
To install an imported file, click Next.
The Install Application wizard appears.
In the Install Application wizard, specify the following:
Parsing Schema - Select a schema.
This is the schema against which all of the application's SQL and PL/SQL will be parsed.
Build Status - Select one of the following:
Run Application Only - Users can only run an application.
Run and Build Application - Users can run an application and developers can both run and edit an application.
Selecting Run Application Only is an effective way to protect an application from modifications from other developers.
Tip:
If you select Run Application Only, the only way to change this setting after you import the application is to log in to Oracle Application Express Administration Services. See "Changing Application Build Status Set During Deployment" in Oracle Application Express Administration Guide.Install As Application - Select one of the following:
Auto Assign New Application ID
Reuse Application ID From Export File
Change Application ID
Use these options to avoid application ID conflicts. These options come in handy when you have two versions of the same application in the same instance. For example, you might be migrating an application to a production instance and still need to maintain the development version.
Click Install.
If you are installing a packaged application (that is, one for which you have defined Supporting Objects), the installer prompts you to install the packaged installation scripts. Follow the on-screen instructions.
See Also:
"How to Create a Packaged Application"Application groups are exported with an application, application exports include an group ID, name, and comments. When importing an application, the application import follows these rules:
On import, an application uses an existing group if the ID matches.
If no application group exists with the same ID on the target machine, then application import looks for another group ID with the same name. If a name match is found, the application is imported with the ID corresponding to this application group name.
If no ID or name matches existing application groups on the target machine then a new application group is created. The new application group will use the application group ID if that ID is not used in that Oracle Application Express instance. If the group ID is being used, then a new ID will be generated.
After you import an application into the target Oracle Application Express instance, you must import all related files.
To import a CSS Export file:
Navigate to the Import page:
On the Workspace home page, click the Application Builder icon.
Select an application.
On the Application home page, click Export/Import.
On the Export/Import page, click Import and then click Next.
For Specify File, select the following:
Import file - Click Browse and navigate to the file.
File Type - Select CSS Export.
File Character Set - Verify that File Character Set is correct.
Click Next.
Once you import a file, you have the option to install it.
To install an imported file, click Next.
Click Install CSS.
After you import an application into the target Oracle Application Express instance, you must import all related files.
To import a static file:
Navigate to the Import page:
On the Workspace home page, click the Application Builder icon.
Select an application.
On the Application home page, click Export/Import.
On the Export/Import page, click Import and click Next.
For Specify File, select the following:
Import file - Click Browse and navigate to the file.
File Type - Select File Export.
File Character Set - Verify that File Character Set is correct.
Click Next.
Once you import a file, you have the option to install it.
To install an imported file, click Next.
Click Install Static Files.
See Also:
"Exporting Static Files"After you import an application into the target Oracle Application Express instance, you must import all related files.
To import an Image Export file:
Navigate to the Import page:
On the Workspace home page, click the Application Builder icon.
Select an application.
On the Application home page, click Export/Import.
On the Export/Import page, click Import and click Next.
On Import Definition, select the following:
Import file - Click Browse and navigate to the file.
File Type - Select Image Export.
File Character Set - Verify that File Character Set is correct.
Click Next.
Once you import a file, you have the option to install it.
To install an imported file, click Next.
Click Install Image.
After you import an application into the target Oracle Application Express instance, you must import all related files.
To import a Theme Export file:
Navigate to the Import page:
On the Workspace home page, click the Application Builder icon.
Select an application.
On the Application home page, click Export/Import.
On the Export/Import page, click Import and click Next.
On Import Definition, select the following:
Import file - Click Browse and navigate to the file.
File Type - Select Theme Export.
File Character Set - Verify that File Character Set is correct.
Click Next.
Once you import a file, you have the option to install it.
To install an imported file, click Next.
Click Install Theme.
User Interface Defaults enables you to assign default user interface properties to a table, column, or view within a specified schema.
After you import an application into the target Oracle Application Express instance, you must import all related files.
To import User Interface Defaults:
Navigate to the Import page:
On the Workspace home page, click the Application Builder icon.
Select an application.
On the Application home page, click Export/Import.
On the Export/Import page, click Import and then click Next.
Select an application.
On Import Definition, select the following:
Import file - Click Browse and navigate to the file.
File Type - Select User Interface Defaults.
File Character Set - Verify that File Character Set is correct.
Click Next.
Once you import a file, you have the option to install it.
To install an imported file, click Next.
Click Install User Interface Defaults.