+ Start a Discussion

How to achieve Web to custom object functionality

We have the Web-2-Lead & Web-2-Case both functionalities for th Lead and case object. The same i would like to acheive for the custom object. To do that have to do custom development  i know that part.


What are the steps have to follow and by using which concepts we can achieve this. Please any one can give ideas on this functionality


You'll need to use a public force.com site for this, as the web2case/lead rely on Salesforce endpoints that don't exist for other objects.


Your public force.com sites page can be iframed into your web site.  You'll need to write some Visualforce for this - it can be as simple as a standard controller that captures the details and saves the record, or if you want to provide some feedback and additional functionality you may need to write an extension controller.

There is a way around this if you're not familar with APEX/Force.com sites. Depending on your environment, feel free to try the following solution which we're currently using to achieve the same results.