Map XML Nodes
- Last UpdatedJun 25, 2024
- 2 minute read
XML node binds a database to a list, and maps a list to a form, and a form to a workflow. This ensures the data submitted from the form is available in the list and the database.
The default value for the Mapped XML Node property is the value for the Tag name property without the spaces. If you edit this value later, then it might affect the mapping between lists, forms, and workflows.
Mapping between a database, list, and form
When creating a list, you bind a control in the list to a field in the table of a database by setting the value of the field as the value of the Bound to DB Column property for the control in the list. Similarly, when creating a form, you should map a control in the form to a control in a list by setting the value of the Mapped XML Node property for the control in the list as the value of the XML Node property for the control in the form. When a dynamic list form is generated, the system takes care of this mapping.
Example
Here is an example showing the mapping between a database, list, and form using the database field and the XML Node.

|
Mapping |
Description |
|---|---|
|
Field of the table to control of the list |
The Author Full Name control in the Book Author list is bound to the Author field in the WWSK-DS-dbo.Authors table of the repository database by setting Author (which is the value of the field) as the value of the Bound to DB Column property for the Author Full Name control in the Book Author list. |
|
Control of the list to control of the form |
The Name control in the Writer form is mapped to the Author Full Name control in the Book Author list by setting AuthorName (which is the value of the Mapped XML Node) as the value of the XML Node property for the Name control in the Writer form. |