When I using iframe, I got salesforce header and sidebar along with visualforce page?

  • 1
  • Problem
  • Updated 4 years ago
  • Solved
Hi All,

When I using iframe in skuid page to include visualforce page, I got salesforce header and sidebar along with visualforce page?

How can I remove header and side bar from it?

the visualforce page came from managed package.



Thanks
Shaik
Photo of Shaik

Shaik

  • 370 Points 250 badge 2x thumb

Posted 4 years ago

  • 1
Photo of Oliver Sinfield

Oliver Sinfield

  • 922 Points 500 badge 2x thumb
Use &isdtp=vw at the end of your iframe URL to not include the sidebar & header of visualforce pages.
Photo of Shaik

Shaik

  • 370 Points 250 badge 2x thumb
Thanks Oliver, You have given me a simple solution :)
(Edited)
Photo of Irvin Waldman

Irvin Waldman, Champion

  • 9,006 Points 5k badge 2x thumb
Alternatively, 
<apex:page controller="myController" showHeader="false" sidebar="false" readonly="true" docType="html-5.0">
Photo of Oliver Sinfield

Oliver Sinfield

  • 922 Points 500 badge 2x thumb
That'll work on pages you can edit, unfortunately the page in question is part of a managed package.
Photo of Shaik

Shaik

  • 370 Points 250 badge 2x thumb
Yes Oliver, Thanks Irvin for you reply, but here unfortunately we are using managed package Page.