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
| Property | Description | Values | Mandatory |
|---|---|---|---|
key | Unique key of the asset. Used for referencing in the same package or other packages using packageKey#assetKey. | string | Yes |
name | Name of the asset, used as the default EN translation. | string | Yes |
categoryKey | Key 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. | string | Yes |
content | The 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. | string | Yes |
contentType | Content type of the asset. Supported type is: image/svg+xml (MIME format). | string | Yes |
description | Description of the asset. | string | No |
state | Current 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). | string | No |
translations | Array 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. | array | No |