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
svpsvp 

Web to Cases

Hi,

 

I want to create a web page (VF) via sites that will leverage Web To Case, how to set up web to cases ?.  Any help must be highly appreciated.

 

Thanks in advance !

 

 

Best Answer chosen by Admin (Salesforce Developers) 
bob_buzzardbob_buzzard

You can send a record into an approval process programmatically.  There's an example in the apex developer's guide at:

 

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_process_example.htm

All Answers

bob_buzzardbob_buzzard

The guest user profile can be set up to create cases.  If it were me, I'd enable that and then create a simple visualforce page containing a form to allow the creation of a case.  IMHO this is better than using web to case, as you can then provide feedback to the user regarding the case number or about any problems.

svpsvp

Hi,

 

Thank you for your resoponse,  i was able to setup/create web to case. How can I sumbit approval request automatically without submitting manually from case detail page and approve, any  help ?

 

 

Regards,

 

bob_buzzardbob_buzzard

You can send a record into an approval process programmatically.  There's an example in the apex developer's guide at:

 

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_process_example.htm

This was selected as the best answer
svpsvp

Hi,

 

Its worked, thanks a lot.

 

Regards