Microsoft BizTalk Server 2004: Creating Schemas - Exercise 3 Promoting Schema Properties (Page 4 of 7 ) Scenario In this exercise, you will promote schema properties so that the property values can be referenced by BizTalk messaging and orchestration. Promotion is a mechanism that you must use when you want to reference a specific value within a message instance and then use the value to make message routing decisions. Additionally, the promoted property will be visible by IntelliSense in Expression Editor when code is required in an orchestration. Tasks Detailed steps - Promote property fields.
The property fields are promoted so that their values can be referenced for content based routing purposes and orchestration.
The Property1 node in the PropertySchema.xsd is not used and can be deleted.
- In the BizTalk Editor, in the Schema Tree, right-click the <Schema> node, and then select Expand Schema Node to show the entire schema.
- Right-click the CustomerPONumber node, point to Promote, and then click Quick Promotion.
- Click OK to add the property schema to the project.
The icon for the PO field has changed to indicate that the field has been promoted. Also, a new schema (PropertySchema.xsd) is added to the Solution Explorer.
- Right-click the TotalOrderAmount node, point to Promote, and then click Quick Promotion.
- Promote distinguished fields.
The distinguished fields are promoted so that their values can be referenced in an orchestration that you will create in later labs.
- Right-click the <Schema> node, point to Promote, and then select Show Promotions.
- Select the following fields from the Schema (left) pane, and then add them as distinguished fields:
- Click OK.
The completed schema should look as shown here

- On the File menu, click Save All to save your work.
 | Take Microsoft software for a test drive. With MSDN Virtual Labs, you get full access to all available Microsoft products through 90-minute modules, each with its own downloadable manual. Try this lab out now. |
Next: Exercise 4 Creating a Flat File Schema using the BizTalk Editor >>
More BrainDump Articles More By MSDN Virtual Labs |