I am getting this error:
Tag ‘if’ is not well-formed. A conditional expression should return a Boolean value.
From this in the word template:
<<foreach [p in Products.Where(s=>s.StatusCode != “T”)]>>
<<if [p.Prices.Any()]>>DO SOMETHING <>
JsonSource is used and in this example, the Products object is empty, so what I don’t understand is why it is complaining about the if statement when it shouldn’t have reached the if block at all.
If an example where the Product array is populated, then it doesn’t error out.
Also note the engineoption is already set to AllowMissingMembers