I had an issue where the client wanted to map a multi-select webform field to a Salesforce textarea. I was able to patch the mapping process to achieve this. Below is the patch created.

Issue fork salesforce-3150399

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

spfaffly created an issue. See original summary.

spfaffly’s picture

Here's the patch that fixes the above. Let me know if this works or if there's other ways to achieve the same solution. Thanks!

aaronbauman’s picture

Status: Active » Closed (outdated)

I'm doing some cleanup on unsupported branches.
Please re-open this issue and update the version to 5.0.x-dev if this issue is still applicable to the latest release.

spfaffly’s picture

Version: 8.x-4.x-dev » 5.1.x-dev
Status: Closed (outdated) » Active
spfaffly’s picture

Updating this issue for the 5.1.x-dev branch.

An error that people might experience today will be as such:

TypeError: mb_strlen(): Argument #1 ($string) must be of type string, array given in mb_strlen() (line 294 of modules/contrib/salesforce/modules/salesforce_mapping/src/SalesforceMappingFieldPluginBase.php).

spfaffly’s picture

StatusFileSize
new1.06 KB

Updating patch file.