Property description

The icons asset imports SVG icons into Dawiso. Icons are used for applications, workflow states, spaces, etc.

Minimal JSON

{
  "key": "",
  "name": "",
  "categoryKey": "",
  "contentType": "",
  "content": ""
}
{
  "key": "amazon_redshift_disabled",
  "name": "Amazon Redshift Disabled",
  "categoryKey": "application",
  "contentType": "image/svg\u002Bxml",
  "content": "PHN2ZyB3aWR0aD0iNjQiIGhlaWdodD0iNjQiIHZpZXdCb3g9IjAg..."
}

Example taken from the core 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
categoryKeyKey of the icon category. Supported options are: app_icons, application, application_logs, dashboard, object_type, search, space, workflow_state To see all available categories their icons, navigate to Settings > Configuration > Icons. At the top of the page, you can filter icons based by category.stringYes
contentThe icon file stored in Base64 format. The image file must be converted to Base64 before use. Alternatively, you can select a predefined icon from Settings > Configuration > Icons.stringYes
contentTypeContent type of the asset. Supported type is: image/svg+xml (MIME format).stringYes
descriptionDescription of the asset.stringNo
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