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.

Filter by
Sorted by
Tagged with
0
votes
0answers
23 views

Salesforce to salesforce record sharing issue

I have a requirement where i want to share related records of the object. for example : I have account object in which i have lookup of "custom Object 1". and in "custom object 1" i have a lookup of "...
0
votes
0answers
30 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
0answers
23 views

Is it possible to select which fields are shared with connected organisation for records shared programmatically using S2S?

If I want to share an object, but not all of its fields, for example, and I also do not want to share all the records, just a subset of them. For the later, I know it is possible to use the ...
1
vote
0answers
601 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
0answers
58 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 ...
2
votes
1answer
150 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 ...
0
votes
1answer
49 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
0answers
92 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 ...
2
votes
2answers
103 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 ...
0
votes
2answers
301 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 ...
0
votes
1answer
43 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 ...
0
votes
2answers
34 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 ...
0
votes
1answer
234 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 ...
1
vote
0answers
37 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 ...
0
votes
1answer
84 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
2answers
1k 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 ...
0
votes
1answer
182 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 ...
0
votes
0answers
100 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
1answer
127 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
0answers
86 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
1answer
79 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
0answers
31 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
1answer
133 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
1answer
133 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
0answers
57 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
1answer
146 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
1answer
88 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
2answers
51 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
0answers
303 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
0answers
38 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
1answer
78 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
0answers
52 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 ...
1
vote
1answer
50 views

Is it possible to automate s2s configuration / s2s fields mapping? [closed]

Is it possible to make it in apex? Kind regards.
2
votes
0answers
55 views

Target org triggers (after insert, after update) don't get fired when insert/update happens on source org using Salesforce2Salesforce

I'm using Salesforce2Salesforce. When a new entry is inserted/updated inside of the source org, the target org's triggers (after insert and after update) are not getting fired. Is there any way around ...
1
vote
1answer
474 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 ...
2
votes
2answers
1k views

Test Class - Error: Compile Error: Field is not writeable: Opportunity.ConnectionReceivedId

I have a re-parenting trigger that fires if the connectionReceivedId is of a certain value. The sad part is that it looks like that field is not writeable, so testing is not possible. I know I could ...
2
votes
1answer
2k views

SOQL Query Error: Compile Error: unexpected token: 'SELECT' at line x column y

I am trying to gather Account record Ids so I can re-parent some Contact records. I only need to gather records where a certain Account field matches the same value as the corresponding Contact field. ...
1
vote
2answers
338 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 ...
1
vote
1answer
99 views

Pull accounts from partner org using S2S programmatically

Currently, I'm exploring salesforce to salesforce (S2S) and I have S2S setup on 2 of my dev orgs. I have read couple of examples on sharing/inserting records from one org to another, but I couldn't ...
1
vote
0answers
756 views

When updating the ParentRecordId lookup field in a PartnerNetworkRecordConnection, is it normal for ParentRecordId not to update on the other org?

In my Salesforce to Salesforce connection, each time a case is inserted and/or updated in my source org X, a PartnerNetworkRecordConnection is created (after insert and after update) to forward the ...
9
votes
2answers
1k 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-...
4
votes
1answer
1k views

Salesforce to Salesforce integration using Named Credentials

I am trying to build Salesforce to Salesforce integration using Named Credentials. Followed the steps from below blog. http://www.jitendrazaa.com/blog/salesforce/salesforce-to-salesforce-integration-...
1
vote
2answers
819 views

Salesforce2Salesforce testclass help

I have batch class that publishes the opportunities to other Salesforce Org for shared accounts. In testclass, I create an account and insert the accountid in NetworkConnectionPartner record. Call ...
2
votes
2answers
117 views

Salesforce to Salesforce - Prevent Updates

Our partner also has Salesforce implementation as such we plan to deploy the out of the box Salesforce to Salesforce for obtaining leads from them. This is an amazing feature but looks like our ...
1
vote
1answer
769 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
vote
2answers
2k views

Salesforce to Salesforce connection using Apex, Callouts and SOAP APIs

We have continuous need to move some configuration related data from Salesforce Sandbox to Salesforce Production environment. End users are not comfortable with using data loader and need some simple ...
1
vote
1answer
72 views

Add or remove permisssion for Find Connection button

How do I remove the Find Connection search layout button particular user? This button appears on the list view search layout and I would like to disable it on a per-user basis.
0
votes
1answer
137 views

Delete records using Email Service between 2 integrated S2S orgs

I have two S2S integrated orgs which are sharing Lead's records succefully. I have implemented the same using Apex and Salesforce to Salesforce Connections. My requirement is if a record is deleted ...
1
vote
1answer
665 views

Google chart not displayed on VF Page

I am New to salesforce i am looking for embedding a Google chart in visualforce, I found this following snippet in Saleforce developer forums, I just copy phasted this to observe the response, But i ...
1
vote
0answers
137 views

Send an email through Salesforce server from External Application

I have an angular application, and wants to send an email to Salesforce contacts from external application through salesforce server. I did not find any api or javascript file which allows me to ...