You need to sign in to do that
Don't have an account?
Pavan Trail
Doubt
Create a page which displays a subset of Opportunity fields using apex:outputField components. Bind the Name, Amount, Close Date and Account Name fields to the apex:outputField components.The page must be named 'OppView'.
It must reference the Opportunity standard controller.
It must have an apex:outputField component bound to the Opportunity Name.
It must have an apex:outputField component bound to the Opportunity Amount.
It must have an apex:outputField component bound to the Opportunity Close Date.
It must have an apex:outputField component bound to the Account Name of the Opportunity.
for the above task i am trying with the below ccode and its getting an error. Please suggest me the code to execute.
apex:page Standard Controller = "StandardController"/>
<apex:pageBlock title= "output details">
<apex:pageBlockSection>
<apex:outputField value="{! Oppurtunity.Name }"/>
<apex:outputField value="{! Oppurtunity.Amount }"/>
<apex:outputField value="{! Oppurtunity.Closedate }"/>
<apex:outputField value="{! Oppurtunity.Account.name }"/>
</apex:pageBlockSection>
</apex:pageBlock>
</apex:page>
It must reference the Opportunity standard controller.
It must have an apex:outputField component bound to the Opportunity Name.
It must have an apex:outputField component bound to the Opportunity Amount.
It must have an apex:outputField component bound to the Opportunity Close Date.
It must have an apex:outputField component bound to the Account Name of the Opportunity.
for the above task i am trying with the below ccode and its getting an error. Please suggest me the code to execute.
apex:page Standard Controller = "StandardController"/>
<apex:pageBlock title= "output details">
<apex:pageBlockSection>
<apex:outputField value="{! Oppurtunity.Name }"/>
<apex:outputField value="{! Oppurtunity.Amount }"/>
<apex:outputField value="{! Oppurtunity.Closedate }"/>
<apex:outputField value="{! Oppurtunity.Account.name }"/>
</apex:pageBlockSection>
</apex:pageBlock>
</apex:page>
Thanks
Jeff Douglas
Trailhead Developer Advocate
Below code will work for you.
<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>
Thank you,
Shaik
If your install continues to fail, contact Salesforce CRM Support through your normal channels and provide the following information.
Organization: Invetech Solutions (00D7F000001ceLb)
User: Anish Kumar (0057F000000vMQW)
Package: Warehouse (04tA0000000ALX1)
Problem:
1. Apex Classes(classes/FindNearbyExt.cls) Missing feature
Installing this package requires the following feature and its associated permissions: Apex Classes
What is the solution of this problem.Please reply fast I need to resolve it very fast