UserData: IXmlDomElement;
The UserData property returns element of XML document object model.
Features of work with XML files are given on the Example of Working with XML Files page.
Executing the example requires that the repository contains a Fore form with the FORMUSERPROV identifier containing the following components:
Memo named Memo1.
Button named Button1.
The form contains the following classes:
Class of description of the form used as one of the pages of user provider edit wizard.
Class to connect this form.
Executing the example requires that the repository contains an ETL task with the ETLT identifier.
Example of connecting unit and class
After executing the example a user provider is created in the specified ETL task. A new page named CrPage is created in the provider edit wizard. On moving to this page the Memo1 component displays the current model XML data.
On the CrPage page on the button click:
The Memo1 component displays changed XML data.
The IEtlUserDataContainer.SetDirty property is set to True, that is, confirmation window opens on closing edit wizard window if there are not changes made.
See also: