16.13.3 Managing Static Application Files in the Database

Manage static application files stored locally in the database in Shared Components.

16.13.3.1 Adding Static Application Files to the Database

Add static application files to the Oracle Database from Shared Components.

To add static application files to the Oracle database, navigate to Shared Components, Static Application Files, and click Create File.

To create a static application file:

  1. Navigate to the Shared Components page:
    1. On the Workspace home page, click App Builder.
    2. Select an application.
    3. On the Application home page, click Shared Components.

      The Shared Components page appears.

  2. Under Files and Reports, select Static Application Files.
  3. On Static Application Files page, click Create File.

    The Create page appears.

  4. On the Create page:
    1. Directory - Enter the name of the directory where the file should be stored. For example, css or css/images.
      If no directory is specified, the file is stored in the root directory.
    2. File Name - If creating a blank file (for example, script.js), enter the name of the file.
    3. Content - If uploading a file, do one of the following:
      • Drag and drop the file to the Content region.

      • Click the Content region and select the file.

    4. Click Create or Create and Create Another.

16.13.3.2 Viewing Static Application Files

View static application files uploaded to the database on the Static Application Files page.

To view static application files added to the database:

  1. Navigate to the Shared Components page:
    1. On the Workspace home page, click App Builder.
    2. Select an application.
    3. On the Application home page, click Shared Components.

      The Shared Components page appears.

  2. Under Files and Reports, select Static Application Files.

    The Static Application Files page appears.

  3. 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.

    The Static Application Files report includes the following columns: Name, Mime Type, Size, Reference, File, Updated, and Updated By.

  4. To view or edit file details, click the file Name. On the Edit page:
    1. Directory - Enter the name of the directory where the file should be stored. For example, css or css/images.
      If no directory is specified, the file is stored in the root directory.
    2. File Name - Edit the name of the file.
    3. To save your changes, click Save Changes.

16.13.3.3 Downloading Static Application Files

Download individual static application files added to the database, or download all static application files in a Zip.

16.13.3.3.1 Downloading a Static Application File

Download an uploaded static application file.

To download an uploaded static application file:

  1. Navigate to the Shared Components page:
    1. On the Workspace home page, click App Builder
    2. Select an application.
    3. On the Application home page, click Shared Components.

      The Shared Components page appears.

  2. Under Files and Reports, select Static Application Files.

    The Static Application Files page appears.

  3. 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.

  4. Locate the file to be downloaded and click the Download link.

16.13.3.3.2 Downloading All Static Application Files in a Zip

Learn how to download all static application files in a zip.

To download all static application files in a Zip:

  1. Navigate to the Shared Components page:
    1. On the Workspace home page, click App Builder.
    2. Select an application.
    3. On the Application home page, click Shared Components.

      The Shared Components page appears.

  2. Under Files and Reports, select Static Application Files.

    The Static Application Files page appears.

  3. Click Download as Zip.

16.13.3.4 Deleting Static Application Files

Delete static application files uploaded to the database.

16.13.3.4.1 Deleting a Static Application File

Delete an uploaded static application file on the Static Application Files, Edit page.

To delete an uploaded static application file:

  1. Navigate to the Shared Components page:
    1. On the Workspace home page, click App Builder.
    2. Select an application.
    3. On the Application home page, click Shared Components.

      The Shared Components page appears.

  2. Under Files and Reports, select Static Application Files.

    The Static Application Files page appears.

  3. If not already selected, click View Report icon. To customize the report, use the Search bar at the top of the page.
  4. Select the file to be deleted and click Delete.

    Tip:

    You can also click the name of the file to be deleted. On the Edit page, click Delete.

16.13.3.4.2 Deleting Multiple or All Static Application Files

Delete multiple or all uploaded static application files.

To delete multiple files or all static application files:

  1. Navigate to the Shared Components page:
    1. On the Workspace home page, click App Builder.
    2. Select an application.
    3. On the Application home page, click Shared Components.

      The Shared Components page appears.

  2. Under Files and Reports, select Static Application Files.

    The Static Application Files page appears.

  3. If not already selected, click View Report icon. To customize the report, use the Search bar at the top of the page.
  4. To delete multiple files at once, select the files to be deleted and click Delete Checked.
  5. To delete all files, click Delete All.