Print this page

Override header section on a page layout with a VF page

Knowledge Article Number 000212171
Description This article explains how to override the header section on a page layout.
Resolution We can override the header section on a page layout using Visualforce page. An example for the header section is shown below:
Note: This is just an example. Please modify and test it according to your need. 
 
<apex:page standardController="Opportunity" tabStyle="Opportunity" sidebar="false">
    <apex:sectionHeader title="One of Your Opportunities" subtitle="Exciting !"/>
    <apex:detail subject="{!opportunity.ownerId}" relatedList="false" title="false"/>
</apex:page>


 




promote demote