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

Visualforce on Home Page

I am trying to place a Visualforce page on the Home Page using an HTML component and the following code:


<IFRAME id=itarget src="/apex/TestPage" frameBorder=0 width="100%" height=100></IFRAME>


I have seen multiple postings where this is what others are doing, but when I try it all I get is the code displayed verbatim in the HTML area.  Perhaps I am missing something, but is there something else I need to be doing to actually render the VF page?



Best Answer chosen by Admin (Salesforce Developers) 

In the upper right hand section of the editor for the home page component there will be a checkbox "Show HTML" - you should check this and then copy that iframe code back into otherwise it interprets your text as just regular text and not HTML.


-- Matt