Activity › Forums › Salesforce® Discussions › How can I show a Visualforce page in the sidebar?
-
How can I show a Visualforce page in the sidebar?
Posted by Shubham on April 30, 2016 at 8:28 AMHow can I show a Visualforce page in the sidebar?
shariq replied 7 years, 8 months ago 5 Members · 4 Replies -
4 Replies
-
Hi Shubham
Placing a visualforce page on sidebar is really simple.
1) Create a visualforce page.
2) Create a custom HTML homepage component. using Below Path.
Path: Setup ->App Setup -> Customize -> Home -> Home Page Components -> HTML AREA -> Narrow (Left Column),
3) Click the Show HTML Check box and Place the following code in the HTML area.add this
<iframe src=”/apex/[VF PAGE NAME]” height=”100″ width=”100%” frameborder=”0″></iframe>
replace [VF PAGE NAME] your custom page name.
4) Finally, Place it on the left side of home page layout.
- [adinserter block='9']
-
Hi Shubham ,
- Create a custom home page component
- Add the componeent to the home page layout and make sure developer mode is disabled for the current user else the side bar will show simply the code of the page rather then showing the page content.
-
Hi Shubham,
As Ajit and Nitish replied we can add page layout components and all. But if you are using Mozilla firefox, then you have to tell Firefox to accept third party cookies, because most of the page comes from the salesforce.com domain, and the iframe containing the VF page comes from force.com. Failing to allow third party cookies messes with the redirection.
Thanks.!!
-
Hi,
You can achieve this by creating custom home page component and assign your vf page to it.
Hope this helps.
Log In to reply.