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
Richa_LearningRicha_Learning 

Include one Vf page on another

Hi,

I am trying to add one Vf page on another Vf page. this is my page. 
<apex:page standardController="Account" extensions="Accountsextension" >
   
  
      
      <apex:pageBlock title="Account History" id="Account_History">
      <apex:pageBlockTable value="{!acchistlist}" var="accounthistory" rows="1000">
         <apex:column value="{!accounthistory.createddate}"/>
         <apex:column value="{!accounthistory.createdby.name}"/>
         <apex:column value="{!accountHistory.field}"/>
         <apex:column value="{!accounthistory.oldvalue}"/>
         <apex:column value="{!accounthistory.newvalue}"/>
      </apex:pageBlockTable>
   </apex:pageBlock>
    
    
    
</apex:page>

 i want to add another VF page called "Value" on this with this size

Height (pixels): 50
Width(pixels): 100%

Please help.



 
Best Answer chosen by Richa_Learning
Shikha AgashiShikha Agashi
There is standard Visualforce Standard Component called <apex:include>. It do not provide style attribute but you can achieve it in combination with other standard component. 

For more reference, please refer:

https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_include.htm

All Answers

Shikha AgashiShikha Agashi
There is standard Visualforce Standard Component called <apex:include>. It do not provide style attribute but you can achieve it in combination with other standard component. 

For more reference, please refer:

https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_include.htm
This was selected as the best answer
Bhaswanthnaga vivek vutukuriBhaswanthnaga vivek vutukuri

Hi, you can use <apex:iframe>

For reference, please check out this https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_iframe.htm