The Notifications element creates an info banner in the Web App.
Note:
The content of the info banner is automatically reloaded every 30 minutes. To manually reload the info banner content, refresh your X4 repository.
Possible attributes:
|
Attribute |
Description |
|---|---|
|
|
Required. Path to the Possible values: String |
Technical Process
In order to display an info banner, a Technical Process must provide the data in a specified XML structure.
<Alerts>
<Alert>
<Background></Background>
<Foreground></Foreground>
<Icon></Icon>
<Message></Message>
</Alert>
</Alerts>
|
Element |
|
Description |
|---|---|---|
|
|
Defines the background color. Note: This setting overrides the default color of the color scheme.
Possible values:
|
|
|
|
Defines the font color. Note: This setting overrides the default color of the color scheme.
Possible values:
Note:
|
|
|
|
Path to the image file or specification of a Material Icon that will be used as the component's icon. Note:
Possible values:
|
|
|
|
Message of the info banner. Possible values:
|
|
Example
<Alerts>
<Alert>
<Background>A700</Background>
<Foreground>900</Foreground>
<Icon>icon:3d_rotation</Icon>
<Message>Upcoming maintenance</Message>
</Alert>
</Alerts>