Questions tagged [salesforce2salesforce]
Salesforce to Salesforce (also referred to as Salesforce2Salesforce or S2S) is a point-and-click integration tool that allows you to sync and replicate data between two orgs for custom objects and some standard objects.
115 questions
2
votes
1
answer
820
views
Apex Class Unit Test for PartnerNetworkConnection and PartnerNetworkRecordConnection without SeeAllData=true
Is there a way to create unit testing for PartnerNetworkConnection and PartnerNetworkRecordConnection without using live data(SeeAllData=true)?
I've been having a lot of issues trying to deploy S2S ...
0
votes
0
answers
38
views
S2S Connection in Pending Stuck, but only for certain contact records
I have an S2S Connection set up between two orgs, org A and org B.
As part of setting up org B, there are some contacts that we need to manually send from org A to org B. Every so often, this sync ...
1
vote
0
answers
67
views
How to implement salesforce in my hotel businesses [closed]
I run multiples hotel in different locations, Bali, Ibiza and Marrakesh, each hotel have a website, how to optimize salesforce in my processes work and what task i need to organize for my team in the ...
2
votes
3
answers
3k
views
Salesforce Lead not created and Lead Id not returned when using Rest API?
Hi guys i have been using salesforce Rest Api for logging and now i wanted to create lead using access token that is returned to me by the Login call. But when i try to create the lead using the ...
1
vote
0
answers
46
views
Forwarding accounts back to the source org
I've found an odd behavior when studying about Salesforce to Salesforce Integration.
Dunder Mifflin and Vance Refrigeration mutually publish and subscribe to Accounts from each other. They both are ...
17
votes
5
answers
27k
views
can we check if a key exists in a map in vf page
is it possible to check for a specific key in a map i.e., whether it exists or not in VISUALFORCE page?
Based on this i need to render a pageblocktable.
2
votes
1
answer
852
views
Is Salesforce to Salesforce a good choice for a new project?
Just watched a Jitendra Zaa YouTube video from 2 years ago Salesforce to Salesforce Connection within 10 Minutes. Having to use Classic to access the Setup for this is a bit discouraging, and at 8:30 ...
1
vote
1
answer
134
views
How to manually link existing records for Saleforce-to-Salesforce
I have Salesforce-to-Salesforce set up and working (with automatic sharing etc). It works great for go-forward records.
I'm struggling to find out how to deal with existing records that exist in both ...
0
votes
1
answer
30
views
Does Einstein work with Salesforce 2 Salesforce?
We have three different Salesforce instances in our organization. If we implement Salesforce 2 Salesforce and bring in all the data in one chosen instance, will Einstein work to show the reports from ...
2
votes
1
answer
263
views
What is preferable choice for integration: Salesforce to Salesforce or MiddleWare tool?
If there are two companies which use the same Order data and the data is created in company A and then the Order data should be sent to company B, should Salesforce to Salesforce integration be used ...
9
votes
3
answers
2k
views
Session expired or invalid
I am trying to build Salesforce to Salesforce integration using Named Credentials.
Followed steps from below blog.
http://www.jitendrazaa.com/blog/salesforce/salesforce-to-salesforce-integration-...
0
votes
1
answer
975
views
Which tool to use for updating 10,000 records in salesforce in single transaction
I have a set up where an external integration will bring 10,000 records at a time into my salesforce org (update transaction, not insert). I need to test if my triggers, S2S connection (which updates ...
0
votes
1
answer
950
views
Time delay @future method - need delay for recurring batch process to complete
I have the following requirement and am looking for advice for the best way to process it.
We have multiple orgs linked to each other via S2S, with batch jobs running every 10min to pass updates ...
1
vote
1
answer
975
views
salesforce to salesforce using partner wsdl in Apex - query call failing
I am trying to connect to other salesforce org.
I have partner wsdl. I have used FuseIT SFDC explorer to create Apex class from this partner wsdl.
I am successfully able to login to other SF org using ...
-1
votes
2
answers
552
views
Trigger to forward related account with Opportunity in s2s
Right now I am using the below trigger to forward an Opportunity via Salesforce2Salesforce. Is it possible to transfer related account along with it?
Trigger Description:
Whenever ...
2
votes
1
answer
553
views
Does Salesforce2Salesforce Support Delete?
I am exploring a Salesforce2Salesforce integration. Insert, update seems to be working properly between the Org but when a record gets deleted in the parent org, the same is not getting Synced with ...
2
votes
1
answer
382
views
How can we know which records are forwarded using salesforce to salesforce at each record level
We have forwarded records using salesforce to salesforce concept it was done well . Here we need to know which records are forwarded . we tried by using workflow with the condition making "sent ...
4
votes
0
answers
153
views
sharing files through s2s connector
We have S2S connection establishment between two salesforce instances and its working fine without any issues.
In this S2S connection, we have a process to share the related records whenever we share ...
4
votes
1
answer
433
views
Salesforce to Salesforce Record Transfer Limits?
Does anyone know of any limits on the number of records (daily) transfered/updated between orgs?
My google foo has failed me and I do not see anything specifically related to this. While I would love ...
0
votes
2
answers
3k
views
How to programatically share a record in S2S
I have established a connection between two salesforce org using S2S - https://developer.salesforce.com/page/An_Introduction_to_Salesforce_to_Salesforce
I am trying to use a programatic approach to ...
1
vote
2
answers
728
views
S2S File Transfer
I have a use case to transfer files through a salesforce to salesforce connection. I cannot seem to find any documentation that states whether or not it is possible. I have basically looking for some ...
0
votes
0
answers
264
views
Salesforce to Salesforce (S2S) issue in sharing related records
I am new in Salesforce to Salesforce (S2S).
I am trying to achieve a concept of share one record from one org with its related record.
I am trying to share Account record with its related "Line ...
0
votes
1
answer
670
views
Using Salesforce to Salesforce Connection to update object & Fields
I am connecting two salesforce org using salesforce to salesforce connection - https://developer.salesforce.com/page/An_Introduction_to_Salesforce_to_Salesforce
For this I have published an object ...
1
vote
0
answers
2k
views
How Much does it cost to buy Cross-Org Adapter for Salesforce Connect for Unlimited Edition [closed]
We are considering replacing Salesforce to Salesforce usage by Cross-Org Adapter for Salesforce Connect and use it for other cases.
It is provided for free in Developer Edition but in client ...
1
vote
0
answers
87
views
Salesforce to Salesforce with Duplicate Management: How to detect duplicate lead error?
I have S2S set up between two SF orgs (Source and Target). When a lead is created in the Source org then S2S creates it in the Target org.
However, the Target org has Duplicate Management set up so ...
0
votes
1
answer
79
views
S2S picklist value missing on publish
We have an issue in our S2S connection. Our source org has published the PicklistField1, that contains Value1, Value2, Value3. Target org admin has reported that he has successfully subscribed to the ...
0
votes
0
answers
165
views
S2S: INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY error when attempting to sync Notes and Attachments
I have S2S set up between 2 sandboxes. I'm successfully sharing opportunities between them.
However, I then added notes and attachments to the sync:
newConnection = new ...
0
votes
1
answer
56
views
Is it possible to prevent a Case from being forwarded to a S2S connection by looking at a specific field on the Case?
We would like to set up a S2S connection to publish Cases to another org. But we only want cases with the custom field, Client Type = 'TypeA' to be sent. How can we prevent a user forwarding cases ...
2
votes
2
answers
132
views
Salesforce 2 Salesforce changes made on target are not being updated on the source? Suggestions?
I'm trying to set up a proof-of-concept for using Salesforce to Salesforce to permit access to a subsidiary's SF instance (Accounts, Contacts etc.) within my company's SF instance. I've set up ...
1
vote
2
answers
438
views
List has more than 1 row for assignment to SObject while autoforwarding objects using S2S [duplicate]
I am trying to implement S2S (Salesforce to salesforce) And I have written a code on Custom object called "ABC" to allow auto forwarding of records. After making the trigger active, I cannot manually ...
0
votes
1
answer
335
views
Salesforce 2 Salesforce Picklist fields
I'm unable to transfer a picklist field between 2 orgs using S2S.
I added a formula field and in the formula
TEXT(CustomPicklistfield__c)
The formula works beautifully in the source Org.
But when ...
0
votes
1
answer
203
views
How to enable/see Org Sync Log tab in Salesforce
I am trying to figure out how I can see Org Sync Log tab in Salesforce - https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_partnernetworksynclog.htm
I have a ...
0
votes
2
answers
42
views
Search in all Production Orgs at once and Display in one single org
I have an urgent requirement, my client has 3 Production orgs due to the versatility of business, sales users search for an account name eg: 'Johns Garage' in one Production org, users should be able ...
6
votes
1
answer
978
views
S2S: Trigger not firing on insert of new record?
When S2S inserts a new record (custom object) in the target org, the relevant trigger doesn't appear to fire. The record is successfully inserted, there are no error emails received by the connection ...
1
vote
1
answer
436
views
Automating Salesforce to Salesforce with Apex
I came across Rakesh' Salesforce-to-Salesforce sharing through Flow & Process. But I am curious on how to get it down with Apex.
I was able to create this trigger and save it:
trigger ...
0
votes
0
answers
119
views
How to connect to salesforce instance
I am exploring some option to connect two Sales force Orgs. My requirement is the following:
Any update to a record in one org should update the records in another org. Both org has an object with ...
0
votes
1
answer
224
views
Trigger on S2S's successfull sharing
Use case: I need to update all related opps in our org if their parent account was successfully shared through S2S (Sharing status = "Active (sent)". The account record on our side's not updated when ...
0
votes
0
answers
125
views
Salesforce to Salesforce connection - Update existing record during insertion
I have salesforce to salesforce connection between two salesforce org(org 1 and org 2 ). But I don't want the record to be inserted in org 2 whenever a new record is inserted in org 1. I want to check ...
0
votes
1
answer
212
views
How to skip validation rule in trigger in "onafterinsert" without inserting any field on object? [closed]
i need to skip validation onAfterInsert method without adding additional field on object.
0
votes
0
answers
35
views
how many child records can an object have in a lookup relationship? [duplicate]
Does anyone knows how many records can an object have in a lookup relationship?
I've found in the documentation that as a best practice, don't exceed 10,000 child records for a master-detail ...
3
votes
1
answer
279
views
Writable External Objects between 2 salesforce Org
I am working on a requirement in which I need to write on some external object between 2 salesforce org.
I have tried to use the s2s connect but they are not working as Writable external objects aren’...
0
votes
1
answer
324
views
Mass Record insert using Salesforce connection for two org
I have created a salesforce to salesforce connection using trigger for new record and for update using the basic functionality.
But as during the deployment I may be need to put million of data and ...
2
votes
0
answers
63
views
rendering error after enabling salesforce to salesforce data migration
after enabling salesforce to salesforce migration.
It gives me error while displaying all fields of my custom object on visual-force page.
public class MyClass {
public Map<String,String> ...
0
votes
1
answer
150
views
Do I need to establish a new connection between sandbox to sandbox
I have already established connection between two production orgs, now I want to share records from sandbox to sandbox, so how can I do it?
0
votes
2
answers
101
views
modifyiing master record of detail record in Master detail relationship in salesforce to salesforce connection
I've set up a connection between 2 sandboxes. PL box and JIRA box
there is a master detail relationship between product launch and JIRA (product launch is the master and JIRA is the detail)
Now ...
5
votes
1
answer
12k
views
"Unauthorized endpoint, please check Setup->Security->Remote site settings. endpoint = https://login.salesforce.com/services/oauth2/token" [closed]
I am following web-server authorization flow for establishing the connection between one org to another org. as a 1st step i have get authorization code,when i am proceeding to 2nd step, getting above ...
8
votes
0
answers
974
views
Salesforce to Salesforce - Pending(sent) External Sharing Status
I have programmatic record forwarding for a Salesforce to Salesforce integration. For unknown reasons 1 out of every 4000ish records get stuck with the pending(sent) external sharing status and never ...
1
vote
0
answers
43
views
Salesforce search setting "Lookup Auto-Completion" not working inside jquery datatable.for page 2 and above for 1st page it's working fine [closed]
I am using Salesforce search setting "Lookup Auto-Completion",and i am populating multiple records and for dispaly i used JQuery Datatable.Autocomplete is working for page 1 but not for rest of the ...
0
votes
1
answer
118
views
Salesforce to Salesforce Multi-level child records
I have a parent record that has a child record, and that child record has a child record, and when I publish the parent record I want all the records down the heirarchy to be published to the target ...
2
votes
0
answers
63
views
Does Salesforce2Salesforce work with Person Accounts?
Has anyone successfully shared Person Accounts to another Salesforce org using Salesforce to Salesforce? Does it work well? If there are any gotchas, please tell me.
In both orgs, the data will be ...