You need to sign in to do that
Don't have an account?
chuckdubdub
Avoiding dupes and updating via PHP 4.x ?
I'm posting here at adamg's suggestion (below).
We're running PHP 4 on our site, and I'm interested in using the SF API (along with our web-to-lead functionality) to avoid duplicate insertions of lead records. What we'd like to do, is query the record, perhaps by email, and if it already exists, then update an activity field with the lead source and a date. Possible to do with PHP 4?
Thanks!
-Chuck
>>
Re: Possible to use API to update records and avoid inserting dupes (NOOB)? | |||
adamg sforce Moderator Posts: 675 Registered: 06-02-2003 Reply 2 of 2 | The toolkits aren't going to do this out of the box, but you can (fairly easily) write some PHP code to check to see if the email existings, etc and update accordingly. If you can't find a link to the older PHP 4.0 based stuff (not as easy to use as the PHP5 toolkit, but still possible) post a message to the PHP boards and we'll dig it up |
http://forums.sforce.com/sforce/board/message?board.id=PerlDevelopment&message.id=726
Found this!
Make sure you get the latest version
An update to the php_sforce_nusoap sourceforge project has been posted. It includes:
- fix for namespace of headers (lead assignment headers work properly now)
- rename of soapclient to nusoapclient (avoid conflict of php 5 SoapClient)
- getUpdated(), getDeleted() and retrieve() calls
- examples of the above in example.php
http://sourceforge.net/project/showfiles.php?group_id=96634&package_id=166314