You need to sign in to do that
Don't have an account?

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...
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...
can you confirm you have that in the Visualforce page?
<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>
Contact First Name: {!Contact.FirstName} <br/>
Contact Last Name: {!Contact.LastName} <br/>
Contact E-Mail Address: {!Contact.owner.Email} <br/>
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:
<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>
Thankyou!!!