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
Devi Sree 6Devi Sree 6 

Data not being retrived into preview window even after adding id of the record.

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
Nayana KNayana K
Problem is in the URL. Query string params should be separated by '&'

apex/CreateContact/core.apexpages.request.devconsole=1&id=003....

 
Devi Sree 6Devi Sree 6
Thank you .Nayana.
Nayana KNayana K
Please mark this as solved