Wednesday, November 19, 2008 ..:: Forums ::.. Register  Login
 Forums Minimize
SearchForum Home
     
  Mainstream Forums  General Discussion  Web Leads...
 Web Leads
 
bcromwell
41 posts
Joined
7/8/2008

Web Leads
Posted: 24 Jul 08 12:33 PM

I am looking for where in SplendidCRM (or the SugarCRM documentation) I would find any information on directing leads from a web site directly into SplendidCRM, like the www.salesforce.com/servlet/servlet.WebToLead form.

Thank you,

Brian

support
2089 posts
1st
Joined
1/3/2006

Re: Web Leads
Posted: 24 Jul 08 12:57 PM
You have to develop that yourself.
bcromwell
41 posts
Joined
7/8/2008

Re: Web Leads
Posted: 24 Jul 08 1:14 PM

Thank you for the information.  That is what I thought, looking at the Administration page.  I thought I saw something about it in later releases of SugarCRM documentation.

Does anyone have some sample code they would be willing to share to help get me started on this?  This appears to be a fairly simple thing to do, but samples are always nice :-).

Thank you,

Brian

bbloom@gate.net
4 posts
Joined
7/23/2008

Re: Web Leads
Posted: 24 Jul 08 2:57 PM

I would recommend using the SOAP interface and something like the following....

 

public string AddNoteRecord(string SessionID, string Subject, string Created, string Description, string ParentID, string ParentType)

{

name_value[] nvl = new name_value[6];

nvl[0] = SetNameValuePair("name", Subject.ToString());

nvl[1] = SetNameValuePair("date_entered", Created.ToString());

nvl[2] = SetNameValuePair("date_modified", Created.ToString());

nvl[3] = SetNameValuePair("description", Description.ToString());

nvl[4] = SetNameValuePair("parent_type", ParentType.ToString());

nvl[5] = SetNameValuePair("parent_id", ParentID.ToLower().ToString());

string sguid = "";

sguid = this.SetDetails(SessionID.ToString(), "Notes", nvl);

return sguid;

}

 

private string SetDetails(string Session, string ItemName, name_value[] data)

{

try

{

set_entry_result ser = this.SpledidClient.set_entry(sessionId, ItemName.ToString(), data);

return ser.id.ToString();

}

catch(Exception ex)

{

return string.Empty;

}

}

  Mainstream Forums  General Discussion  Web Leads...

Forum Home  Search       

Copyright (c) 2006-2008 SplendidCRM Software, Inc. All Rights Reserved.   Terms Of Use  Privacy Statement
DotNetNuke® is copyright 2002-2008 by Perpetual Motion Interactive Systems Inc.
SplendidCRM and SplendidCRM Software are trademarks of SplendidCRM Software, Inc. SugarCRM is a trademark of SugarCRM Inc. in the United States, the European Union and other countries. All other trademarks used in this web site are the property of their respective owners.