Modify Incoming Schema on the Fly

Home Page Forums BizTalk 2004 – BizTalk 2010 Modify Incoming Schema on the Fly

Viewing 3 reply threads
  • Author
    Posts
    • #12103

      Can I modify the incoming schema on the fly?

      I am mapping data using a custom flat file disassembler but after the disassembly, I need to ensure that certain elements exist in the schema. If they don’t I need to add them.

      Is that possible? Is there an example of this anywhere?

    • #12104

      Yes, you can do this but it would be a lot of work.

      What I have done in the past is do this type of work in a map

      I would create a scripting functoid inside the map with an output of “”. Then, I map this to all the nodes I want to show up. Then, I map the data from the left side as normal. It is important to map in this order. You will get a warning when you compile – but that’s ok.

      You should now get your empty nodes when you do not have a node on the input mapped to it.

      Does that make sense? I do not really have a sample available for that right now.

    • #49740
      biztalkgurus

        Pumpkinheads · Rainbow Rowell · 9781250312853

      • #49744
        biztalkgurus

          First Frost by Sarah Addison Allen • 9781250190970

      Viewing 3 reply threads
      • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.