Skip to main content The Trailblazer Community will be unavailable from 2/1/2025 to 2/2/2025. Please plan your activities accordingly.
I need to create a VF Page for Account for creating, viewing and editing records. What is the best approach to handle the fields for opening them for edit and view only mode? Can we use the same VF page to handle all the scenarios? How to code controller logic to handle multiple scnearios(save, edit and view)?
7 answers
  1. Apr 1, 2016, 5:12 PM
    Hi Raghu,

    As we are using the Standard Controller with Extension and we are not overriding the Save method, it will automatically redirect to Standard Page which is a defect behaviour of Save method.

    Please do let me know if it helps you.

    Regards,

    Mahesh
Loading
0/9000