You need to sign in to do that
Don't have an account?
needhelp
Customize home page with visualforce page
Is there any other way to include visualforce page into home page instead of using iframe?
By using iframe, there will have scroll bar which I do not want.
Hey
There is. Simply use <apex:include pageName="{!$Page.myPage}"/>
Cheers,
Wes
I don't think apex:include will work here since the home page component is just an HTML area and not a VF page. (At least it didn't when I tried this out.)
I used the following iframe code for a custom home page component and I didn't get scroll bars or the iframe border, but my embedded VF component was a widget with a fixed height - that may be the only way to avoid the scroll bars.
<iframe src="/apex/HomePg" frameborder="0" height="510" width="100%"></iframe>
Ah my bad. Didn't read the part about being the home page. Yeah you have to do it that way. It's a silly restriction but what can we do really.
Cheers,
Wes
Try this way
<iframe src="/apex/HomePg" frameborder="0" height="510" width="100%" style="overflow:visible;">
I can't fix the size as my content is based on the data being retrieve.
I would like the VF page fully display at the home page without scrollbar, so the overflow syntax also not suitable for this case.
any other solutions?
It does not work. I've tried hooking up the visualforce page using the iframe.
Isn't there a simpler way to attach visualforce pages into the home page.