You need to sign in to do that
Don't have an account?
Trick
Detail page not displaying,Do not understand,Help Please
Hi friends ,
I do not see detail page and its related lists when I run below given code.How do I see contact detail page and its related lists..I am specifying contactID in the URL Please help?
<apex:page standardcontroller="contact">
<apex:pageblock Title="hello{!$User.FirstName}!">
Hello {!$User.FirstName}
</apex:pageblock>
<apex:detail subject="{!contact.ownerid}" relatedList="true" title="false"/>
</apex:page>
I have tried with other objects such as account,contact,opportunity.But I am not able to access detail page.I have copied the opportunity URL .I do not see opportunity record.
I have pasted the recordID of opportunity in the below given URL.
https://c.na8.visual.force.com/apex/india?=006C000000ZSHIP
Is there something that I am missing.?
I have access to all the objects .I have tested with the below given statements
<apex:page standardController="opportunity"> <apex:pageBlock rendered="{!$ObjectType.opportunity.accessible}"> <p>This text will display if you can see the opportunity object.</p> </apex:pageBlock> <apex:pageBlock rendered="NOT({!$ObjectType.opportunity.accessible})"> <p>Sorry, but you cannot see the data because you do not have access to the opportunity object.</p> </apex:pageBlock></apex:page>
I got the solution, It was a silly mistake