Sunday, 7 April 2013

How to display a salesforce page without headers

For VF, its simple, you just specify the showheader="false".But suppose you want to display a report on your VF, and you don't want the header and sidebar to appear.


 Just use the parameter isdtp=mn or isdtp=vw in the url parameter

Example :
<apex:iframe src="http://www.salesforce.com?isdtp=vw" 
scrolling="true" id="theIframe"/>

No comments:

Post a Comment