BizTalk Map

Viewing 2 reply threads
  • Author
    Posts
    • #17670

      Hello,

      How do I set default values to target schema fields if the corresponding source instance fields do not exist?  The source and target schemas and the map passed validations; including the source input instance file.

       I have tried the Script functoid to check for Null or Empty inputs but the target instance fields are still empty.

       Thanks,

      Joe

    • #17677

      Joe,

      Try using Logical Existence Functiod.

      It checks whether the node exist or not in the Source Schema.

      Hope u find it useful.

    • #17682

      Joe –

      There is a default value property of the Schema that you can fill in.  I don't like to use it because it is not visible unless you know it is there.

      For greater visibility to others, you can wire the value into a scriptoid and test if it is an empty string "" and then set the default if it is empty.
       

      -wa 

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