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
Shreyashi Akhauri 6Shreyashi Akhauri 6 

Create a visualforce page which should be launched from a case record

Create a visualforce page which should be launched from a case record. Once redirected to the visualforce page, provide option to take a picture, show preview and on click of Upload, save it as a file under the case record. Handle all possible validations. Display error and success messages. After saving the file, redirect back to the case record.