function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Prajakta Rane 7Prajakta Rane 7 

Looking for adding a webform to add contacts which adds data into Salesforce

Hello,

I would like to create a webform similar to Web to Lead where in i can input contact fields that inserts records in Salesforce.
That means if i give a url to any third party person, who should not login and add contact record directly in the Salesforce. What are the options?
Leslie  KismartoniLeslie Kismartoni
This is one of the simplest recipes for doing this: https://www.sundoginteractive.com/sunblog/posts/salesforce-recipe-for-web-to-contact-process

Basically, you piggy-back the contact creation process off a Web-to-Lead form. It has worked well for me.

 
ellospiderellospider
You may follow Leslie's suggestion above or create a visual force page.

This is on idea exchange as well - https://success.salesforce.com/ideaview?id=08730000000Br3NAAS
Leslie  KismartoniLeslie Kismartoni
Def. vote for the idea exchange!

The big difference is between the two methods is:  
  1. Getting a VF page/site installation. Depending on how you architect it, you may or may not be able to give HTML code to someone to get that data in... 
  2. Doing the piggy-back method is pretty robust, one simple trigger and a field. Probably quicker to implement. If you're looking for a quick solution, probably easiest to do.