Stephen W. Thomas BizTalk Blog

100% Pure BizTalk
posts - 133, comments - 192, trackbacks - 427

My Links

News

Subscribe to my blog via:


Add to Google

Visit my website at:
www.BizTalkGurus.com

Archives

BizTalk 2004 Samples

BizTalk 2006 Samples

BizTalk Videos

BizTalk White Papers

BizTalkBlogs.com

Great BizTalk Blogs

Other Links

Basics of Promoted Properties Inside BizTalk Server 2004

What are Promoted Properties and why does BizTalk have them?

 

Long and short of it: Property promotion is about getting easy and fast access to data.

Easy: Because you typically do not have to know anything about your data to get access to it.  Example: Message(some property). Rather then some long and error prone xpath query.

Fast: Because you do not have to load the whole message into memory to get access to the data. It is placed inside the message context (a collection of key-value pairs that are associated with a message).

BizTalk provides two different types of promoted properties based on what you want to do with the data.  The two types are Promoted Properties and Distinguished Fields.

Distinguished Fields are light weight and only accessible inside an Orchestration.  They could be used inside a decision shape or for extracting data out of a message for dynamic routing.  They are read/write so it provides an easy way to change values inside your message without using a map – such as updating a status field. 

Promoted Properties are system wide but could also be used like
Distinguished Fields. They are “more expensive” then Distinguished Fields and typically should only be used when you need to do Context Based Routing on these values.  These are also read/write (in most cases).  BizTalk Server provides several context properties but you can create as many more as you like using a custom property schema. 

How does something get promoted? A lot of items are promoted by BizTalk for you at various points in the process. You can also promote items yourself using Promotion inside a schema or by using a custom pipeline. It all depends on what you want to accomplish.

 

More information on Promoted Properties can be found inside the help guide.

Print | posted on Monday, June 27, 2005 9:45 PM |

Feedback

Gravatar

# re: Basics of Promoted Properties Inside BizTalk Server 2004

U know if we have to trace multiple message but want to promote it as property promotion then we can't promote it because it gives us the errror say record has max occurence property more than one so how can we promote the field if we want to set it as unique.
If u know the solution
Let me know.I will be greatful if anybody can give me solution right away.
thanks.
Pinky
7/10/2007 6:33 PM | Pinky
Gravatar

# re: Basics of Promoted Properties Inside BizTalk Server 2004

Hi Stephen,

ver nice. it relly helped to understand what promoted properties are.

thanks for sharing with us.


mahmood,


8/10/2007 5:37 AM | Mahmood
Gravatar

# re: Basics of Promoted Properties Inside BizTalk Server 2004

Hi Pinky

In that case we can use the xpath property to access that datafield.
3/28/2008 3:50 AM | Sapna
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification:
 

Powered by: