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
protogeekprotogeek 

WSDL excludes fields even with View All Data?

When I download the WSDL as a user with View All Data (and Modify All Data), it's excluding fields and objects that are not marked specifically as Visible (in Field-level security) for that user's profile. Am I missing something? I thought that the whole point of View All Data was that the user has access to everything. If I have to go through and mark every field of every object as Visible for that profile then doesn't that defeat the purpose of View All Data? I want to make sure I'm not missing something before I take the time to go through every single field of every single object.

protogeekprotogeek

I figured this out for myself. View All Data bypasses sharing rules, so you can see all records regardless of sharing. It does not, however, bypass field-level access.