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
AbAb 

overriding edit and detail view for object case

Hello,

Is there way to overide "edit" view (creation and update) and also detail view for object "case" ?
if yes, what are the steps ?

Ideally i want it only for certain profiles but i wil look at this usecase later

thanks for suggestion 
Best Answer chosen by Ab
Thiruchuri AdityanThiruchuri Adityan
It depends on your requirement..
For creation, you need to override New Button,
For updation  ........  override Edit Button
For viewing(detail page) ......... override View Button

All Answers

Thiruchuri AdityanThiruchuri Adityan
1.  Create 2 visual force pages using case as standard controller
2.  Override buttons of the case with the pages you have created..
Amit Singh 1Amit Singh 1
Hi Sandrine,

Yes, you can override any Salesforce Standard button using VF page.

Refer below link.
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_controller_customize_override.htm

Let me know if this helps :)

Thanks,
Amit Singh
AbAb
Thanks for anwers, can you suggest which buttons to override ?
 
Thiruchuri AdityanThiruchuri Adityan
It depends on your requirement..
For creation, you need to override New Button,
For updation  ........  override Edit Button
For viewing(detail page) ......... override View Button
This was selected as the best answer