Is there a way to change the showHeader attribute in tag using javascript ? I have a VF page that I want to show headers if accessed outside the console but in a console I want it without the headers and sidebar.
Take the 2-minute tour
×
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.
I think you have 2 options here. The first one is to use purely javascript.
Your second option is to do that directly into your controller itself.
|
|||
|
can you do something like below?
I think, you don't have to do any extra processing on the page..this will automatically take care of displaying header or not when in console. |
|||
|