Jump to content

Enhancement: Remove "undefined" text


Dan Munns

Recommended Posts

Hi all, 

I know I have raised this issue numerous times before for various fields within SM (and probably this one as well but I can't find it now) 

Can we have ALL fields within SM just show as blank if they are indeed blank. On mapping PC answers to custom fields, and then using these custom fields in the details pane, they show as 'undefined' if a value has not been mapped to them.

 image.png.60392248fd6f22a68b9d2d9ca27c29f2.png

These two are mapped from PC answers (which in this case were not answered) to custom fields P and Q

Thanks

Link to comment
Share on other sites

As a temporary workaround, it is possible to update the mappings to use a blank string when the value is undefined.

image.png
if you update the mapping from

Custom A Contents: &[global["flowcode"]["customFieldA"]]
to
Custom A Contents: &[global["flowcode"]["customFieldA"] || ""]


Then when the value is undefined, it will use a blank string instead.

image.png
Becomes

image.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...