An XML string property that allows a user to configure the
lookup so that when a value is selected, additional fields in the list are
updated with content configured from the data source.
The Additional Update
Fields property accepts an XML string that should contain the following
schema:
<UpdateFields>
<Field>
<Title
InternalName="true/false">FieldName</Title>
<FieldValue>
1):xpath=xpath
value
2)<values>
<value type="xpath/text">xpath value or
text</value>
</values>
</FIeldValue>
</Field>
</UpdateFields>
For each field to be updated, there should be a Field node that contains two child nodes: a Title node and FieldValue node. You can specify an internal field name by providing an InternalName attribute set to true in the Title Node. For the FieldValue node, you can provide a single xpath statement in the following format ": xpath=" with the right side of the equation being your query value.
In addition to the xpath query, users can specify a more complex value by utilizing the Values XML fragment as seen in the other properties. The XML should contain a parent node of values and child nodes of value. Each value node should have an attribute type set to either text or xpath. If text is specified, static text should be provided. Otherwise, if you have specified xpath, a valid xpath statement should be provided. The FieldValue node represents the data that will be stored to the field specified in the Title node.
Below is a sample of the property in use.
<UpdateFields>
<Field>
<Title
InternalName="false">Description</Title>
<FieldValue>
<values>
<value
type="xpath">CorasWorks/NewDataSet/Table1/Status</value>
<value type="text">
-</value>
<value
type="xpath">CorasWorks/NewDataSet/Table1/ListID</value>
</values>
</FieldValue>
</Field>
<Field>
<Title>test</Title>
<FieldValue>:xpath=CorasWorks/NewDataSet/Table1/Priority</FieldValue>
</Field>
</UpdateFields>