+ Start a Discussion
James (CloudAnswers)James (CloudAnswers) 

Related list in describe call contains deleted fields

I am having a problem with some responses returned from the API when I delete fields.  API describe responses for page layouts are not consistent if a field on a related-list object was deleted.

Possible way to recreate:

Create custom field "TESTING" as text on contact.  Add the TESTING field to the account detail page related list for contact.  Delete the field from contact.

At this point the page layout returned in the account describe call still includes the TESTING field in the contact related list.

 

This is a problem because I would like to query the data based on the page layout but the query fails because the field does not exist.