We have created the salesforce web tab and given an link URL to Visualforce page, page works fine. But we need this page without header. I tried with showheader=false but it didn't work.
How do we hide the salesforce header for this?
We have created the salesforce web tab and given an link URL to Visualforce page, page works fine. But we need this page without header. I tried with showheader=false but it didn't work.
How do we hide the salesforce header for this?
You need to create a Visualforce tab instead of web tab.
In web tab. Page load inside the body section so It will not hide the above header. It will only hide the loaded VF page header.
If you want to hide page Header then create Visualforce tab and select your visualforce page.
Thanks.
I found that showHeader="false" did not remove my header, perhaps this is a defect?
Therefore, I tried:
<apex:page showHeader="false" sidebar="false">
<iframe name="VisualForceLeads" src="/{your id here}?isdtp=mn" height="1000" width="100%"></iframe>
</apex:page>
and this approach removes the sidebar and the header immediately.