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
Saravanan @CreationSaravanan @Creation 

Could not resolve the entity from <apex:outputFieldvalue binding '{!AAA__c.BBB__r.XXX__c}

Hi Team,

 

Below line i am getting the error,

 


Error: Could not resolve the entity from <apex:outputField> value binding '{!AAA__c.BBB__r.XXX__c} <apex:outputField> can only be used with SObjects, or objects that are Visualforce field component resolvable.

 

<apex:outputField value="{!AAA__c.BBB__r.XXX__c}" />

 

Actually this same code is working in sandbox
but not in production .

 

pls give me some solution.

 

digamber.prasaddigamber.prasad

Hi,

 

Could you please validate if relationship name "BBB__r" is same on both sandbox & production?

 

 

Saravanan @CreationSaravanan @Creation

hi ,

 

Thanks for your reply .

.

Both are same only . And one more thing Standard controller getRecord method is not working properly