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
Robbie Schaap 2Robbie Schaap 2 

Field not available in FieldPermissions Object

For my client I want to create an overview of which profile can see which field of all objects. The client has an extensive datamodel. To do this, I execute several queries via the workbench. One query is extracting all fields from the FieldPermissions Object:

SELECT Field,Id,ParentId,PermissionsEdit,PermissionsRead,SobjectType FROM FieldPermissions

For the majority of the objects everything is exported. For a couple of objects i miss custom fields in this export. Although all fields of that object can be read by everyone (flag is on on all profiles), the field is not in the FieldPersmissions table when I query via the workbench as an administrator.

Does anyone has an idea on why this is the case?