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
ymnymn 

Error on PE edition - "SObject row was retrieved via SOQL without querying the requested field"

Hi

 

I develop a managed package which I test now on few SF editions.

There is a VisualPage which work fine on EE and Dev editions, while in PE edition I got the following error: "SObject row was retrieved via SOQL without querying the requested field..."

 

I know this error is happen when I do not add the field to the query, but in this situation I add it to the query and also I don't understand why the same package on the same page is works fine on EE edition but not on PE edition.

 

Yitzchak

 

Etherios DanEtherios Dan

 

Well DE and EE have the same objects. PE has a subset of those objects. Does your page use Workflow & approval automation, Sales teams or Territories? Than that would be my guess. 

 

 

Dan Grandquist
Etherios - Technical Architec

 

 

 

ymnymn

No, the page include only custom object.

The problem that I found is that I have no access to hidden fields (field that are not visible in the page layout) in PE. 

I add the field to the page layout and then, no problem in PE. But I need these fields stay hidden - I don't want to show them to the user.

 

Yitzchak