I am printing a complex listing, and some calculated values in the document are “null”. Should’t a complex listing skip these?
Fields marked in blue and yellow are “null” in the screenshotted JSON.
I’ve just spoken to @rudi-clear-moss about this and you’ve bumped into a special aspect of the Print Engine.
The listing prints a row for each element in the data set. This means that you get a row for:
If you don’t want to print rows because the field value is null, then you need to remove the data point from the json completely. Normally empty values aren’t saved. null values can appear where a value is set and then deleted. This doesn’t usually cause an issue as A12 treats empty and null as equivalent.
There are a couple of ways forward for you:
We adopted number 1 from the two options listed above.