You need to sign in to do that
Don't have an account?
Visualforce Page reference to Salesforce webpage: Remove SF Header, Sidebar, Footer?
Hi,
I have a custom object that I want it's master's Contact list (custom object master is Accounts) to appear on a VF page. I know how to get the webpage to appear in the visualforce page, but how to I get only the Contact related list, that shows in the browser after you click "Go To List", to appear (without sidebars, headers, tabs, footers, etc.)?
I have this:
<apex:page standardController="Training__c"> <apex:iframe src="/003?rlid=RelatedContactList&id={!Training__c.AccountID__c}" scrolling="true" id="theIframe"/> </apex:page>
Which appears as the whole webpage, but I want it to display just the related list, without the salesforce headers, without the tabs, without the sidebar, without the footer.... just the table with the list.
How do I adjust my VFP to appear as I want?
Its interesting what you can do is pass a URL parameter to iframe. by adding isdtp=vw . This works with standard pages and removes the header and sidebar.
All Answers
Its interesting what you can do is pass a URL parameter to iframe. by adding isdtp=vw . This works with standard pages and removes the header and sidebar.
Best Answer by Avidev9:
Solution below: