Mapping a null/empty decimal value #2920
chris-pemberton-vital
started this conversation in
General
Replies: 1 comment
-
In FieldToFieldMap I have made a local change to get around the issue. You may wish to do the same on the project:
Convert.ToString converts null values to empty string, if the value was null, keep as null otherwise the empty string will break a Double/Decimal field setting |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Using the following field map
I can't seem to map the defaultValue to a null/empty for decimal field. We don't want to use 0. If we use null/empty or omitted the defaultValue we always get:
Invalid Field Object:
What we want is if there is a value then map it else, null. The field is not required. Is this possible?
Beta Was this translation helpful? Give feedback.
All reactions