+ Start a Discussion
Raghavendra M 13Raghavendra M 13 

how to write showHeader is equal to false when lighting component is overrided

Hemant_SoniHemant_Soni
Hi,
Please Try below code.
<apex:page controller="testController" showHeader="{!$User.UITheme == 'Theme3'}}">
</apex:page>
Please Use this salesforce documentation for more information.
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_variables_global_useruitheme.htm

Thanks
Hemant
Raghavendra M 13Raghavendra M 13
Not a visual force i want to hide showheader in lightning when lightning compoent is overriden