Hardcoded Event (ACS)
Hardcoded Event SOAP Templates holds the Simple Object Access Protocol (SOAP) templates for device event notifications.
A template can use the placeholders ${deviceId}, ${serialNumber}, and ${event}.
One template is active.
Where to find parameter descriptions: Open Create Template or Edit. Each field has a hint under the input. The Fields section below also explains each field.
When to use it
Use Hardcoded Event to manage the SOAP templates for hardcoded event generation in ACS. Each template has a unique key, a header flag, and XML content. The page sorts templates by key in alphabetical order. The XML editor uses syntax highlighting.
Before you start
-
Open the ACS dashboard and select Hardcoded Event.
-
If you have a read-only role, you can run a dry-run and export.
-
A read-only role cannot apply an import or change templates.
Fields
| Field | Type | Required | Validation |
|---|---|---|---|
Template Key |
String |
Yes |
Must be unique across all templates |
Has SOAP Header |
Boolean |
No |
Marks if the SOAP template has a header section |
Template XML |
String (XML) |
Yes |
Must be well-formed XML. The page checks it before save. |
Find a template
-
Enter text in the search field.
The search checks the key and the XML content. Each template shows its Template Key.
View a template
-
Click a template row.
-
Read the key and the full XML content in the view dialog.
The dialog shows the XML with syntax highlighting.
Add a template
-
Select Create Template.
-
Enter the Template Key. The key must be unique.
-
Enter the Template XML. The XML must be valid.
-
Select Create.
The page checks the basic structure of the XML.
Change a template
-
Open the template view dialog.
-
Select Edit.
-
Change the template key, the header flag, or the XML.
-
Save the template.
Use the view dialog to check the XML format before you edit.
Delete a template
-
Open the template view dialog, or use the delete button on the row.
-
Confirm the deletion in the dialog.
| You cannot restore a deleted template. |
Export templates
-
Select Export.
Expected result: The browser downloads a .zip archive with all template definitions.
Export all templates before bulk changes to keep a backup.
Import with dry-run
-
Select Import.
-
Upload a
.zipfile. -
Read the dry-run summary and the change list.
-
If the dry-run shows warnings, select Allow import with warnings.
-
Apply the import.
Expected result: The list refreshes.
A dry-run is required before you apply an import. The import replaces existing templates with the same keys and adds new templates.
Troubleshooting
- XML validation fails
-
The XML is not well-formed. Fix the XML to follow the expected schema.
- Duplicate template key
-
The key already exists. Enter a new key.
- Import blocked by errors
-
The file has errors. Fix the reported errors in the XML file and import again.