+ Start a Discussion
mariappangomathirajmariappangomathiraj 

Section Header Names Didn't display in View Page?

I used <apex:detail>  tag to display my account View and edit page...In page layout I tick both (Display Section Header On option in Section properties)Detail Page and Edit Page option in section properties.... I added Account fields and section header fields in page layout.... I view the page " header Section names not display in the view page" but I am editing  the page the header section names are displayed... Can I possible to display section header names in view page?

HariDineshHariDinesh

Hi,

 

Can you give the VFP code that you have written..?

Rahul SharmaRahul Sharma

Hi mariappangomathiraj,

 

I think you might need to add <apex:sectionHeader> tag in your visualforce page along with <apex:detail>

mariappangomathirajmariappangomathiraj

<apex:pageBlock >
<apex:detail subject="{!Account.Id}" relatedList="false" title="true" inlineEdit="false"/>
</apex:pageBlock>

HariDineshHariDinesh

Hi,

I implemented the code in my org, and didn’t find any problem with the code.

What I have done:

1)      Created a VF page with the give code

2)      Pass One account id as parameter in URL(?id=Accountid)

Find the images that display the detail page of account.

(Here Attribute “Title” in Detail component is to display the Title Bar Section or not.)