0

The reference page here and the documentation here indicates that there are two new fields on the Contact object called GenderIdentity and Pronouns that should be available with v57 of the API. But using the SOAP API, if I make a call to describeSObjects for the Contact object at <url>/services/Soap/u/57.0:

<se:Envelope xmlns:se="http://schemas.xmlsoap.org/soap/envelope/">
    <se:Header xmlns:sfns="urn:partner.soap.sforce.com">
        <sfns:SessionHeader>
            <sessionId>XXX</sessionId>
        </sfns:SessionHeader>
        <sfns:CallOptions>
            <client>XXX</client>
        </sfns:CallOptions>
    </se:Header>
    <se:Body>
        <describeSObjects xmlns="urn:partner.soap.sforce.com" xmlns:ns1="sobject.partner.soap.sforce.com">
            <sObjectType>Contact</sObjectType>
        </describeSObjects>
    </se:Body>
</se:Envelope>

those fields are not returned. If I try to describe the schema using Apex by executing it in the Developer Console, I still don't see those fields returned. Why is that? We use the SOAP API for one of our products and we cannot access these fields that our customers see in Salesforce elsewhere. I don't see any other documentation indicating why this could be / how to fix it.

1
  • But, you see the fields in the UI/object manager? Mar 29, 2023 at 23:34

1 Answer 1

3

Despite being logged in as a System Administrator and seeing the fields under Object Manager, I had to go to my profile settings > Object Settings > Contact and enable access to the two fields. I realized this based on this article.

2
  • where do you find my profile settings > Object Settings
    – 2095377
    May 2, 2023 at 14:19
  • @2095377 under Setup > Users > Profiles > <my profile> > Object Settings
    – VMS
    May 4, 2023 at 19:49

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .