Anyone using celigo integrator io? Can I map two ...
# general
a
Anyone using celigo integrator io? Can I map two fields concatenated together? What's the syntax? field1 & field 2? or || or + ? && something else? lol Please help
Or maybe a way to use ISNULL so if one field is null, i can map another field
m
For the mapping in question, select the gear icon, and set the field mapping type to multifield. Then you can set the expression to
Copy code
{{field1}}{{field2}}
… and they will be concatenated
For your second question (re ISNULL) you can use the “if” handlebar function:
Copy code
{{#if field1}}{{field1}}{{else}}{{field2}}{{/if}}
the above will result in the value of field1 being used if it’s not null, otherwise field2.
a
Awesome, thanks so much!
@matt.graney When you say field1, I need $record.fieldid with a $ prefix, right?
or just the field field
*id
m
you don’t need the $. Check out the links I included.
the mapper should autocomplete these fields for you
a
thanks @matt.graney I got this to work!
m
Great! Congratulations, @AK47