+ Start a Discussion
jburnsSTjburnsST 

VF Page In a VF Page

I am creating a tab based layout and want to embed another VF page in my tab based vf page.

 

Example:

 


<apex:tab label="Accounts" name="debtTab" id="debtTab">
<apex:relatedList list="Client_Debt1__r" />

VISUAL FORCE PAGE HERE
</apex:tab>

 

How would I do this?

 

Thank you in advance!

 

JB

Best Answer chosen by Admin (Salesforce Developers) 
Devendra@SFDCDevendra@SFDC

 

Hi,

 

Try this.

 

<apex:tab label="Accounts" name="debtTab" id="debtTab">
<apex:relatedList list="Client_Debt1__r" />

<apex:include pageName="VF_Page_Name"/>
</apex:tab>

 

Regards,

Devendra S

All Answers

Devendra@SFDCDevendra@SFDC

 

Hi,

 

Try this.

 

<apex:tab label="Accounts" name="debtTab" id="debtTab">
<apex:relatedList list="Client_Debt1__r" />

<apex:include pageName="VF_Page_Name"/>
</apex:tab>

 

Regards,

Devendra S

This was selected as the best answer
jburnsSTjburnsST

Thanks!