Skip to main content

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
17 votes
5 answers
26k 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.
rani's user avatar
  • 221
8 votes
7 answers
7k views

How to connect Salesforce to Salesforce in Apex

Is it possible to connect Salesforce to Salesforce in Apex. I want to bring sample records from Full Copy sandbox to config sandbox and I need to do this as I refresh config sandbox. I think if we ...
Prafulla Patil's user avatar
11 votes
2 answers
4k views

Sorting Opportunity Line Items programmatically

I've been attempting to do a purely Apex based sorting of Opportunity Line Items based on a solution I found in the Salesforce developer boards. That solution uses a combination of Javascript and Apex ...
Alan Morey's user avatar
  • 2,451
9 votes
3 answers
2k views

REST Client Salesforce to Salesforce

I want to send REST request from one SF org to another. Is there any REST Client class/s which can handle the authentication and communication for me or I need to write my own classes?
Dedo's user avatar
  • 5,017
9 votes
1 answer
2k views

How to test a trigger relying on PartnerNetworkConnection and PartnerNetworkConnection?

(I'll refer to A as the sending instance and B as the receiving instance) We have a trigger on instance B re-populating a regular lookup field. It is triggered when there's a change to a hidden field ...
jpmonette's user avatar
  • 4,440
4 votes
1 answer
3k views

Issues with Salesforce to Salesforce sharing intermittently failing

We are sharing data between two Salesforce orgs (Org1 & Org2) using S2S on a custom object called Shared__c with fields Name and Shared_Field__c. Both orgs are set up to publish the Shared__c ...
sfelf's user avatar
  • 1,179
4 votes
0 answers
626 views

S2S Test Data Isolation

Goal - Avoid using SeeAllData=true for testmethods against APEX code that inserts PartnerNetworkRecordConnection objects (to test outbound sharing) What I believe to be true PartnerNetworkConnection ...
cropredy's user avatar
  • 71.9k
3 votes
1 answer
4k views

Using Partner WSDL to update a Salesforce record

My requirement is to update a record in one Salesforce org (org A) from another Salesforce org's (org B) Apex code. I have taken the Partner WSDL of org A and imported it into org B. Using the Partner ...
DCBoy's user avatar
  • 901
2 votes
1 answer
171 views

How to access to Salesforce2Salesforce error messages?

We have two instances (A and B) and we are pushing a record from A to B. There's a trigger executed on the instance B on insert doing various manipulation. When I look at the status in instance A, it ...
jpmonette's user avatar
  • 4,440
2 votes
2 answers
3k 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 ...
Steel Reserve 211's user avatar
2 votes
2 answers
1k views

Does Salesforce To Salesforce handle sharing privileges correctly

I have a requirement in which a source org needs to share data with N partner orgs. I'm considering using Salesforce to Salesforce (in addition to Middleware solutions). The source org contains an ...
James Loghry's user avatar
  • 6,241
1 vote
2 answers
1k 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 ...
Razu's user avatar
  • 353
1 vote
1 answer
969 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 ...
apn's user avatar
  • 1,722
1 vote
2 answers
3k 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 ...
apn's user avatar
  • 1,722
0 votes
1 answer
218 views

is it possible not giving the update access of record in S2S

I have read about Salesforce to Salesforce. I saw records are shared in a connection. I dont want to see any kind of changes in records in published org made by other suscribe org. Is it possible to ...
mathlearner's user avatar
  • 2,151