0

We have a Force.com site on a subdomain: help.website.com. On the Force.com site is a form, which creates a case when it is submitted (Web-to-case I believe). The case is created by an Apex class associated with the page the form is on.

We'd like to move the form to our main site, website.com. We still want the form to submit to Salesforce, and create a case.

Does anyone know how to do this most easily? I can only think of two options: API integration or iFrame.

  • In which technology is your website built ? – Maruf Bagwan Feb 26 '15 at 4:55
  • Yeah I'll also supports integration here. Though u can Sfdc. OOB api to create cases. – amidstCloud Feb 26 '15 at 8:48
  • @MarufBagwan: I think it's on a CMS platform. I'd imagine the integration would be done with Javascript in an HTML page. – Alan Feb 27 '15 at 0:21
  • @AnkitKhandelwal: Could you rephrase? Not sure I understand. – Alan Feb 27 '15 at 0:21
1

You can set up your wed-to-case form on most of the websites you just need your org id which will be present in the html code generated in web to case generator. or simple you can create a vf page for cases and upload it to salesforce site, now you can use this site in iframe. Calling api is not a efficient choice .

  • Thanks! I added the web-to-case HTML (generated using the web-to-case HTML generator) to a different domain (personal site), and tried submitting several times. The form seems to submit successfully, and I am redirected correctly, but no case/contact is created in our sandbox. Do you know if there is additional configuration that needs to be done? It doesn't mention additional setup in this web-to-case help article: help.salesforce.com/apex/… – Alan Feb 27 '15 at 17:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.