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
manohar g 1manohar g 1 

Hide standard tabs

how to hide standard tabs using vf pages ....?
Kathir DevanKathir Devan
Hi,
 
just give like this below..

<apex:page standardcontroller="objectname" showheader="false" >

thanks,
kathir
Grazitti TeamGrazitti Team
Hi Manohar,

Please see the code below:

<apex:page title="Page Title" showHeader="false" sidebar="false" controller="CustomContrroler" standardStylesheets="false">
</apex:page>


Let us know if you have any queries.

Please don't forget to Mark this as best answer if it resolves your problem.

Regards,
Grazitti Team
Web: www.grazitti.com
KeerthigeeKeerthigee
Hi Manohar,

Using this code,We can hide standard tabs in visualforce pages.

<apex:page standardcontroller="anyobjectname"  showheader="false">
</apex"page>

Atrribute type of showheader is boolean.

A Boolean value that specifies whether the Salesforce tab header is included in the page. If true, the tab header is displayed. If not specified, this value defaults to true.

For hiding tabs and sidebar,showheader is enough.But,If you want to hide only salesforce side bar then use sidebar only i.e sidebar="false" .


If we want to know more than this,please refer this link.

https://ap1.salesforce.com/apexpages/apexcomponents.apexp.


If you satisfy with my suggest,please mark ita as a best answer.