+ Start a Discussion
sudheer2566sudheer2566 

Challenge not yet complete... here's what's wrong: The page does not include a bound owner's email variable for the Contact record

hi guys,
help me out in using standard controllers in vf trailhead getting a error of
Challenge not yet complete... here's what's wrong: 
The page does not include a bound owner's email variable for the Contact record
cheers...
SonamSonam (Salesforce Developers) 
The challenge has a step where you need to have owner's email address in the data table :The table component must have a apex:column component bound to the contact Email.

can you confirm you have that in the Visualforce page?
AmazonAmazon
I am also getting the same error as other user reported. Can you pls help wht's wrong with the below code.

<apex:page standardController="Contact">
    <apex:pageBlock title="Contact Details">
    <apex:pageBlockSection>
        Contact First Name: {!Contact.FirstName} <br/>
        Contact Last Name: {!Contact.LastName} <br/>
        Contact E-Mail Address: {!Contact.Email} <br/>
    </apex:pageBlockSection>
        
    </apex:pageBlock>
</apex:page>
Moovendhan ElanchezhiyanMoovendhan Elanchezhiyan
https://developer.salesforce.com/forums/?id=906F0000000BQZQIA4
Andrew EversleyAndrew Eversley
Moovendhan, thanks for the link, that halped me with my challenge. 
Merajul HasanMerajul Hasan
In third step you have to display the email of contact's owner email not the contact's email. Pleas try this.
Contact First Name: {!Contact.FirstName} <br/>
Contact Last Name: {!Contact.LastName} <br/>
Contact E-Mail Address: {!Contact.owner.Email} <br/>
Amy FordAmy Ford
This was very helpful. The exercise was not clear on this.
Pavan Kumar 790Pavan Kumar 790
Thank you!
Raviteja KongaraRaviteja Kongara
Thank You
Saket Ranjan 3Saket Ranjan 3
i wrote the below code.The particular challange got cmpleted but unfortunately there were no output (firstname ,last name and email )in the preview.
code:
<apex:page standardController="Contact" >
    <apex:pageBlock>
    <apex:pageBlockSection>
        Contact First Name: {!Contact.FirstName} <br/>
        Contact Last Name: {!Contact.LastName} <br/>
        Contact E-Mail Address: {!Contact.owner.Email} <br/>
    </apex:pageBlockSection>
    </apex:pageBlock>
</apex:page>

output:
Contact First Name:
Contact Last Name:
Contact E-Mail Address:
pramod pallewadpramod pallewad
@Sanket you should pass contact id in URL to show all the information.
Joita MondalJoita Mondal
Try these....

<apex:page standardController="Contact" >
    <apex:pageBlock>
    <apex:pageBlockSection>
        First Name:{!Contact.FirstName}<br/>
        Last Name:{!Contact.LastName}<br/>
        Email:{!Contact.Owner.Email}<br/>
        
        </apex:pageBlockSection>
    </apex:pageBlock>
</apex:page>