BizTalk Mapper
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 > BizTalk Mapper




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

    BizTalk Mapper  
Ouaes Jamali


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


 
04-30-04 08:36 PM

while using custom functiods when there is no value or a invalid incomming v
alue i do not want to populate the destination attribute. Currently i am doi
ng it this way

Function GetPartnerID( status, partnerID )
if (status = "EA") then
GetPartnerID = partnerID
else
GetPartnerID = ""
end if
End Function

But i want to away wth returning a blank value? When i delete the else part 
and test the mapper i get a xslt error. Is there a way to do this.

Thanks in advance.





[ Post a follow-up to this message ]



    RE: BizTalk Mapper  
Tan Bao Nguyen


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


 
06-26-04 03:51 PM

After your scripting functoid, use a logical functoid to check the output
value of your scripting functoid and a value mapping functoid; and link the
logical functoid and the value mapping functoids to your destination field.
The destination field will not be created when the logical functoid value
is false.

Regards,
Tan Nguyen
Microsoft BizTalk Server

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

--------------------[vbcol=seagreen] 
incomming value i do not want to populate the destination attribute.
Currently i am doing it this way

Function GetPartnerID( status, partnerID )
if (status = "EA") then
GetPartnerID = partnerID
else
GetPartnerID = ""
end if
End Function

But i want to away wth returning a blank value? When i delete the else part
and test the mapper i get a xslt error. Is there a way to do this.

Thanks in advance.[vbcol=seagreen] 






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:59 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