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
RuchieRuchie 

can I automate the sharing of records through Salesforce to Salesforce?

Hi All,

We can auto accept the records from an org, this is a new feature in summer'09. What if i want to forward the newly created account records automatically. Is there a way out, through which we can access the External sharing object and forward the records automatically, as soon as it gets created. 

 

Please help,

Thanks

Will MoxleyWill Moxley
Yes you can do this via the API. There are APIs to share a record.  So you could write an APEX trigger that based on certain criteria will automatically share the record out to another company.  A lot of Salesforce to Salesforce customers are now starting to leverage the API.