Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The S4S WFFM Module can be configured to be able to submit data to multiple Salesforce Orgs on a form-by-form basis. Currently, this is only available for S4S with Sitecore 8.1.

Sitecore 8.1 Configuration

The multiple S4S connection strings are configured in the App_Config/ConnectionStrings.config file. By default, you need to configure the S4SConnString and S4SConnStringUI. 

...

Code Block
languagexml
linenumberstrue
<!-- the 'primary' connection strings -->
<add name="S4SConnString" connectionString="S4S:user id=myuser@fuseit.com;password=mypassword;environment=DeveloperEdition" />
<add name="S4SConnStringUI" connectionString="S4S:user id=myuser@fuseit.com;password=mypassword;environment=DeveloperEdition" />


<!-- additional connection strings -->
<add name="S4SConnStringOtherOrg" connectionString="S4S:user id=other@fuseit.com;password=otherpassword;environment=DeveloperEdition" />
<add name="S4SConnStringAnotherOrg" connectionString="S4S:user id=another@fuseit.com;password=anotherpassword;environment=DeveloperEdition" />

You can add user friendly names to display in the UI for the above connections strings as app setting in S4SMappings.config as follows.

Code Block
languagexml
linenumberstrue
<setting name="S4SConnString" value="Default Org"/>
<setting name="S4SConnStringOtherOrg" value="Other Org"/>
<setting name="S4SConnStringAnotherOrg" value="Another Org"/>

"name" referred to the actual connection string name and "value" referred to the display connection string name.

S4SMappings.confg can be found in App_Config\Modules\S4S\ .

The S4S Mapping Wizard and Bulk Analytics Updater will automatically process the extra connection strings.

Sitecore 8.2 Configuration

Multiple connection strings for S4S WFFM in not currently available.

Next Step

Configure the Sitecore SaveAction Template Field

...