About this question
Don’t know how exactly link records for Salesforce-to-Salesforce?
Don’t know how exactly link records for Salesforce-to-Salesforce?
Log in to share your answer and help other learners.
Log in to answerBest Answer · By JanBask Salesforce Expert
Answered on Apr 23, 2021
My Salesforce-to-Salesforce set up and working (with automatic sharing etc). It works great for go-forward records. and struggling to find out how to deal with existing records that exist in both orgs. As an example, if I spin up 2 brand new Dev orgs and connect them with Salesforce-to-Salesforce, I end up with duplicate "Edge Communications" in the Partner org. I want them to be the same (not looking for real-time fuzzy matching, I'm ok doing the work of linking them individually)
How can I manually link the 2 accounts together? I'm looking at the PartnerNetworkRecordConnection docs and see that there is PartnerRecordId, though this field is not writeable.
A bit of background We have an old crusty Salesforce org with a bunch of complex integrations set up. We are building a nice new shiny org that we want to be the go-forward place to do things. As part of our migration plan, there will be a period of time where Sales will be working in the shiny new place and we can't just move over the integrations, thus S2S to push over just what the integrations need in the interim. To make this work, I think we will export from the crusty org all the data, and import into the new shiny org the cleaned-up data. We can maintain relationships as needed etc to help with the problem I have posted about.
Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.
Step-by-step Salesforce guides from industry experts
Common Salesforce interview questions, answered
Guides, tips and career advice on Salesforce from JanBask experts.
Salesforce How to Prepare for Salesforce Developer Certification: A Practical Guide
A step-by-step guide to Salesforce Developer certification - what to study for PD1, how PD2 fits in, and how to know you're ready…
Salesforce Salesforce Developer Certification Guide: Everything You Need to Know in 2026
Learn about Salesforce Developer Certification, including exam requirements, cost, topics, preparation time, retakes, and career…
Salesforce How to Prepare for Salesforce Admin Certification: A Practical Study Guide
Get a practical study plan for the Salesforce Admin exam - weighting by section, how to use Trailhead effectively, and how to…
Salesforce Salesforce Developer Salary Guide: How much you can earn
Discover the real Salesforce developer salary in 2026 by experience, location, skills & certifications. See what actually boosts…