Results 1 to 2 of 2

Thread: How to get New Lead ID using custom web form

  1. #1
    hair is offline Junior Member
    Join Date
    Aug 2007
    Posts
    1

    Default How to get New Lead ID using custom web form

    hi there,
    Our company has a custom online form for any potential client to make a request. I need to record these collected info into SugarCRM. I have noticed that SugarCRM has its own way to generate a unique ID. My questions is, if I need to write a script that can insert into SugarCRM leads table, how may I get this Lead ID created by SugarCRM. By the way, I created two custom field in the leads module, company and url, I noticed that they are stored in a separated table named 'leads_cstm', which means I need manually grab the new Leads ID, and then insert associated custom field for this newly inserted leads record.

    Thank you for your time and advice in advance.

  2. #2
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default Re: How to get New Lead ID using custom web form

    Check out the leadCapture.php file in the root directory of Sugar. You can have your custom form post to it to add leads to Sugar automatically. See http://www.sugarcrm.com/wiki/index.p...r_your_website for more info. You could also have your form post to a php that can post to multiple pages using Curl so that it posts to Sugar and to where ever else you need to post it to.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. upgraded to 4.5.1e, received "Metadata for table tracker does not exist"
    By sfgeorge in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2007-09-03, 02:24 PM
  2. Web to Lead Form Save
    By whipsaw in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2007-04-02, 06:38 PM
  3. Replies: 9
    Last Post: 2006-12-15, 04:10 AM
  4. Asterisk Patch 1.1.0 Crash on logon
    By skyracer in forum Help
    Replies: 6
    Last Post: 2006-07-08, 06:30 AM
  5. Replies: 7
    Last Post: 2006-06-06, 07:56 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •