function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Manju KrishnanManju Krishnan 

Populate detail page within a site.

Hi All,

I need a requirement to display all the information of the record simply exactly like in detail page within my site without hard code since the field count is out of control. But the fields, sections are different for recordtypes.Can anybody provide a solution? Thanks in advance.
SalesFORCE_enFORCErSalesFORCE_enFORCEr
Use <apex:detail>
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_detail.htm