<openadhocnotificationtemplate>
Renders a checkbox or drop-down list on the board record that opens the configured Ad Hoc Alerts template. A checkbox is used if one template is configured; the drop-down list is used if the user can choose from more than one configured template. After the record is saved, and the selection is made, a predefined Ad Hoc Alerts template with placeholder board data automatically opens. The placeholders are replaced with the board data. This tag can be inserted anywhere inside an Input view.
-
This tag requires WebEOC Nexus 10.5 and later, WebEOC Nexus SaaS 2.5 and later, and Ad Hoc Alerts.
-
This tag only renders checkboxes for positions that have access to Ad Hoc Alerts.
Attribute | Allowed Values | Requirements | Description |
---|---|---|---|
id |
Text |
Optional |
The HTML ID attribute for the checkbox or drop-down list. |
label |
Text |
Optional |
The label text that appears with the checkbox or in the drop-down list. |
select-class |
Text |
Optional |
The CSS class identifers for the checkbox or drop-down list. |
label-class |
Text |
Optional |
The CSS class identifers for the label for the checkbox or drop-down list. |
Usage Information
-
To use this tag, create at least one Ad Hoc Alerts template. See Open Ad Hoc Alerts from Boards.
-
Configure the board fields in the template as placeholders.
-
Add the configuration name to the configuration tag. See examples, below.
-
In the configuration, the parent must be <openadhocnotificationtemplate>.
Configuration
Attribute | Allowed Values | Requirements | Description |
---|---|---|---|
name |
Text |
Required |
The name of the board's Ad Hoc Alerts template configuration. For multiple templates, create a line for each template. |
selected |
(true|false) false |
Implied |
Specifies the default selection value of the checkbox or drop-down list. |
Example: Renders a Checkbox
<openAdhocNotificationTemplate label="Send notification?">
<configuration name="Shelter Update" select="true"/>
</openAdhocNotificationTemplate>
Example: Multiple Template Configurations, Renders a Drop-Down List
<openAdhocNotificationTemplate label="Select notification type:">
<configuration name="New Shelter"/>
<configuration name="Shelter Closure"/>
</openAdhocNotificationTemplate>