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
GauravKumarGauravKumar 

Custom visualforce page in standard layout

Hi

 

I am trying to insert a Visualforce page in standard layout of my custom object.

 

I was successful in inserting it in layout editor. But it is displaying Only in Detail Form of the record. I need to display it in Edit Part of the record too.

 

How can I do that? Any help would be appreciated. Thanks.

mtbclimbermtbclimber
That's not supported today.  You can override the edit action for the given object but inline Visualforce page components in page layouts will only surface in the detail (read-only view) of the record.
tmbarrytmbarry

Gaurav,

 

Were you able to get this to work?  I am trying to do the same thing and don't kow where to start.

 

Regardds,

 

Todd B.

incuGuSincuGuS

I would suggest as mtbclimber said to override the EDIT page, since you are trying to add custom behaviours and possibly even styles and forms, you should customize it entirely.

 

You do lose some flexibility , but i believe its would be the best approach, for not only getting the desired result but also to enforce whatever logic you need etc.