We can add VF pages to an Object's page layout.

But when we add any visualforce page to the layout then we are only restricted to add only between the EDIT & DELETE buttons of the object layout.

But my requirement is to add it where Related lists of that particular object is started not as shown in the image.

enter image description here

Is it possible? OR Anyone tried this ?

Your help will be highly appreciated.

Thanks, Kapil Kaushik

  • a screen shot of what you are trying to do would focus the answers – cropredy Sep 30 '16 at 0:56
  • hv u tried the inline vf page? you need to create a vf page with standard controller then only that page will be display in edit pagelayout – Ratan Paul Oct 3 '16 at 13:14

It is not possible in Salesforce Classic and if we talk about the salesforce lightning then the visualfocre page itself shown in the separate section for any record's detail page which is called 'DETAILS'.

| improve this answer | |

You need to use standard controllers and for this (in the VF page).

THIS and THIS may help.

You will also need to define a standard controller extension, if you want to have custom logic in your controller.

Dont worry, its quite easy, take a look at THIS to see how to make extensions. The post also deals with related lists, but not in the way you want, hence, you will need to read and understand the concept and figure out a solution on your own.

There are many answers/blogs/search results for this problem, I googled for add visualforce page to related list and the links I mentioned were in the top 5 results.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.