Display Standard Header on VF Page In Lightning 


Hello All,

The standard Salesforce Classic header and sidebar are always suppressed for pages when they’re displayed in Lightning Experience.

In particular, the showHeader and sidebar attributes of <apex:page> have no effect on Visualforce pages when displayed in Lightning Experience.

Pages behave as though the showHeader and sidebar attributes of <apex:page> are both set to false.

showHeader 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.

Note: In Lightning Experience and Salesforce1 the value of this attribute is overridden, and is always false.

Refer to this URL:
https://trailhead.salesforce.com/modules/lex_dev_visualforce/units/lex_dev_visualforce_known_issues

But there is a trick that you can use for show header in lightning:


'/one/one.app#/alohaRedirect/apex/pagename' for redirection. And the header on the next page is visible.


Thanks
Apex Coder

Comments

Popular posts from this blog

Lightning:input type date not displaying correctly

Navigate to a independent Aura component from Visualforce Page