• Devi Sree 6
  • NEWBIE
  • 0 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 1
    Replies
My code does not have any problems.But  data is not being displayed in the preview window except the lables.Challenge has been passed.



<apex:page standardController="Opportunity">
   <apex:pageBlock title="Opportunity  Details">
    <apex:pageBlockSection>
        <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> 
User-added image
My code does not have any problems.But  data is not being displayed in the preview window except the lables.Challenge has been passed.



<apex:page standardController="Opportunity">
   <apex:pageBlock title="Opportunity  Details">
    <apex:pageBlockSection>
        <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>
My code does not have any problems.But  data is not being displayed in the preview window except the lables.Challenge has been passed.



<apex:page standardController="Opportunity">
   <apex:pageBlock title="Opportunity  Details">
    <apex:pageBlockSection>
        <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> 
User-added image