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
ITENG.SUMANITENG.SUMAN 

Detail tag is not working

Hello guys 
can you please solve my problem, I'm not able get <apex:detail/> tag properly, It is not working and here my code is :
<apex:page standardController="Account" >
<apex:pageBlock title="Account Info">
    <apex:pageblockSection title="Details">
    
         <apex:detail /> 
       </apex:pageblockSection>
</apex:pageBlock>
 </apex:page>
Thx in advnce
Best Answer chosen by ITENG.SUMAN
AshlekhAshlekh
Hi,
I think you are not passing the id of the Account record in URL like below.

https:<Your Instance>/apex/<apexPageName?id=<AccountRecordId>

-Thanks
Ashlekh Gera

All Answers

AshlekhAshlekh
Hi,
I think you are not passing the id of the Account record in URL like below.

https:<Your Instance>/apex/<apexPageName?id=<AccountRecordId>

-Thanks
Ashlekh Gera
This was selected as the best answer
ITENG.SUMANITENG.SUMAN
Thanks! It works