BizTalk Server - BizTalk Mapper

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server > June 2004 > BizTalk Mapper





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author BizTalk Mapper
Ouaes Jamali

2004-04-30, 3:36 pm

while using custom functiods when there is no value or a invalid 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.
Tan Bao Nguyen

2004-06-26, 10:51 am

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]

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com