JSON reference for the excel_import_settings property in Dawiso packages.
Property description
The excel_import_settings property configures the settings for importing objects from an Excel file.
Minimal JSON
{
"key": "excel_import_settings"
}
{
"setting": {
"key": "excel_import_settings",
"value": {
"allowCrossSpaceAppImport": true,
"allowedImportModes": ["FULL_RELOAD", "INSERT", "UPDATE", "DELETE"],
"dateFormat": "MM-dd-yy",
"fullReloadDeletionMode": "SOFT",
"minimalRightsLevel": "space_admin",
"multiAppsImportEnabled": false
}
}
}
This example JSON is applicable for the settings asset. The settings in the applications asset are configured differently.
Nested properties
| Property | Description | Value | Mandatory |
|---|
key | excel_import_settings | string | Yes |
value | Specifies settings values. See supported value keys. | string | No |
Supported value keys
| Name | Is Single Only | Description |
|---|
allowCrossSpaceAppImport | Yes | Enables objects to be imported across different spaces and applications. |
allowedImportModes | No | Allowed import modes. See supported allowedImportModes values. |
dateFormat | No | Date format used in the import Excel file. The list of supported values can be found here. Default value is d.m.yyyy (e.g., 1.1.202x). |
enableExtendedLogging | No | Enables extended logging. The default value is false. |
fullReloadDeletionMode | No | The deletion mode during a full reload process. The default value is SOFT. |
minimalRightsLevel | No | Sets the minimum required role (permission level) needed to import objects. See supported minimalRightsLevel values. |
multiAppsImportEnabled | No | Enables object import into multiple applications. The default value is false. |
Supported allowedImportModes values
| Value | Description |
|---|
DELETE | Allows deleting objects specified in the import. |
FULL_RELOAD | Allows the full reload of the objects. |
INSERT | Allows inserting new objects specified in the import. |
UPDATE | Allows updating objects specified in the import. |
Supported minimalRightsLevel values
| Value | Description |
|---|
admin | Only administrators can import objects. |
contributor | Any contributor with write permissions for the space and higher can import objects. Default value. |
space_admin | Only space admins and higher can import objects. |