Mapper: const input to looping functoid
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 General > Mapper: const input to looping functoid




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

    Mapper: const input to looping functoid  
Justin Bartels


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


 
03-18-04 06:58 PM

Hello,

I am trying to create a map in BizTalk mapper.  I have a
destination element that needs to be looped exactly 29
times.  The destination element count has absolutely
nothing to do with the source document (there is no
element in my source that loops 29 times, the destination
elements contain many pre-defined constant values which
are different for each iteration and sometimes take
source elements as input, other times only constants).  I
cannot change the destination document definition since
this is an EDI document spec.  My initial thought on how
to handle this was to use a looping functoid, but I don't
seem to be able to accept inputs to the looping functiod
from other functoids (only from source elements).  Is
there any way to set up a while loop within the mapper?





[ Post a follow-up to this message ]



    RE: Mapper: const input to looping functoid  
Everett Yang


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


 
03-18-04 06:58 PM

Loop functoid basically is a for-each loop in XSLT.  The loop is based on
an inbound element or attribute.  You cannot assign a fixed value to the
looping functoid.

Sincerely,


Everett Yang
DSI - Microsoft BizTalk Server

This posting is provided “AS IS” with no warranties, and confers no rights.
Subscribe at
http://support.microsoft.com/defaul...msdn/nospam.asp
&SD=msdn






[ Post a follow-up to this message ]



    Re: Mapper: const input to looping functoid  
Matt Cable


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


 
03-18-04 06:58 PM

What version of BizTalk Server are you using?  I can think of a couple ways
to do that in the 2004 Mapper, but in 2002/2000, I have had to manually code
the XSLT in the map to do that sort of thing.  The only non-coding option
would to be an interim map that would have 29 records in it, then you could
use the Looping functoid in the final map against those records.

- Matt Cable

"Justin Bartels" <smisa@spam-someone-else.net> wrote in message
news:c28001c40855$5495c3c0$a101280a@phx.gbl...
> Hello,
>
> I am trying to create a map in BizTalk mapper.  I have a
> destination element that needs to be looped exactly 29
> times.  The destination element count has absolutely
> nothing to do with the source document (there is no
> element in my source that loops 29 times, the destination
> elements contain many pre-defined constant values which
> are different for each iteration and sometimes take
> source elements as input, other times only constants).  I
> cannot change the destination document definition since
> this is an EDI document spec.  My initial thought on how
> to handle this was to use a looping functoid, but I don't
> seem to be able to accept inputs to the looping functiod
> from other functoids (only from source elements).  Is
> there any way to set up a while loop within the mapper?







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:31 PM.      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