You need to sign in to do that
Don't have an account?
visulaforce
error in visualforce page compilation
Hi,
I am creating a visualforce page. m trying to display contact for particular account. but it's throwing compilation error. please check.......
error is :
Error: Invalid field 'contacts' for SObject 'Account'.
and code 4 visualforce page is:
<apex:page standardController="Account">
<apex:pageBlock title="Hello {!$User.FirstName}!">
This is {!account.name} account. <p/>
</apex:pageBlock>
<apex:pageBlock title="Contact Detail">
<apex:pageBlockList value="{!Account.Contacts}" var="contact1">
<apex:column value="{!contact1.Name}"/>
</apex:pageBlockList>
</apex:pageBlock>
</apex:page>
visulaforce
no i am using Account standard controller as u can see in code
dchasman
I believe your user's profile does not have access to Contacts which would be required to be able to save/create this page.
visulaforce
tahnks, it worked .that was profile related issue.