Understanding App (Portal Page) Assets

Portal Pages have been renamed to Apps in 7.1.0.

Assets are external files such as JavaScript code, CSS, images, documents, and much more that can be used to construct Apps and App Templates. The list of the supported filetypes is controlled by the APP_FILE_UPLOAD_WHITELIST System Variable.

Assets Types

There are two types of Assets in the system:

  • Global Assets can be shared across all Apps and Templates in the system. They can be accessed from Content > Apps > Global Assets tab. Users can upload global Assets from their devices.
  • Local Assets are isolated and used by each App/Template individually. They can be found on the Assets Tab of App/Template Editors. Users can upload local Assets as a ZIP file or via Git sync.

Assets Reference in Code

  • Global Assets can be identified by their Relative Path.
  • Local Assets appear in code as an Asset name preceded by /pt(for Templates) or /p(for Apps) and an internal name or the Template/App.