4
votes
Accepted
Which tool to use for updating 10,000 records in salesforce in single transaction
There is no Salesforce API that allows updating 10,000 records in a transaction.
I have a set up where an external integration will bring 10,000 records at a time into my salesforce org (update ...
3
votes
Accepted
What is preferable choice for integration: Salesforce to Salesforce or MiddleWare tool?
As of Spring '21 release, there is a limited list of Standard Salesforce objects which are supported by the Salesforce to Salesforce feature
Account
Attachment (unencrypted)
Case
Case Comment
...
3
votes
Accepted
Is Salesforce to Salesforce a good choice for a new project?
To close this off here, this is a summary pulled from links that the commenters posted:
This Salesforce Data Integration guide says "The Salesforce to Salesforce product is reaching its end of ...
3
votes
Accepted
Mass Record insert using Salesforce connection for two org
You can write Apex Batch Class for doing the mass transfer. In the execute method you can insert the PartnerNetworkRecordConnection object.
Below is the sample code i.e. not compiled for mass ...
2
votes
Accepted
Trigger on S2S's successfull sharing
One way of developing a synchronous solution is to create a boolean field, call it isS2SAccount on both sides, subscriber and publisher. Don't make them as editable on pagelayouts.
In the publisher ...
2
votes
Accepted
How to programatically share a record in S2S
Here are two scenarios
Let's take an example - You are sharing Account (Dollar Tree - 001B000000LvK1D) and an Opportunity (Dollar Tree - 006B0000001f6Dr).
Now there are two things possible
1. You ...
2
votes
Accepted
Trigger to forward related account with Opportunity in s2s
I'm not sure if you've already tried this or not but it seems as if you should be able to share the Account in the same way you shared your Oppty. I moved your DML outside of your for-loops and added ...
2
votes
Trigger to forward related account with Opportunity in s2s
As I said, simply add the code to do the account:
if(opp.Department__c == 'US')
{
//Send Account
PartnerNetworkRecordConnection newAccrecord = new ...
2
votes
Accepted
Does Salesforce2Salesforce Support Delete?
This page says that you can do this automatically in the child org using batch APEX.
Challenge: Delete Case comments from the target org if Case comments
in the source org are made private or ...
1
vote
Does Einstein work with Salesforce 2 Salesforce?
Einstein syncs data from Salesforce objects into its own database. Salesforce 2 Salesforce copies only Salesforce objects, not external databases like Einstein, Pardot, etc. The Einstein in your ...
1
vote
Accepted
Time delay @future method - need delay for recurring batch process to complete
I've gone with a scheduled batch process to share the PDF to the other orgs as delaying @future doesn't seem possible. The batch process starts a few min after the initial update, and in the finish ...
1
vote
Accepted
Salesforce 2 Salesforce changes made on target are not being updated on the source? Suggestions?
Have you shared the objects from both the Source to the Target as well as the Target to the Source? You can set-up two way sharing with Salesforce to Salesforce (S2S) but to do so both orgs need to ...
1
vote
Accepted
How to enable/see Org Sync Log tab in Salesforce
Please check if you have permissions to see Org sync tabs . Also see the below link to userguide ,
https://resources.docs.salesforce.com/200/latest/en-us/sfdc/pdf/organization_sync.pdf
1
vote
How to programatically share a record in S2S
Make sure that you have setup S-2-S connection correctly
For Asset__c this, from source org-publish it and subscribe it from target org.
Repeat the above steps from target to source org.
Last make ...
1
vote
Accepted
Using Salesforce to Salesforce Connection to update object & Fields
In the same documentation , it says you cannot publish Lookup IDs.
Documentation says:
Lookup IDs are not available for publishing. You can enable S2S for those fields by creating a formula field ...
1
vote
How to skip validation rule in trigger in "onafterinsert" without inserting any field on object?
Without adding any custom logic you can't skip the validation rule for Triggers.
Following is the order of execution.
System Validation rule (required field, field format)
Triggers are executed (...
1
vote
Salesforce to Salesforce Record Transfer Limits?
Yes, Salesforce to Salesforce is subject to undocumented limits - they arrive suddenly as follows:
The Salesforce to Salesforce operation from [source] to [target] failed because the Rate limit ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
salesforce2salesforce × 115apex × 27
integration × 13
trigger × 11
visualforce × 9
rest-api × 8
salesforce-id × 5
community × 4
api × 4
soap-api × 4
soql × 3
unit-test × 3
callout × 3
lookup × 3
master-detail × 3
data-migration × 3
salesforce-to-salesforce × 3
email-template × 2
visualforce-component × 2
validation × 2
force.com × 2
data-loader × 2
oauth2 × 2
appexchange × 2
connected-apps × 2