Property description
The levels property specifies how objects are displayed in hybrid hierarchies. Hybrid hierarchies can include both object types and ‘virtual’ objects that serve as folders for grouping certain objects.
Minimal JSON
{
"key": "",
"name": "",
"type": ""
}{
"key": "default",
"levels": [
{
"key": "default_fld_table",
"name": "Tables",
"description": "",
"parentLevelKey": "default_schema",
"type": "FLD",
"hasFixedParent": false,
"template": {
"centerArea": [
{
"componentId": "panel#default_fld_table",
"type": "panel",
"values": [
{
"componentId": "section-title#folder_objects",
"type": "section-title",
"title": "template_section_title_folder_objects"
}
]
}
]
},
"hideIfEmpty": true
}
]
}Example taken from the core_sql_server package.
Nested properties
| Property | Description | Type | 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 |
type | Level type. Supported options are: OBJ: Existing object types., FLD: Virtual folders. | string | Yes |
description | Description of the property. | string | No |
hasFixedParent | Determines whether a child object can be moved to another parent object. Depends on the scanned source platform (e.g., file in folder should have a fixed parent, otherwise it can be moved to another folder). | boolean | No |
hideIfEmpty | Determines whether the level is visible in the UI when it contains no objects. | boolean | No |
objectTypeKey | Object types shown at this level. Used for OBJ level types only. | string | No |
parentLevelKey | Key of the parent hierarchy level. | string | No |
template | Defines how FLD type levels are displayed. Same concepts apply for object type templates. | array | 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. | string | No |