Editar

Partilhar via


How to Set the Source Links Compiler Value

You can use the Source Links property of a link to specify how a value is retrieved from the source node and applied to the destination node. This topic explains the available choices and how to choose among them.

  1. In BizTalk Mapper, in a grid page, click a link to select it.

    The endpoints of a selected link in the grid page are highlighted.

  2. In the Visual Studio Properties window, set the Source Links property to one of the following choices:

    • Copy Name. The name of the node in the source schema is used as the value of the linked node in the destination schema.

    • Copy Text Value. The value corresponding to the node in the source schema (element data or an attribute value) is used as the value of the linked node in the destination schema. This choice is the default. For example, <Node>Hello<Name>Chris</Name>Barry</Node> would result in "Hello".

    • Copy Text and Subcontent Value. The value corresponding to the record node, and the value of all its child nodes, and their child nodes, in the source schema (element data and attribute values) are combined as the value of the linked node in the destination schema. For example, <Node>Hello<Name>Chris</Name>Barry</Node> would result in "Hello Chris Barry".

See Also

Using Links to Specify Record and Field Mappings
Compiler Directives and Links