This section describes how to upload, view, download, and delete static application files (including images, CSS files, and other files which must be managed independently).
Application files are stored with your application definition in the Oracle database. For performance reasons, you can also store your application files on your Web server.
To verify the Static File Prefix attribute for an application:
Navigate to the Shared Components page:
On the Workspace home page, click Application Builder.
Select an application.
On the Application home page, click Shared Components.
The Shared Components page appears.
Under User Interface, select User Interface Attributes.
Click the User Interface tab.
In Static File Prefix, enter the virtual path the Web server uses to point to static application files. Leave this attribute blank to reference files stored with your application definition in the database. For performance reasons you can also store your application files on your Web server and reference them using a valid URL. Example:
/myFiles/ http://contentDeveliveryNetwork.com/myFiles/
Click Apply Changes.
To upload a static application file:
Navigate to the Shared Components page:
On the Workspace home page, click Application Builder.
Select an application.
On the Application home page, click Shared Components.
The Shared Components page appears.
Under Files, select Static Application Files.
The Static Application Files page appears.
To upload a file, click Upload File.
On Upload:
Directory - Enter the name of the directory where the file should be stored. If no directory is specified, the file is stored in the root directory.
File - Enter the location of the file to be added to the application.
File Character Set - Indicate the character set encoding for the file to be uploaded. This attribute only applies to text files.
Unzip File - If Yes, the uploaded Zip file is automatically unzipped and stored in the specified directory. Note that the actual Zip file is not stored. This attribute is ignored if the uploaded file is not a Zip file.
Click Upload or Upload and Upload Another.
To view details about an uploaded static application file:
Navigate to the Shared Components page:
On the Workspace home page, click Application Builder.
Select an application.
On the Application home page, click Shared Components.
The Shared Components page appears.
Under Files, select Static Application Files.
The Static Application Files page appears.
If not already selected, click View Report icon.
A report appears. To customize the report, use the Search bar at the top of the page. To learn more, see "About the Search Bar."
The Static Application Files report displays the filename, MIME type, file size, a download link, and substitution string syntax.
To view additional details, click the Edit icon. If the file is an image, the image displays.
To delete the file, click Delete.
To exit, click Cancel.
Static application files are only available to the currently selected application. You can reference a static application file in your application using #APP_IMAGES#
substitution string. To view sample syntax for uploaded images, see the Reference column on the Static Application Files report.
This section describes how to download static application files.
To download an uploaded static application file:
Navigate to the Shared Components page:
On the Workspace home page, click Application Builder.
Select an application.
On the Application home page, click Shared Components.
The Shared Components page appears.
Under Files, select Static Application Files.
The Static Application Files page appears.
If not already selected, click View Report icon.
A report appears.
Locate the file to be downloaded and click the Download link.
To download all static application files in a Zip:
Navigate to the Shared Components page:
On the Workspace home page, click Application Builder.
Select an application.
On the Application home page, click Shared Components.
The Shared Components page appears.
Under Files, select Static Application Files.
The Static Application Files page appears.
Click Download as Zip.
This section describes how to delete uploaded static application files.
To delete an uploaded static application file:
Navigate to the Shared Components page:
On the Workspace home page, click Application Builder.
Select an application.
On the Application home page, click Shared Components.
The Shared Components page appears.
Under Files, select Static Application Files.
The Static Application Files page appears.
If not already selected, click the View Report icon.
A report appears. To customize the report, use the Search bar at the top of the page. To learn more, see "About the Search Bar."
Select the file to be deleted.
On the Edit page, click Delete.
To delete all uploaded static application files:
Navigate to the Shared Components page:
On the Workspace home page, click Application Builder.
Select an application.
On the Application home page, click Shared Components.
The Shared Components page appears.
Under Files, select Static Application Files.
The Static Application Files page appears.
Click Delete All Files.