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
EMS Consulting 3EMS Consulting 3 

embedded report on visualforce page takes over screen

Hi,
I have a visualforce page I embedded with a report.  I want it to show on the custom object layout without it opening to another window.  The object is named Orders_From_Macola__c and when I create a new order it skips the detail page and just opens a huge report.  I would like it to show as a portion of the page (not the whole thing).  Is this possible? Below is the code:

<apex:page showHeader="false" sidebar="false" standardController="Orders_From_Macola__c">
    <apex:form >
   <apex:pageBlock title="Title: Custom VF Page on Object's Page Layout">
        <p> This is another visualForce page inside Object's PageLayout. </p>
        </apex:pageBlock>
    </apex:form>
<iframe src="/00O41000005cnzS?isdtp=mn" style="border:none; width:500px; height:200px"></iframe>
</apex:page>