Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
Windows Server

BizTalk 2010 Recipes : Document Mapping - Using the Value Cross-Reference Functoids

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
3/28/2011 5:47:19 PM

1. Problem

Within a map, you wish to statically cross-reference state values between two or more systems, and the value cross-references have already been loaded into the cross-reference tables. For example, a source system publishes an Order with a status of 1:Open, and you want to cross reference and translate the static state value to the static value in a destination system of OP.

2. Solution

To cross-reference the static values within a map, take the following steps:

  1. Click the Database Functoids tab in the Toolbox.

  2. Drag the Get Common Value functoid to the map surface.

  3. Open the Input Parameters dialog box for the Get Common Value functoid.

  4. Add a constant parameter, and set the value to the static value type you wish to cross-reference. For instance, you may set the value to something like Order.Status.

  5. Add a second constant parameter to the Get Common Value functoid, and set the value to the source system application type. For instance, you may set the value to something like Siebel.

  6. Click OK.

  7. Connect the state value source node you wish to cross-reference from the source schema to the Get Common Value functoid.

  8. Drag the Get Application Value functoid from the Database Functoids tab to the map surface, and place it to the right of the Get Common Value functoid.

  9. Open the Input Parameters dialog box for the Get Application Value functoid.

  10. Add a constant parameter, and set the value to the static value type you wish to cross-reference. For instance, you may set the value to something like Order.Status.

  11. Add a second constant parameter to the Get Common Value functoid, and set the value to the destination system application type. For instance, you may set the value to something like Oracle.

  12. Click OK.

  13. Connect the Get Common Value functoid to the Get Application Value functoid.

  14. Connect the functoid to the unique destination state value node.

  15. Save and test the map.

3. How It Works

Identifier and value cross-referencing are similar in concept, with the following differences:

  • Value cross-referencing is commonly between enumeration fields. Identifier cross-referencing is commonly between entity unique identifiers.

  • Value cross-referencing occurs between system types. Identifier cross-referencing occurs between instances of system types.

  • Identifier cross-references may be set at runtime. Value cross-references are static and may be loaded only through the import tool or direct table manipulation.

The basic steps for converting from one system to another are as follows:

  1. Using the source application type, source application static value, and source entity value type, retrieve the common value by calling the Get Common Value functoid.

    NOTE

    The common value is generally not stored in any system. It is a value used to associate multiple values.

  2. Using the common static value, destination system type, and destination entity value type, retrieve the destination static value by calling the Get Application Value functoid.

This recipe has focused on accessing value cross-referencing functionality through BizTalk functoids, but an API is also available. The cross-referencing class may be found in the Microsoft.Biztalk.CrossRreferencing.dll, within the namespace Microsoft.BizTalk.CrossReferencing. This class has several members that facilitate storing and retrieving value cross-referencing relationships, as listed in Table 1.

Table 1. Value Cross-Referencing API
MemberDescription
GetCommonValueWith an application type, entity/node value type, and application value, this member retrieves a common value. If a cross-reference does not exist, a blank will be returned. If the application type or entity/node value type does not exist, an exception will be thrown.
GetAppValueWith a common value, application type, and entity/node type, this retrieves the application value. If a cross-reference does not exist, a blank will be returned. If the application type or entity/node value type does not exist, an exception will be thrown
Other -----------------
- Windows Server 2008 R2 : Deploying and Using Windows Virtualization - Installing a Guest Operating System Session
- Windows Server 2008 R2 : Becoming Familiar with the Hyper-V Administrative Console
- SharePoint 2010 PerformancePoint Services : Understanding and Working with Scoring (part 2)
- SharePoint 2010 PerformancePoint Services : Understanding and Working with Scoring (part 1) - Changing a Scoring Pattern & Editing Thresholds
- BizTalk 2010 Recipes : Document Mapping - Using the ID Cross-Reference Functoids
- BizTalk 2010 Recipes : Document Mapping - Seeding Cross-Reference Tables with Value Cross-References
- BizTalk 2010 Recipes : Document Mapping - Seeding Cross-Reference Tables with ID Cross-References
- Windows Server 2003 : Understanding Clustering (part 2) - Designing a Clustering Solution
- Windows Server 2003 : Understanding Clustering (part 1) - Clustering Types
- Windows Server 2008 Server Core : Viewing XML Files Using XML Notepad 2007
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
 
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server