Settings API - Details screen injections schema table
Details screen injections (builtin:ua.injections
)
Define injections for entity details screen. Injections must be supported by the screen - layout needs to include injected cards placeholder. Cards order is based on card keys, so to be sure that your feature is integral, please use well-defined prefix for your cards.
Schema ID | Schema groups | Scope |
---|---|---|
builtin:ua.injections |
| ua-screen |
Parameters
Property | Label | Type | Description | Required |
---|---|---|---|---|
type | Card Type | enum | - | required |
key | Card key | text | Unique key of the card, which is used to reference desired card configuration | required |
entitySelectorTemplate | Entity selector template | text | An entity selector that is used to reference card from other ME type screen For example for a host screen where you want to show the processes charts this might look like this: Please mind that the | optional |
width | Card width | enum | A value that determines how much vertical space will that card take | optional |
collapsed | Collapse card | boolean | If true, card content will be collapsed | optional |
conditions | List of conditions | set | All conditions from the list need to be fulfilled for the card to be visible | required |