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
Aasif.K1982Aasif.K1982 

Remove Externally Shared Message - Salesforce to Salesforce

Hi,
How can we remove the Salesforce to Salesforce connection message "This Account is externally shared" or "This Opportunity is externally shared" from the detail pages?

Thanks,
Asif
 
Best Answer chosen by Aasif.K1982
Aasif.K1982Aasif.K1982
Found solution for this.
The record on which this message is being shown has to be unshared from the Source Org.
Unsharing can be done by deleting the entry corresponding to this record in PartnerNetworkRecordConnection object.