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
Ron-LONRon-LON 

Visualforce on Homepage problem

Hi,

 

I created a visualforce page that I want displayed on the wide area of the homepage.  There are a few posts that suggest the following method as being the way.  So I do the following:

 

1. Go to Setup -> Customize -> Home -> Home Page Components

2. Click New->Choose HTML Area and->Input the Name for your component->Click Next

3. Select show HTML on the right upper hand side and place in the following:

 

<iframe

src="/apex/dateTester?core.apexpages.devmode.url=1"

width="100%" frameborder="0" height="100">

</iframe>

4. Then Click saves.

5. Now go into Setup -> Customize -> Home ->Home Page Layouts ->Click Edit next tothe Layout you would like to configure

Select the component from there

Click Next and order it where you want it to show.

Click Save.

 

It doesn't work for me.  When I go back to look at the new component, I edit it, then I check the box next to "show HTML".

 

And what I put in as this:

 

<iframe src="/apex/dateTester?core.apexpages.devmode.url=1" width="100%" frameborder="0" height="100">
</iframe>

 

 

ends up looking like this when I go back to view it:

 

<iframesrc=" apex="" datetester?core.apexpages.devmode.url="1&quot;width=&quot;100%&quot;" frameborder="0" height="100"></iframesrc=">

 

Why doesn't it work for me like others who have posted on here?

Ron-LONRon-LON

Does anyone have any ideas on this?  It would really help.  Thanks!!

Sonam_SFDCSonam_SFDC

Hey Ron,

 

Have you tried accessing this VF page as a web page? Does it show correctly?

I just tried adding a VF page  iframe to my home tabe and its working fine.

 

When you open the Home tab - do you see the component load?