If we define any mergefield in the word template in lower case (eg: customer_name) and supplied data to the MailMerge.Execute method is in Caps (eg: CUSTOMER_NAME) then Aspose.MailMerge.Execute(dataTable) is unable to recognize that field and throws an error:
Missing corresponding field
definition. See inner exception for further details.Inner exception 1: The request
data does not have a matching field definition for the following items from the
Aspose.MailMerge.Execute method works fine when the same merge field is defined as all CAPS in the word template. We suspect this is an issue with Aspose. Is the fieldname case-sensitive to the mergefield name? the aspose site (https://reference.aspose.com/words/net/aspose.words.mailmerging/mailmerge/execute/) says it is not case-sensitive. if it is not case-sensitive, then any idea why the the field is not recognized if the case doesnt match?