You need to sign in to do that
Don't have an account?

describeSObjects describeSObject missing / not returning all fields
I'm trying to map a field using the API however the results from describeSObject does not return all of the fields.
my c# code...
Code:
apex.DescribeSObjectResult[] describeSObjectResults = binding.describeSObjects(new string[] {"Case"}); for (int x = 0; x < describeSObjectResults.Length; x++) { apex.DescribeSObjectResult describeSObjectResult = describeSObjectResults[x]; // Retrieve fields from the results apex.Field[] fields = describeSObjectResult.fields; // Get the name of the object String objectName = describeSObjectResult.name; // Get some flags bool isActivateable = describeSObjectResult.activateable; // Many other values are accessible if (fields != null) { // Iterate through the fields to get properties for each field for (int i = 0; i < fields.Length; i++) { apex.Field field = fields[i]; } } }
I copied it from the describeSObjects() online refrence.
This example is on the "case" object and the field that is missing is "Internal Comments" Text Area(4000) .
This is on a developer account and im using the partner WSDL.
thanks in advance!
All Answers