function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
brhuntbrhunt 

When using the API to read Opportunity records, can I tell if the Opportunity is Externally Shared?

Hello,

 

I would like to be able to select Opportunity records based on whether the records are or are not Externally Shared.

 

I thought that I would be able to use the ConnectionSendId, but I see that field has been deprecated.

 

I don't see a Relationship field for the PartnerNetworkRecordConnection table, so I assume that a relationship query is out.

 

Do I have to read each record and then do a separate lookup in the PNRC table to see if a record exists?

 

Thanks.

 

Bryan Hunt