none
What is Promotion in biztalk , when we need to use this ? RRS feed

  • Question

  • Hi There,

    what is a exact meaning of Promotion , when we need to use this promotion

    Advantage by using promotion in Co-relation?

    Thanks and regards

    Tuesday, July 25, 2017 9:25 AM

Answers

  • Hi,

    Property Promotion is the process of taking message or system data and putting it into the message context.

    Quoting the link: http://www.c-sharpcorner.com/UploadFile/john_charles/promoting-schemas-properties-in-biztalk-server/

    "In order to publish metadata associated to a message in BizTalk, we need to promote some data fields of the message using the property schema mechanism. This task can be done using two approaches: quick promotion or regular promotion. In addition to data fields within the message, we can also promote system properties are automatically promoted in BizTalk. Any promoted properties (from the BizTalk system and from the messages also known as message context) are available for subscription by BizTalk objects such as send ports, send port groups and orchestrations.

    You can use promoted properties as decision points and routing ways for the messages inside an orchestration, although this has an overhead because the whole message must be load to be interrogated. In order to gain in performance, we use in orchestrations another technique known as distinguished fields which are lighter.

    To access a distinguished field, we create a reference to the name of the message, the name of the record structure and the name of the distinguished field with each named item separated by a period using the following syntax

    MessageName.RecordName.ChieldRecordName.DistinguishedFieldName. Promoted properties are accessed by creating a reference to the name of the message, the name of the property schema and the name of the promoted property name using the following syntax MessageName(PropertySchemaName.PromotedPropertyName)."



    Rachit Sikroria (Microsoft Azure MVP)

    Tuesday, July 25, 2017 10:47 AM
    Moderator
  • Hi Ravinder,

    By promoting a property (an element in the BizTalk message), you can access it outside the orchestration. You can use this to route your message in BizTalk.

    It would be easier to understand concept of promotion with example.

    Say you have 2 different vendors sending you invoice over WCF (schema deployed as service). You need to put these invoices in 2 separate folders depending on the vendor id. Without property promotion, you will need to use orchestration to route these messages. Where in the orchestration you will check for vendor id and then using decision shape you can send it to 2 different ports. But if you promote the vendor Id field of the schema, then you can route these messages without using orchestration. This field will be available under send port filter and you can directly subscribe to messages using vendor id.

    Tuesday, July 25, 2017 12:15 PM
  • Hi Ravinder,

    Would suggest to go through following post:

    Biztalk Property Promotions

    _________

    Maheshkumar S Tiwari|User Page|Blog|BizTalk Developer getting started with Logic App

    Wednesday, July 26, 2017 12:56 PM

All replies

  • Hi,

    Property Promotion is the process of taking message or system data and putting it into the message context.

    Quoting the link: http://www.c-sharpcorner.com/UploadFile/john_charles/promoting-schemas-properties-in-biztalk-server/

    "In order to publish metadata associated to a message in BizTalk, we need to promote some data fields of the message using the property schema mechanism. This task can be done using two approaches: quick promotion or regular promotion. In addition to data fields within the message, we can also promote system properties are automatically promoted in BizTalk. Any promoted properties (from the BizTalk system and from the messages also known as message context) are available for subscription by BizTalk objects such as send ports, send port groups and orchestrations.

    You can use promoted properties as decision points and routing ways for the messages inside an orchestration, although this has an overhead because the whole message must be load to be interrogated. In order to gain in performance, we use in orchestrations another technique known as distinguished fields which are lighter.

    To access a distinguished field, we create a reference to the name of the message, the name of the record structure and the name of the distinguished field with each named item separated by a period using the following syntax

    MessageName.RecordName.ChieldRecordName.DistinguishedFieldName. Promoted properties are accessed by creating a reference to the name of the message, the name of the property schema and the name of the promoted property name using the following syntax MessageName(PropertySchemaName.PromotedPropertyName)."



    Rachit Sikroria (Microsoft Azure MVP)

    Tuesday, July 25, 2017 10:47 AM
    Moderator
  • Hi Ravinder,

    By promoting a property (an element in the BizTalk message), you can access it outside the orchestration. You can use this to route your message in BizTalk.

    It would be easier to understand concept of promotion with example.

    Say you have 2 different vendors sending you invoice over WCF (schema deployed as service). You need to put these invoices in 2 separate folders depending on the vendor id. Without property promotion, you will need to use orchestration to route these messages. Where in the orchestration you will check for vendor id and then using decision shape you can send it to 2 different ports. But if you promote the vendor Id field of the schema, then you can route these messages without using orchestration. This field will be available under send port filter and you can directly subscribe to messages using vendor id.

    Tuesday, July 25, 2017 12:15 PM
  • Hi Ravinder,

    Would suggest to go through following post:

    Biztalk Property Promotions

    _________

    Maheshkumar S Tiwari|User Page|Blog|BizTalk Developer getting started with Logic App

    Wednesday, July 26, 2017 12:56 PM