You need to sign in to do that
Don't have an account?
Yogesh Biyani
Find all the objects with lookup to contact
Hello All,
Is there a way to know which objects have the lookups to contact? So far, I have found following objects in our instance
Events
Quotes
Lead
CampaignMember
Case
ZendeskSupportTicket
Yogesh
Is there a way to know which objects have the lookups to contact? So far, I have found following objects in our instance
Events
Quotes
Lead
CampaignMember
Case
ZendeskSupportTicket
Yogesh
Use the above code in execute anonymous window
Since quite a few of our relationships are null, I am wondering if we can use dynamic SOQL to find all the relationships with NO values but I am running into quite a few of these errors.
Is there a better way to handle such errors so that the query works where possible and skip the rest?