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
NikunjVadiNikunjVadi 

Error: Invalid field 'Opportunity.Contract' specified. Ensure that you use the full API name for any custom fields.

This is my code, i want to display account name of opportunity in my bootstrap page. i dont know why i am getting this error:

Error: Invalid field 'Opportunity.Contract' specified. Ensure that you use the full API name for any custom fields.
 
<!-- Visualforce Remote object coponent -->
<apex:remoteObjects >
<apex:remoteObjectModel name="Opportunity" jsShorthand="cont" fields="Name,Probability,CloseDate,Id,StageName,Contract">
</apex:remoteObjectModel>
</apex:remoteObjects>

thank you for your time.
MagulanDuraipandianMagulanDuraipandian
Check this - http://www.infallibletechie.com/p/certifications.html