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
Mallaurie Mulciba 24Mallaurie Mulciba 24 

Visual force pages on home page

Hi everybody 

I have created a visualforce page to display to access an object.

My code is the following :
 <apex:page > <apex:enhancedList customizable="true" height="600" type="Kilometrage__c"/> </apex:page>

I display this VF on the home page for some user. actually  i have the following page in my home page in creation mode

User-added image

I would like to remove the header with all the tabs and settings and also the side menu on the left.

Is there anyway i can mention this in the code?

Thanks in advance for your help
User Sidebar = "false" and showHeader="false" in ape:page
Mallaurie Mulciba 24Mallaurie Mulciba 24
Hi Venky,

Thanks for your anwser. How exactly should i write it in the code?
Im not a developper so i have to admit that i dont know how to write it properly.
<apex:page sidebar="false" showHeader="false" > 
<apex:enhancedList customizable="true" height="600" type="Kilometrage__c"/> 

Mallaurie Mulciba 24Mallaurie Mulciba 24
Unfortunately i have the following message "
Error: <apex:enhancedList> component cannot be included when <apex:page> 'showHeader' attribute is false'
veer singhveer singh
Hi Mallaurie,

There is no direct method to remove hearder with EnhancedList.
We can hide it using css.
<apex:page sidebar="false"> 
    <apex:enhancedList customizable="true" height="600" type="Account"/> 
so now Header will be removed from your page.