RonaldL
Thu Mar 13 07:28:01 CDT 2008
Hi James,
Did you have this code working before with CRM 3, or did you start
immediately with crm 4?
The code does nothing spectacular. What it does is fetching the data from
the user input and setting the values to the attributes of a new instance of
lead. The lead then gets created in CRM. The code is backwards compatible, so
it should all still work. At least as long as you have only a single
organization in your system.
For details on how to handle multiple organizations, look in the SDK. Here's
the link to the create function with an example. The example is created for a
contact, but works exactly the same for lead.
http://msdn2.microsoft.com/en-us/library/bb928994.aspx
Kind regards,
--
Ronald Lemmen - MSCRM MVP
Avanade Netherlands
http://www.ronaldlemmen.com/
"@VGroupby1" wrote:
> Hi,
>
> I have a piece of code that I found through codeplex that creates a Lead
> whenever an individual fills in a form on a website (found here:
>
http://code.msdn.microsoft.com/CRMWebToLeads/Release/ProjectReleases.aspx?ReleaseId=294).
> Unfortunately, this code was made for 3.0 and I'm having trouble getting
> this working for 4.0. Has anyone had any success getting this in for 4.0?
> Any help would be greatly appreciated.
>
> -James