I have been trying to evaluate ASPOSE.Words for .NET for word merge implementation. Everything seems to work fine and am very glad with the results except for one issue. It doesnt seem to evaluate the conditional statements in the document. I’ve got quite a few word templates that have these If-Statements that the user would like to maintain and i cannot do away with these. I have attached a sample screenshot of how the document’s field codes look like.
If this has not yet been implemented in your product, is there any other workarounds ?
Any help would be greatly appreciated.
Thank you for your interest in Aspose products. Unfortunately, conditional logic is not supported by Aspose.Words. See FAQ for more information. As workaround you can move your conditional logic into your SQL query or into MargeField event handler.