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
John SmithJohn Smith 

VF Page Help reg Iframe (Home Page Component)

First, Let me explain my scenario. We are replacing the customer portal with a VF page.  What i did first is created a home page component  and gave the code as below

 

<iframe src="/apex/portalhome" frameborder="0" height="640" scrolling="yes" width="100%"></iframe>

 

The VF Page Portalhome has some components which are iframes(Child Iframe). One of the child component/iframe is as below:

<apex:outputPanel id="getAdvancedReportPanel" style="width:750px;height:400px;" rendered="{!$CurrentPage.parameters.page == 'getAdvancedReports'}">
               <apex:iframe src="apex/casesearchfilter" scrolling="False" height="1000px">
               </apex:iframe>
          </apex:outputPanel>

 

The Child Iframe height might vary, and the requirement is the child iframe shouldn't have a scroll bar. And the parent iframe height should get resized automatically bsed on child iframe. In other words, we are designing a iframe in a iframe. Can you please guide me in this issue?? 

 

Cant we use directly a VF page, rather than using iframe as a homepage component?