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
new2forcenew2force 

regarding custom home components in home page layout

hey i created a custom HTML area and there i have to give custom VF page. right now , iam using frames like below

 

<br><iframe src="/apex/Example?core.apexpages.devmode.url=1" style="color: yellow;"  ="" width="100%" frameborder="0" height="100%"></iframe><br>

 

i dont wanna use frames. i want it without any scrolling. i did this using a reference. u can see how it produces output.

 

and also if it is the only way, then how can i write this code into production

forecast_is_cloudyforecast_is_cloudy

Using an IFrame like you've done is currently the only way to display a VF page as a Home Page Component. In terms of deploying to Production, you should develop the VF page and component in a Sandbox and then deploy the page and the respective Home Page Component to Production using the deployment tool of your choice (Change Sets, Eclipse, Ant). Hope this helps.

new2forcenew2force

Hi thanku so much