So I am trying to use Aspose Words Reporting Engine with data record from a map to do some field variable replacement in a docx. I will be receiving a map of the field variable names (map key) and replacement values (map value), but the problem is that I may not receive all variable names/values in the map. I am looking for a setting or way for Aspose to automatically fill in all field variables with a default value if not provided in the map. Or a way to get all the field variable names from the document.
Please see my attached zip that has sample code, input file, and successful output file and let me know what is the best way to achieve my desired output.
fieldReplacementTest.zip (26.0 KB)