+ Start a Discussion
dotNetkowdotNetkow 

Proper way to iframe in a VF page on the Home tab?

I need to embed a VF page into the Home page tab.  So far I have made a HTML area component under Home Page Components.  Within the component, I use this to iframe in the VF page:

 

<iframe src="/apex/My_VF_Page"></iframe>

 

However, the result shows the entire page, not just the VF page:

 

 

So the question is, how do I just display the VF page's content?

 

Best Answer chosen by Admin (Salesforce Developers) 
PatcsPatcs

Hi


In your visual force page you have to made the header and sidebar to be false like this

 

<apex:page sidebar="false" showheader="false" tabstyle="Account">

 

then it will display only your content.

 

I think this will help


Thanks!

All Answers

PatcsPatcs

Hi


In your visual force page you have to made the header and sidebar to be false like this

 

<apex:page sidebar="false" showheader="false" tabstyle="Account">

 

then it will display only your content.

 

I think this will help


Thanks!

This was selected as the best answer
dotNetkowdotNetkow

Excellent, thanks!  That worked.