16.11 Managing Static Workspace Files

Navigate to Shared Components to upload, view, download, and delete static workspace files (including images, CSS files, and other files which must be managed independently).

16.11.1 About Referencing Static Workspace Files

Reference a static workspace file in your application using #WORKSPACE_FILES# substitution string.

You can reference static workspace files in any application in the current workspace. To view sample syntax for uploaded images, see the Reference column on the Static Workspace Files report.

16.11.2 Creating Static Workspace Files

Create static workspace files from Shared Components.

To create a static workspace 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 Workspace Files.

    The Static Workspace Files page appears.

  3. To upload a file, click Create File.
  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.11.3 Viewing the Static Workspace File Report

View the Static Workspace Files report.

To view the static workspace file as a report:

  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 Workspace Files.

    The Static Workspace 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.11.4 Downloading Static Workspace Files

Download an uploaded static workspace file, or download all static application files in a Zip.

16.11.4.1 Downloading a Static Workspace File

Learn how to download a static workspace file.

To download an uploaded static workspace 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 Workspace Files.

    The Static Workspace Files page appears.

  3. If not already selected, click View Report icon.

    A report appears.

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

16.11.4.2 Downloading All Static Workspace Files in a Zip

Learn how to download all static workspace files in a Zip.

To download all static workspace 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 Workspace Files.

    The Static Workspace Files page appears.

  3. Click Download as Zip.

16.11.5 Deleting Static Workspace Files

Delete uploaded static workspace files.

16.11.5.1 Deleting a Static Workspace File

Learn how to delete a static workspace file.

To delete an uploaded static workspace 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 Workspace Files.

    The Static Workspace Files page appears.

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

  4. Click the name of the file to be deleted.
  5. On the Edit page, click Delete.

16.11.5.2 Deleting Multiple or All Static Workspace Files

Learn how to delete multiple or all static workspace files.

To delete multiple files or all static workspace 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 Workspace Files.

    The Static Workspace Files page appears.

  3. To delete multiple files at once, select the files to be deleted and click Delete Checked.
  4. To delete all files, click Delete All.