Free Support Forum - aspose.com

Assign Merge Field List or CreateDataSource

Is there any way for apose to assign the merge fields as it would be done using word automation? For example.

Object oName = "C:\\DataDoc.doc";

Object oHeader = "FirstName, LastName, Address, CityStateZip";

wrdDoc.MailMerge.CreateDataSource(ref oName,ref oMissing,
ref oMissing,ref oHeader, ref oMissing, ref oMissing,
ref oMissing, ref oMissing, ref oMissing);

Hi

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request. Unfortunately, you cannot specify Mail Merge DataSource using Aspose.Words. This is logged in our defect database as feature request #5170.

You can only perform Mail Merge using Aspose.Words programmatically as described here:

http://www.aspose.com/documentation/file-format-components/aspose.words-for-.net-and-java/perform-mail-merge.html

Best regards.

The issues you have found earlier (filed as 5170) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.
(57)