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
Liam JonesLiam Jones 

Navigate from one Salesforce Org to another seamlessly (or view data from one org within another)

Hi,
What would be the best approaches to navigating from one Org to another or viewing data from one org to another.

scenario;
2 orgs containing Accounts and Contacts (some of which are present in both orgs). I want to only have Opportunity data in one of the orgs (Org A) - but when I am in Org B I would like to be able to view Opportunity data against the Account in that Org (Org B), and when I create an Opporunity it does it in Org A 

Most important part - it respects the permissions of the users in each org.

Would a Lightning Out component accomplish this?
 
manasa udupimanasa udupi
Hi Liam,

You could try Salesforce to Salesforce to accomplish this:)
here is the document to implement it: https://help.salesforce.com/articleView?id=business_network_intro.htm&type=5

Hope it helps:)
Liam JonesLiam Jones
Hi - I thought SF Connect may not be ideal - as we want to respect the security of the org we are pulling from. 

So a User in Org A will managed Contacts and Accounts in Org A - but view Opportunity data in Org B. Opportunities will be shared in Org B via apex managed sharing. If it's an external object it won't have any context of the sharing model. 

I don't think Lightning Out would either?
manasa udupimanasa udupi
Hi Liam,

Salesforce to Salesforce let you control the object and fields that you want to publish with a user in another org. 
Here is a comparision between SF Connector and Salesforce to Salesforce : https://help.salesforce.com/articleView?id=000220312&type=1