You need to sign in to do that
Don't have an account?
SFDCFun
Problem in accessing Account object details
Hi Developers,
I have one VF page and it consist following code.....
Code:-
<apex:page standardController="Account" showHeader="false">
<apex:pageBlock title="Hello {!$User.FirstName}">
You are viewing the {!account.name} account.
</apex:pageBlock>
<apex:detail/>
</apex:page>
But it will show output only as follows,,...
Output:-
Hello Rupam
You are viewing the account.
So how i get all output using this code.
Thanks & Regards,
SFDC Fun...!!!
Hi,
Looks like you are running this page with url something like:-
https://<salesforce domain>/apex/<pageName>
If you run page something like below with accountId, you will get desired result
https://<salesforce domain>/apex/<pageName>?id=<accountId>
Let me know if you have any questions!
Happy to help you!
Regards,
Digamber Prasad
Thank you very much...!!!!!!
If u run the visualforce page with pass Account id so then only display full details.
Ex: https://c.ap1.visual.force.com/apex/VFTest?id=0019000000PVRJb