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
Dagny FernandesDagny Fernandes 

when i open the record it redirect to inline page

Hi all,
I have an issue. i have Opportunity with inline pages the issue is when i click the opportunity record ad open the record the detail page opens and directly go to inline VF page at the bottom so that every time i need to scroll up to see the opportunity detailes. so i dont want to go to the bottom of the page when i click on the opportunity record it should not move to inline page... 

Need help asap.
Thank u in advance.
Sumitkumar_ShingaviSumitkumar_Shingavi
Hello Dagny,

Can you try below JS in to inline VF page to tell browser to get focus always on parent.
 
<script>
    window.parent.focus();    
</script>
I haven't tested this but should work. Hope it helps!