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
jpizzalajpizzala 

WSDL ignores all fields not included in page layout

Since the introduction of the Winter '08 release, we have come across this peculiar situation. It seems that the WSDL (we are using the Enterprise WSDL) only includes fields that are displayed in the object's page layout. When fields that we want to completely remove from the page layout for all users (utility fields or other unimportant-to-the-user fields), but still want access to via the API so we may continue to associate the info with the object are not present in the page layout, we lose all ability to access them.

Here is the error I receive:
INVALID_FIELD: Field name provided, Custom_Field__c is not readable for Object__c

Is this a Winter '08 update? If so, why would this limitation be imposed now? Is this documented anywhere in the release notes? Is there any way to get around this so we may access all fields, not just the ones included in the page layout?

Thanks in advance!

Message Edited by jpizzala on 11-09-2007 04:09 PM

SuperfellSuperfell
This has always been the case for professional edition orgs because they don't have the FLS feature. What edition are you using ?
jpizzalajpizzala
That would explain it. The org we are coming across this problem with is on Professional, whereas our other integrations have been primarily Enterprise.

Thanks for the clarification.