308
Views
4
Comments
[Salesforce Connector] Unable to integrate to our salesforce sandbox using Salesforce connector
salesforce-connector
Web icon
Forge asset by Vera Tiago

Hello,

I recently tried the salesforce connector and created a sample account using https://developer.force.com/ which is working just fine with OutSystems. I tried to replicate the same integration using the sandbox created for this POC,  but it is not establishing the connection to the server. 

Just wanted to know how to provide server url (of our sandbox environment) and establish a successful connection. I think the connector is always loading the developer.force.com URL and the authentication is failing. 

Simply, I am looking for steps/sample to integrate our own salesforce sandbox for which I already have user name, password and security token. (I can login to the sandbox using this credential using browser). 

Thanks,

Arun

UserImage.jpg
Hus E

Hello Arun,

You might have solved this by now.

Please open the login page of the Sales force sample application. Now open the Login screen action and  you will see "SalesforceLogin". The first parameter to "SalesforceLogin" is "ServerUrl".  Please enter your  own salesforce sandbox url and you are good to go.

Thanks

UserImage.jpg
Bhavik Modi

Hello, I'm running into a similar issue when connecting to our sandbox environment. When setting the ServerUrl, I'm receiving following error: 

Login Failed: Client found response content type of 'text/html; charset=UTF-8', but expected 'text/xml'. The request failed with the error ... 

I am able to connect to production environment without any issues.  Any ideas?

2026-03-16 11-57-10
Charles Papp

I had the same problem until I found the answer in this post:

https://www.outsystems.com/forums/discussion/15756/response-content-type-of-text-htmlcharset-utf-8-but-expected-text-xml/

As suggested, I changed the value of the ServerUrl to "https://test.salesforce.com/services/Soap/u/25.0" and that worked for me.

UserImage.jpg
bella luise
Outline

In organizations with numerous jobs not all contacts related to a record are sent through the salesforce to salesforce association.  CRT-261 VCE Questions

In an organization with all the more then 100 jobs

1) Set up a standard S2S association with an accomplice organization.

2) Publish and Subscribe Account and Contact from essential organization to accomplice organization.

3) Create an Account with 2 contacts

4) Add the 'outer sharing' related rundown to the Account and Contact detail pages

5) Forward the Account from the outer sharing connect to accomplice organization.

6) Click the forward tyke contacts check box and submit.

Workaround

Utilize a profile with alter all information to advance the record.
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.