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
sreenathsreenath 

can we do this in visual force edit page

Hi developers, Can any one come across with this type of requirement, please guide me.... 1) Can we put a visualforce page in edit page of custom object or standard object in a separate section. 2) I don't need to show some fields in edit page, but display in detail page. How to set field visibility settings or another way to display. waiting for a appreciative response............... Thanks Sreenath
Best Answer chosen by Admin (Salesforce Developers) 
Alok_NagarroAlok_Nagarro

Hi,

 

You can't put a VF page in any object's edit page. But as you mentioned in 2nd point that you don't want to show some fields in edit page but wanna show on view page then you can use visualforce page for that purpose (since you can put VF page in detail page but not in edit page).

 

  1. Create VF page with Standard controller = your object (maybe standard or custom).
  2. goto object's layout--> edit layout--> create section---> drag VF page from List and drop to this section--> click Sav

Hope it would help u.