Composition of system web applications

Location path

Path in the assembly catalog

/era_env/priv/metadata/<SOLUTION>/webapps.json

Overview

A descriptor of the system web applications available in the domain after authorization. The applications themselves are part of the distribution and reside in /era_ws/priv/www/…​ - either built with the "Incoplax" system, or laid in at the build stage externally.

Applications are displayed on the start screen (root application) in users after authorization. Each specific web application is displayed and accessible to users with at least one of the roles specified in the list of web application roles in this file.

Also available for the master domain (predefined soluton master).

Format:
[
  {
    "name": str,
    "description": str,
    "order": int,
    "fa-icon": str,
    "icon": "str,
    "roles": array<str>,
    "url": str
  },
  ...
]
  • name – display name.

  • description – displayed brief description.

  • order – order in the list of applications.

  • fa-icon – default icon from the collection font-awesome (if there is no 'icon' field or the resource could not be retrieved by this field).

  • icon – URL icons (png or svg).

  • roles – A list of roles to which the web application is available.

  • url – The relative URL of the application.

Example

Declares two system applications that will be available to users with the specified roles in the domains of the current solutio. Apart from these, users will only be able to roleapps.

Example:
[
  {
"name": "Objects",
"description": "Managing domain objects and their settings",
    "order": 20,
    "fa-icon": "fa-paw",
    "icon": "/main_icons/objects.svg",
    "roles": ["admin"],
    "url": "/objects/"
  },
  {
"name": "Scenarios",
"description": "Scenario Design",
    "order": 50,
    "fa-icon": "fa-pencil-square-o",
    "icon": "/main_icons/scripteditor.svg",
    "roles": ["admin", "scripteditor"]
    "url": "/scripteditor/"
  }
]