Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can we add vf component to Home page layout?

I have option to add Homepage component to Home page layout but not visualforce component.

share|improve this question
Dheeraj .. let me know if ans work for you or not? – Ratan Jan 16 at 13:56
Yes Ratan.. thanks for the solution..... – Dheeraj G Jan 16 at 14:05
up vote 2 down vote accepted

You can't directly add VF Component..

But you can add a VF page in Home Page layout

Step 1:

Create a Visualforce Page and add your component.

<apex:page showheader="false" >
 <c:mycomponent />

Step 2: From Setup, click Customize | Home | Home Page Components.

Step 3: Click New.

Step 4: Enter a name for the component HomePageOpps

Step 5: Choose the type of component Visualforce Area

enter image description here

Step 6: Click Next Step 7: Select Wide, your new Visualforce page HomePageOpps, and Height of 200 Check Show Scrollbars

enter image description here

Click Save

Modify the Home Page Layout

Now that you have created a Custom Home Page Area using your Visualforce page, we need to add it to the Home Page layout so it is visible. 1. From Setup, click Customize | Home | Home Page Layouts 2. Select Edit next to the DE Default Home page layout 3. Select the new Wide component HomePageOpps

enter image description here

Click Next

  1. Click Save

Now return to the Home Tab and scroll to the bottom. Your Visualforce page is there

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.