Explanation of error messages

Prev Next

An error occurred while working on a Visual Force page?

Don't worry, below you'll find an explanation of this error and how to deal with it.

When saving the Visualforce page

Message: SObject row was retrieved via SOQL without querying the requested field.

Explanation: This message may have several causes.
It is possible that a character in your code is not accepted by the platform. A frequent occurrence is the " >" character.

How to process this message:
Replace the " > "with " != " .

How to avoid this problem in the future: It's difficult to anticipate this kind of error. We're going to improve this article to guide you through some regularly occurring mistakes.