BizTalk Server General - Creating a GUID in mapper

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > October 2004 > Creating a GUID in 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 Creating a GUID in mapper
RichTheHSTGuy

2004-10-29, 5:49 pm

Any ideas out there on how to create a GUID in the mapper. I need to create
a GUID and map it to a field in my document. I thought there was a blank
functoid toi do any thing you wanted with. Do I look like the raw newbie I
am?
Balaji Thiagarajan

2004-10-29, 5:49 pm

1. Drop a Scripting Functoid.
2. Set the Script type to Inline C#
3. Write a function which returns GUID as string
public string GetGUID()
{
return System.Guid.NewGuid().ToString();
}
4. Connect the output of the functoid to the outbound field.

--
Balaji Thiagarajan
MCP (BizTalk)
http://biztalkbits.blogspot.com
--

"RichTheHSTGuy" <RichTheHSTGuy@discussions.microsoft.com> wrote in message
news:5F73D694-6354-47E7-90DB-D594CA0ADFCB@microsoft.com...
> Any ideas out there on how to create a GUID in the mapper. I need to

create
> a GUID and map it to a field in my document. I thought there was a blank
> functoid toi do any thing you wanted with. Do I look like the raw newbie

I
> am?



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com