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
Marc McCorkleMarc McCorkle 

Looking for a way to add "If you think your issue is resolved" Click here to close case link at the bottom of emails and in turn have it close case. Is that possible in Service Cloud?

Shawn Reichner 29Shawn Reichner 29
Yes you can do this. 

What you will need forst is to set up a Salesforce Site from "Setup / Develop / Sites" with a VF page as the home page. 
The VF page will really serve as a pass through if you will to pass the Case ID. So just set up a VF page using Case standard controller and save for now. 
Then take the link to the Site that was created when you created the Site and copy that to place into your email template and turn the verbiage "Click here" into a URL link and paste the site URL into here and add ?caseId={!Case.Id} to the end of the site url. 

Now the email will pass the Case ID into the Site and the last part is for you to now create a controller extension which will do the magic of takign that passed in Case Id, and update the the Status field to closed and any other fields that would need to be updated as part of the case closure. 

Hope that helps, 

Shawn