You need to sign in to do that
Don't have an account?
Gurpreet Singh Sandhu
VF Error for Trailhead Challenege: Display Records, Fields, and Tables
Hello,
I am getting below error while submitting the Trailhead challenge for verification:
The page does not include a apex:outputField component bound to the opportunity amount
Please advise.
Thank you,
Guru
Here is the code I am submitting:
<apex:page standardController="Opportunity">
<apex:pageBlock title="opportunities list">
<apex:pageBlockSection title="opportunities main" >
<apex:outputField value="{! Opportunity.Name }"/>
<apex:outputField value="{! Opportunity.Amount }"/>
<apex:outputField value="{! Opportunity.CloseDate }"/>
<apex:outputField value="{! Opportunity.Account.Name }"/>
</apex:pageBlockSection>
</apex:pageBlock>
</apex:page>
I am getting below error while submitting the Trailhead challenge for verification:
The page does not include a apex:outputField component bound to the opportunity amount
Please advise.
Thank you,
Guru
Here is the code I am submitting:
<apex:page standardController="Opportunity">
<apex:pageBlock title="opportunities list">
<apex:pageBlockSection title="opportunities main" >
<apex:outputField value="{! Opportunity.Name }"/>
<apex:outputField value="{! Opportunity.Amount }"/>
<apex:outputField value="{! Opportunity.CloseDate }"/>
<apex:outputField value="{! Opportunity.Account.Name }"/>
</apex:pageBlockSection>
</apex:pageBlock>
</apex:page>
I tried the same code but it's not showing any error. It is saved successfully and it showed the below page.
So can you please try agin or else elaborate your query.
Thank You,
www.nubeselite.com
Development | Training | Consulting
Please mark this as solution if your problem is solved.
Greetings to you!
I have gone through your query.
Please try below link for solution:
1. https://www.youtube.com/watch?v=Qmu4-ipt42A&feature=player_embedded
2. https://developer.salesforce.com/forums/?id=906F0000000BUGoIAO
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks and Regards,
Deepali Kulshrestha
www.kdeepali.com
I had to contact the Salesforce support and they have fixed the issue. However, they did not mention the resolution and the root cause. Thanks again!
Guru