Closed (won't fix)
Project:
Salesforce Suite
Version:
7.x-3.x-dev
Component:
salesforce_push.module
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
29 Feb 2016 at 16:33 UTC
Updated:
21 Feb 2026 at 19:27 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
mariacha1 commentedI need this functionality for my current project, so I'm taking this one on.
Comment #3
mariacha1 commentedInitial attempt attached. Note: This only imposes a length limit for strings and textareas for now. It's not configurable at all -- the user has no say in whether the maxlength is imposed. Adds this helper function that executes immediately before pushing:
The function does what it should, but the feature set could be nicer -- I'm open to feedback.
Comment #4
mariacha1 commentedAt the very least, this behavior should be moved to salesforce_mapping_property_fieldmap_pull_value. Would be best if this could be configured on a per-mapping basis. Ultimate user experience would probably be to compare size values on a per-mapping basis when validating the form.
Comment #5
mariacha1 commentedComment #6
wxactly commentedWrapping each of the property lookups here in isset to prevent errors when these fields don't exist
Comment #7
aaronbauman7.x is no longer supported