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
To ensure a timely and accurate response, please attach the following resources here for testing:
Your input Word document.
Please attach the expected output Word file that shows the desired behavior.
Please create a standalone console application ( source code without compilation errors ) that helps us to reproduce your problem on our end and attach it here for testing.
As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.
PS: To attach these resources, please zip and upload them.