Specifying a new action for writing the database
- On the Documents tab, click Add.
- Select the scenario Write Database.
- Define the statement used to handle the data from the incoming document. You can use a stored procedure.
-
In the statement, specify the [Data] placeholder to refer to the incoming data.
The incoming XML is a single DataArea which can contain one or more document instances. For example, when using SQL Server the statement can contain: EXEC StoreItems '[Data]';
- Click Test to test if the statement details specified are correct.
- Specify a BOD XML in the dialog box that is displayed.
-
Click OK to run the test.
You are informed if errors occur. If the test has finished successfully, check the database whether the data is stored as expected.
- Select the document. If the document is not defined in ION Registry, add the required metadata.
- Select the Verb to be used.