Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Salesforce web to lead and returlSalesforce web to lead and returl
Previous
 
Next
New Post
1/28/2010 5:15 AM
 

Hi

I am trying to write information to Salesforce from a dotnetnuke page.  I am using the Text/HTML module, and therefore I am unable to simply copy and paste the Salesforce generated web to lead HTML as it uses a form.  I have tried to change the code according to posts I have found on the internet however it still doesn't post to Salesforce.  In addition to the posting problem, the returl doesn't seem to redirect the user following submission.

I am a non html/asp.net/dotnetnuke techie so I apologise if I am asking stupid questions. 

My code is:

<META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=UTF-8">

<input type=hidden name="oid" value="xourSFDCidx">
<input type=hidden name="retURL" value="http://www.bbc.com">

<label for="first_name">First Name</label><input  id="first_name" maxlength="40" name="first_name" size="20" type="text" /><br>

<label for="last_name">Last Name</label><input  id="last_name" maxlength="80" name="last_name" size="20" type="text" /><br>

<label for="email">Email</label><input  id="email" maxlength="80" name="email" size="20" type="text" /><br>

<label for="company">Company</label><input  id="company" maxlength="40" name="company" size="20" type="text" /><br>

<label for="city">City</label><input  id="city" maxlength="40" name="city" size="20" type="text" /><br>

<label for="state">State/Province</label><input  id="state" maxlength="20" name="state" size="20" type="text" /><br>

<input type="submit" name="submit" onclick="this.form.action='https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8';this.form.submit();" >

 

All help gratefully received.

 
New Post
1/28/2010 3:01 PM
 

You will want to remove the META tag that you have in there, it is not needed.

Otherwise, what you have looks to be correct.  With DNN and doing form postings like this, additional data is submitted to the other site, due to other input fields that exist on the form.  You might check with the Salesforce.com people to see if they have any limitations on the inputs, and what they do if you send more fields than what they anticipate.


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
2/1/2011 10:24 AM
 
The problem is that DNN doesn't allow subforms -- which is how the Web2Lead system works. I ended up writing my own module to handle this. It's published here: http://www.saggiotechnologies.com/products/SalesforceWeb2Lead/ It's available for purchase from Snow Covered. Lots of people use it and like it! You can do it yourself -- what you need to do is tie into the existing form in DNN from a DNN module. So, when the page posts, you intercept the post and grab the values from the Web2Lead form. Then you manually transmit them to the SF.com servers. Try the module -- it will save you tons of time.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Salesforce web to lead and returlSalesforce web to lead and returl


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out