Skip to main content

Hi Experts,

Is there a way to query the 'OwnerId' account standard field ID?

 

Thanks,

Gidi

 

#SOQL Queries  #SOQL Query

5 respostas
  1. 19 de set. de 2021, 09:52

    Hi Gidi,

     

    I don't think you can query for the field in SOQL - at least not from the FieldDefinition object (using the tooling API). However, you should be able to get the field information from Apex using the Schema namespace. Is there a specific reason you need it in SOQL, or can you create an Apex service to return these results?

0/9000