You need to sign in to do that
Don't have an account?
philbo
Web-to-Lead and Authentication
Hey,
Basic question re. web-to-lead. If the Web-to-Lead form (as generated by Setup->Customize->Leads->Web-to-Lead->Create Web-to-Lead Form) is populated by a 3rd party website, then does it suffice to post it to the URL
https://test.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8" method="POST"
(or "www.salesforce.com", or whatever)
with the Org Id specified in the form
<input type=hidden name="oid" value="orgId">
Wouldn't there need to also be some sort of authentication? If not - wouldn't it suffice to just change the orgId in the above, and have your Leads suddenly directed to a whole other org?
Clearly I'm missing something. Can anybody set me straight on this?
Thanks!
Basic question re. web-to-lead. If the Web-to-Lead form (as generated by Setup->Customize->Leads->Web-to-Lead->Create Web-to-Lead Form) is populated by a 3rd party website, then does it suffice to post it to the URL
https://test.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8" method="POST"
(or "www.salesforce.com", or whatever)
with the Org Id specified in the form
<input type=hidden name="oid" value="orgId">
Wouldn't there need to also be some sort of authentication? If not - wouldn't it suffice to just change the orgId in the above, and have your Leads suddenly directed to a whole other org?
Clearly I'm missing something. Can anybody set me straight on this?
Thanks!
In testing W2L against our sandbox, we found we had to change the endpoint from 'test.salesforce.com' to 'csX.salesforce.com' (csX being our particular sandbox server) in order to intake the Leads properly - leaving it as 'test' brings us up against a SF login screen. Is this expected behaviour? More importantly, is this something we should expect to look out for when we move to our production org?
Thanks!
All Answers
I suppose someone could sort of hack W2L by changing the orgId in there (if he happens to know another orgId), but I've never heard of anything like that actually happening.
In testing W2L against our sandbox, we found we had to change the endpoint from 'test.salesforce.com' to 'csX.salesforce.com' (csX being our particular sandbox server) in order to intake the Leads properly - leaving it as 'test' brings us up against a SF login screen. Is this expected behaviour? More importantly, is this something we should expect to look out for when we move to our production org?
Thanks!
I look forward to any advice on the matter.
Roz
:robotwink:
A simple matter of altering the URL in the W2L form to match the Sandbox URL.
:)