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
Mohammed Tareque ShaikhMohammed Tareque Shaikh 

Unknown property 'AccountStandardController.contact' ERROR

<apex:page standardController="Account">
    <apex:form>    
    <apex:pageBlock title="Edit Account">
        <apex:pageMessages/>
        <apex:pageBlockSection columns="2">
            <apex:inputField value="{!Account.owner.name}"/>
            <apex:inputField value="{!Account.name}"/>  
            <apex:inputField value="{!Account.Parentid}"/>
            <apex:inputField value="{!Account.AccountNumber}"/>
            <apex:inputField value="{!Account.Site}"/>
            <apex:inputField value="{!Account.Type}"/>
            <apex:inputField value="{!Account.Industry}"/>
            <apex:inputField value="{!Account.Rating}"/>
            <apex:inputField value="{!Account.Phone}"/>
            <apex:inputField value="{!Account.Fax}"/>
            <apex:inputField value="{!Account.Website}"/>
            <apex:inputField value="{!Account.TickerSymbol}"/>
            <apex:inputField value="{!Account.Ownership}"/>
            <apex:inputField value="{!Account.NumberOfEmployees}"/>
            <apex:inputField value="{!Account.Sic}"/>
        </apex:pageBlockSection>
        <apex:pageBlockButtons>
            <apex:commandButton action="{!save}" value="Save"/>        
        </apex:pageBlockButtons>          
    </apex:pageBlock>
   </apex:form>       

    <apex:pageBlock title="Contacts">
        <apex:pageBlockSection title="Related Lists">
                 <apex:pageBlockTable value="{!Account.Contacts}" var="Contact" >
                     <apex:column>
                         <apex:outputLink value="{!URLFOR($Action.Contact.Edit, contact.Id)}">
                             Edit
                         </apex:outputLink>
                     &nbsp;
                        <apex:outputLink value="{!($Action.Contact.Delete, contact.Id)}">
                             Delete
                         </apex:outputLink>
                     </apex:column>
                     <apex:column value="{!Contact.Name}"/>  
                     <apex:column value="{!Contact.Email}"/>
                     <apex:column value="{!Contact.Title}"/>
                     <apex:column Value="{!Contact.Phone}"/>
                 </apex:pageBlockTable>            
         </apex:pageBlockSection>
    </apex:pageBlock>

</apex:page>



I have created a page for a account and its related list. Related list will have a link for edit and delete contact also. But  I am facing an error can you please help me to resolve this error.
The error is: Unknown property 'AccountStandardController.contact'
Agustin BAgustin B
Hi Mohammed try changing the var='Contact' to other name like var='con'
If it helps you please mark this answer as correct, it may help others.
SSP AdminSSP Admin
Hello Mohammed

It looks like our team of experts can help you resolve this ticket. We have Salesforce global help-desk support and you can log a case and our Customer Success Agents will help you solve this issue. You can also speak to them on live chat. Click on the below link to contact our help-desk. Trust me it is a support service that we are offering for free!

https://jbshelpdesk.secure.force.com

Thanks,
Jarvis SFDC team
Mohammed Tareque ShaikhMohammed Tareque Shaikh
Hi Agustin,

I have tried which u suggested, but still facing the same error.