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
Rupali PophaliyaRupali Pophaliya 

<apex:detail> not working for Person Account on Force.com site

Hi, 

We are trying to show details of Person Account on force.com site by using standard Account controller and <apex:detail> tag on Visualforce page. We are using person accounts in our org. But the page does not show any information if we provide Person Account record Id. It works as expected with normal business account. Following is the code that we are trying to use on my VF page.
 
<apex:page standardController="Account" cache="False" showChat="False" showHeader="False" sidebar="False">
Pankaj_GanwaniPankaj_Ganwani
Hi Rupali,

Just check whether perosn account record type is assigned to the profile of Force.com site user? If it is not assigned, then assign it to profile first and then check

Thanks,
Pankaj