Denzil Pinto님의 프로필TheBuzz사진블로그리스트 도구 도움말

블로그


    5월 16일

    Promote a Schema Property

    Promoting a property makes it accessible to other biztalk components like orchestration. There are two types of promotions in biztalk
     
    1. Property fields
    2. Distinguished fields.
     
    Lets go through an example to promote fields
     
    OrderItems
     
    1. Right click on your project file and click on Add > Add New Item . Select Schema from the Templates provided and enter the name OrderItems.xsd and click on Open.
    2. In the Schema Editor Right click on the Root Node and select Rename from the list and enter the name Order and press Enter.
    3. Right Click on Order and select Insert Schema Node and select Child Field Element. Enter the name OrderID and press Enter. Again Right click on order and select Insert Schema node and select Child Field Element. Enter the name Description and press Enter.
    4. Now we are going to add a new Child Record. Again Right click on Order and select Insert Schema Node and select Child Record, enter the name Unit and press Enter.
    5. Follow the 3 step and create new Child Field Elements called UnitID, Description,TotalUnits,Price.
    6. Now click on TotalUnits and right click and select properties, goto the DataType and select xs:int. Follow the same steps for the Price and select xs:int for the datatype.
    7. We have now created our first schema
     
    Now lets promote the field OrderID. Right Click on OrderID and select Promote > Quick Promotions. You might be prompted to create a property schema and add it to your project file. Click on OK. This file will contain all your quick promotions.
     
    Now Inorder to Promote distinguished fields, Right click on OrderID and click on Promote > Show Promotions. Select the distinguished Fields tab and select Description from the left pane and click on Add. Click on Ok and then Save your work.
    ---------------------------------------------------------------------------------------------------------
    Distinguished fields are only accessible inside an orchestration.
    By using quick promotions you promote a field element into the message context. A property field is accessible in orchestration, ports, pipeline components.

    댓글

    잠시만 기다려 주세요...
    죄송합니다. 입력한 댓글이 너무 깁니다. 내용을 줄여 보세요.
    입력한 내용이 없습니다. 다시 시도해 보세요.
    죄송합니다. 지금은 댓글을 추가할 수 없습니다. 나중에 다시 시도해 보세요.
    댓글을 추가하려면 부모님의 사용 허락이 필요합니다. 허용 요청
    부모님이 댓글 기능을 해제한 상태입니다.
    죄송합니다. 지금은 댓글을 삭제할 수 없습니다. 나중에 다시 시도해 보세요.
    하루에 남길 수 있는 댓글의 최대 한도를 초과했습니다. 24시간 후에 다시 시도해 보세요.
    회원님의 계정은 다른 사용자에게 스팸 메일을 보낼 수 있다고 여겨지므로 댓글 기능이 비활성화되어 있습니다. 이 설정에 문제가 있다고 생각되면 Windows Live 지원에 문의하시기 바랍니다.
    댓글을 남기려면 아래 보안 검사를 완료해야 합니다.
    보안 검사에 입력한 글자는 그림 또는 오디오에 있는 글자와 일치해야 합니다.

    댓글을 추가하려면 Windows Live ID로 로그인하세요. 핫메일, 메신저 또는 Xbox LIVE를 사용하는 경우 해당 계정을 Windows Live ID로 사용할 수 있습니다.로그인


    Windows Live ID가 없으신가요? 등록

    트랙백

    이 블로그의 트랙백 URL은 다음과 같습니다.
    http://denzilpinto.spaces.live.com/blog/cns!A2256C53CD2EC18E!191.trak
    이 블로그를 참조하는 웹 로그
    • 없음