How do I auto-populate a missing node?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server > How do I auto-populate a missing node?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    How do I auto-populate a missing node?  
Cris Williams


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-24-04 09:36 AM

Is there a way, using BizTalk Mapper or any other method, to
auto-populate a missing node in the source XML?

For example, if <my_tag>1</my_tag> is missing, I'd like to be able to
easily insert that rather than have my AIC explode.

Trying to get around a recompile because this band-aid would be a
temporary work-around.

Thanks in advance for the assistance.

Cris





[ Post a follow-up to this message ]



    Re: How do I auto-populate a missing node?  
Anup Shah [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-25-04 02:44 PM

Hello Cris

You cannot auto-populate an entire node, however youou can populate any
outbound fields in the Biztlak Mapper, by using the Scripting Functoid. Just
Map the scripting functoid to the outbound field only.
You can then use the scripting function populate the field or if it is a
constant value you want that field to hold, then click on the outbound field
name, then click on the 'Values' toolbar at the bottom of the mapper screen
and specify a "Destination constant value"

Kind regards

Anup Shah
Biztalk Support Team - EMEA

This posting is provided "AS IS" with no warranties, and confers no
rights.

"Cris Williams" <criswilliams@yahoo.com> wrote in message
news:7f7e27bc.0402240916.11b851ff@posting.google.com...
> Is there a way, using BizTalk Mapper or any other method, to
> auto-populate a missing node in the source XML?
>
> For example, if <my_tag>1</my_tag> is missing, I'd like to be able to
> easily insert that rather than have my AIC explode.
>
> Trying to get around a recompile because this band-aid would be a
> temporary work-around.
>
> Thanks in advance for the assistance.
>
> Cris







[ Post a follow-up to this message ]



    Re: How do I auto-populate a missing node?  
Cris Williams


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-26-04 03:35 PM

I think what you are saying is to use a Scripting Functoid straight to
the source field. We need to do that Only when the source field does
not exist.



"Anup Shah [MSFT]" <anupshah@online.microsoft.com> wrote in message news:<eJQtBF5#DHA.1
452@TK2MSFTNGP09.phx.gbl>...
> Hello Cris
>
> You cannot auto-populate an entire node, however youou can populate any
> outbound fields in the Biztlak Mapper, by using the Scripting Functoid. Ju
st
> Map the scripting functoid to the outbound field only.
> You can then use the scripting function populate the field or if it is a
> constant value you want that field to hold, then click on the outbound fie
ld
> name, then click on the 'Values' toolbar at the bottom of the mapper scree
n
> and specify a "Destination constant value"
>
> Kind regards
>
> Anup Shah
> Biztalk Support Team - EMEA
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
> "Cris Williams" <criswilliams@yahoo.com> wrote in message
> news:7f7e27bc.0402240916.11b851ff@posting.google.com... 





[ Post a follow-up to this message ]



    Re: How do I auto-populate a missing node?  
Nick Malik


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-26-04 03:35 PM

no, he said what he meant... if you want to auto-populate a node that
doesn't get populated in your destination schema, set a functioid to point
only to the DESTINATION field.  Since AICs perform after mapping, this would
take care of some issues.

Is this not working for you?
--- Nick

"Cris Williams" <criswilliams@yahoo.com> wrote in message
news:7f7e27bc.0402260716.2b770eb5@posting.google.com...
> I think what you are saying is to use a Scripting Functoid straight to
> the source field. We need to do that Only when the source field does
> not exist.
>
>
>
> "Anup Shah [MSFT]" <anupshah@online.microsoft.com> wrote in message
news:<eJQtBF5#DHA.1452@TK2MSFTNGP09.phx.gbl>... 
Just 
field 
screen 







[ Post a follow-up to this message ]



    Re: How do I auto-populate a missing node?  
Jan Eliasen


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-18-04 06:59 PM

On 26 Feb 2004 07:16:02 -0800, criswilliams@yahoo.com (Cris Williams)
wrote:

Hi

Use an "exists"-functoid on the source-field you are not sure exists.
Connect it one value mappening-functoid for each destination-field you
want to populate. Let the second parameter for each value mappening
functoid be the value to autopopulate it with.


>I think what you are saying is to use a Scripting Functoid straight to
>the source field. We need to do that Only when the source field does
>not exist.
>
>
>
>"Anup Shah [MSFT]" <anupshah@online.microsoft.com> wrote in message new
s:<eJQtBF5#DHA.1452@TK2MSFTNGP09.phx.gbl>... 

--
Jan Eliasen, representing himself and not the company he works for.
MCP in Microsoft BizTalk Server





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:32 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register