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
gurditta.garg@gmail.comgurditta.garg@gmail.com 

Issue in rendering the VF page in the Standard Layout of a Custom Object

This is kind of very weird behavior that's coming up only in this org. I'm trying to embed visualforce page to the Standard Layout of a Custom Object and using the Standard Controller in the VF page. Now if go to the standard listing page of that Custom Object and click on any one of the record and the detail page comes up which where i've the VF embedded but this is not showing the actual VF page it's showing the Home Page in that VF section.
Go To -> CustomObject Tab -> click on any of the record -> see the detail page -> instead of actual VF page it'll embed the Home Page in the same area
Screenshot
HawkedHawked
Most likely there is a pageredirect method which is sending the page back to the homepage. Paste your inline VF page's visualforce code and controller code. 
gurditta.garg@gmail.comgurditta.garg@gmail.com
Hi @Hawked : Thanks much for replying

Even with the following code it behaves the same so i think there is nothing like redirection, viewState, caching etc
<apex:page standardController='CustomObject' showHeader="false" sidebar="false">
abcd
</apex:page>