Property description

The applications asset stores objects inside Dawiso. In this section of a package, you define the basic parameters of an application.

Avoid creating multiple applications in one package:

  • Maintenance complexity: Managing updates and changes becomes significantly harder when multiple applications share the same package.
  • Reusability: Keeping applications in separate packages allows for better modularity and reuse across different environments.
  • Dependency management: Independent application packages make it easier to track dependencies and avoid conflicts between configurations.

Minimal JSON

{
  "key": "",
  "name": "",
  "shortcut": "",
  "defaultObjectTypeKey": "",
  "colorKey": "",
  "templates": {
    "main": {}
  }
}
{
  "key": "app",
  "name": "Documentation",
  "description": "The app Documentation manages and organizes documentation within the company.",
  "state": "active",
  "shortcut": "D",
  "colorKey": "app_color",
  "iconKey": "core_documentation_app",
  "defaultObjectTypeKey": "app_overview",
  "objectTypeKeys": [
    "document_set",
    "document"
  ],
  "hierarchyDefinitions": [
    {
      "hierarchyDefinitionKey": "core_object",
      "isDefault": true
    }
  ],
  "templates": {
    "main": {}
  },
  "search": [
    {
      "isSearchable": true
    }
  ],
  "settings": [],
  "translations": []
}

Example taken from the core_documentation package.

Nested properties

PropertyDescriptionValuesMandatory
keyUnique key of the asset. Used for referencing in the same package or other packages using packageKey#assetKey.stringYes
nameName of the asset, used as the default EN translation.stringYes
shortcutShortcut of the application, used as the application’s icon. The maximum recommended length is 3 characters.stringYes
defaultObjectTypeKeyMain object type of the application that must be created and defined before an application is installed. The content of its template is on the Application objects page.stringYes
colorKeyKey of the color used to visually represent the asset. Use predefined colors from Settings > Configuration > Colors. For more information, see colors.stringYes
templatesObject defining the visual appearance of the application’s overview page (dashboard). It must contain the main property, which holds the page’s components; an empty "main": {} is valid. Required when the asset is added (including via add in a patch package); optional when updated. See the Components library for available components. A missing templates or main is flagged in the Code tab and blocks installation.objectYes
actionUsed for patch packages. Specifies if the asset is added or updated.stringNo
dataIntegrationsDefines mappings that determine how ingested data is stored, specifying which object types and attributes the data is assigned to. See Data Integrations.arrayNo
descriptionDescription of the application, visible on the Application Overview page (dashboard).stringNo
exportTemplateKeysArray of object export templates assigned to the application. Template keys can be found on the Word Templates settings page.arrayNo
hierarchyDefinitionsDefinition of hierarchies within the application. If not specified, the object type hierarchy definition is assigned as the default. The list must be unique; a duplicate hierarchy definition key is an error. See hierarchyDefinitions.arrayNo
iconKeyKey of the icon used to visually represent the asset. Use predefined icons from Settings > Configuration > Icons, or define custom ones in the icons asset.stringNo
notificationsArray of notifications sent to the user when changes are made. For more information, see Notifications. Keep in mind that not all properties will be applicable for this configuration. Application attribute is set manually, not here.arrayNo
objectTypeKeysKeys of object types used in the application. Either create new object types in the same package, or reference object types from previously installed packages. The list must be unique; a duplicate object type key is an error.arrayNo
searchArray of search objects. For more information, see Search.arrayNo
settingsSpecifies the default settings for the application, such as import/export and tokenization. Spaces-specific settings can override these. The specified settings must be unique; a duplicate settings key is an error. See settings.arrayNo
spacesList of existing spaces added to this application.arrayNo
stateCurrent status of the asset. Supported options are: active (asset is active and visible in the environment), inactive (asset is inactive and hidden, serves as a soft delete), hidden (asset is active but hidden in the environment).stringNo
translationsArray of translation keys and their definitions that determine how the text is displayed in the UI for the specific asset. For more information, see Translations.arrayNo