Go Back   Mike Simonds > Salesforce > Salesforce Coding Discussions

This is a discussion on Web to lead help within the Salesforce Coding Discussions forums, part of the Salesforce category; Hi, Im a noob in salesforce and the whole programming and i

Reply
 
LinkBack Thread Tools Rate Thread
  #1  
Old 05-06-2008, 02:03 AM
Junior Member
 
Join Date: May 2008
Posts: 2
Web to lead help

Hi,

Im a noob in salesforce and the whole programming and i was asked to create a page that will capture leads from our clients web site, write to mysql and to sales force as well and vice versa. More like database mirroring.

Im not really familiar how it works, i already created a way after a lot of frustrated attempts on how to write into the MySQL and Salesforce but the Salesforce leads keeps on inserting new rows.

Is there a way wherein i can just update them?

I've been reading this forum for a couple of days now and i know a lot of answers are in here. Help me start please.

Thanks a lot..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #2  
Old 05-06-2008, 08:50 AM
Administrator
 
Join Date: May 2007
Posts: 214
Send a message via AIM to mike Send a message via MSN to mike Send a message via Yahoo to mike Send a message via Skype™ to mike
Thumbs up Sure Can Help!

Quote:
Originally Posted by ejayqueja View Post
Hi,

Im a noob in salesforce and the whole programming and i was asked to create a page that will capture leads from our clients web site, write to mysql and to sales force as well and vice versa. More like database mirroring.

Im not really familiar how it works, i already created a way after a lot of frustrated attempts on how to write into the MySQL and Salesforce but the Salesforce leads keeps on inserting new rows.

Is there a way wherein i can just update them?

I've been reading this forum for a couple of days now and i know a lot of answers are in here. Help me start please.

Thanks a lot..

Thanks for joining and posting on the site, I really appreciate it

So you want to create the following.

You want to create a form that will take the user information from possible leads and store them into MySQL

THEN

you want to create a process that will insert them into Salesforce, into the leads object/table


Do you really need to store them locally in MySQL, or what about just creating a form to process them into Salesforce and let them be the database of record?

You can do either, the MySQL process would have to be done this way:

  1. Create a form on your site to take user information.
  2. Once the script is ran, store them into MySQL.
  3. Once the database insert is completed.
  4. Use the same script to insert the data into Salesforce using the CREATE function from the PHPToolKit.


OR

You could use this system that is free and can be downloaded here

If you have to write a form and capture them it can be done quite easily

Do you know PHP? If you do not, it may be a little more involved, but with help from here, you can do it.

Let me know how you want to proceed

~Mike
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 05-06-2008, 04:50 PM
Junior Member
 
Join Date: May 2008
Posts: 2

Thanks Mike.

I know a little PHP since i started this stuff.

I already can write to our MySQL Db and to Salesforce using the auto-generated web-to-lead forms from Salesforce. The problem now is, it does not update the existing leads instead inserts new rows which duplicates the lead data.

I have no idea how to solve this.

By the way, is there a way wherein if the Salesforce user updates the lead data on the salesforce console that it could also update our local Db? I don't know if this could be done though.


I really appreciate your help.

More power.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump



Powered by vBulletin


SEO by vBSEO 3.2.0 RC8 ©2008, Crawlability, Inc.

1 2 3 4 5