In
Controller extension, you are getting the error “SObject row was retrieved via
SOQL without querying the requested field” while accessing the field of parent
Custom Object or standard Object for which the Controller extension was
written. How to resolve that
In Constructor of the
Controller extension, only Id of Custom Object is supplied. We need to query
all the required field explicitly in order to use in remaining part of the
code.
No comments:
Post a Comment