We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose.words: Generated Mail Merge Document is not preserving form Fields. All the form fields are editable!

Hi Team,

I am using aspose.words to execute a mail merge template and saving generated document in word (.doc ) format. The generated document is not preserving the form fields. I can see all the form fields are editable, instead it should make only those form fields editable which are editable in template. I cant see any option to make this form fields preserved with DocSaveOptions like PdfSaveOption has. Please suggest me what should I do.


Can somebody help me here.

Hi Vishal,

Thanks for your inquiry. It seems that you are using content controls instead of form fields. If this is the case, please note that the content controls (StructuredDocumentTags) are not supported in Doc file format.

To ensure a timely and accurate response, please attach the following resources here for testing:

  • Your input Word document.
  • Please attach the output Word file that shows the undesired 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'll start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip them and Click 'Reply' button that will bring you to the 'reply page' and there at the bottom you can include any attachments with that post by clicking the 'Add/Update' button.