Activity Forums Salesforce® Discussions Why sidebar and showheader attribute have no effect in Salesforce Lightning Experience?

  • shradha jain

    Member
    September 6, 2018 at 5:11 am

    Hi Madhulika,

    The standard  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.

     

  • shariq

    Member
    September 17, 2018 at 9:11 pm

    Hi,

    To be more clear -

    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.

    Hope this helps.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos