Skip to content

Commit

Permalink
Automatically remove space from column name for import
Browse files Browse the repository at this point in the history
  • Loading branch information
tprouvot committed Dec 7, 2022
1 parent 9703f70 commit 5297d1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Version 1.13

General
-------
* Automatically remove spaces from column name in import
* Update to Salesforce API v 56.0 (Winter '23)
* Add "Skip all unknown fields" to import page
* Add User Id to pop-up
Expand Down
2 changes: 1 addition & 1 deletion addon/data-import.js
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ class Model {
let xmlName = /^[a-zA-Z_][a-zA-Z0-9_]*$/; // A (subset of a) valid XML name
let columnVm = {
columnIndex: index,
columnValue: column,
columnValue: column.trim(),
columnOriginalValue: column,
columnIgnore() { return columnVm.columnValue.startsWith("_"); },
columnSkip() {
Expand Down

0 comments on commit 5297d1b

Please sign in to comment.