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.

5
  • In which technology is your website built ? Commented Feb 26, 2015 at 4:55
  • Yeah I'll also supports integration here. Though u can Sfdc. OOB api to create cases. Commented Feb 26, 2015 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
    Commented Feb 27, 2015 at 0:21
  • @AnkitKhandelwal: Could you rephrase? Not sure I understand.
    – Alan
    Commented Feb 27, 2015 at 0:21
  • Did you validate that the fields in the current HTML match with the assigments rules that you should set up to assign the case? Here is more information too: help.salesforce.com/articleView?id=sf.faq_cases.htm&type=5 Commented Apr 7, 2021 at 4:03

1 Answer 1

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 .

1
  • 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
    Commented Feb 27, 2015 at 17:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .