Hi, in the latest version of Aspose, is there some way to include some decision logic in the templates without it being so complicated that a business user cant do it?
Thanks for your inquiry. Please note that Aspose.Words mimics the same behavior as MS Word does. Yes, you can insert decision logic in the template document in the form of IF field.
Could you please share some more detail about your use case? We will then provide you more information about your query.
Do you have an example of an if statement in a template that would add a paragraph IF a data filed = a certain value?
Thanks for your inquiry. Please read about field codes of IF field from following link.
We have attached a sample document with this post for your kind reference. Hope this helps you.
Is this what was supposed to be in the document you attached? Thanks!
Thanks for your inquiry.
Please open the document in MS Word and press Alt+F9 to toggle display of field codes on or off. See the attached image for detail.