Includetext

Hi,
I understand that from version 9.2 INCLUDETEXT is supported
I am trying to perform a MailMerge with an INCLUDETEXT field and I am getting the following error:
“Invalid URI: A Dos path must be rooted, for example, ‘c:\’.”
The code is:

docOrig.MailMerge.Execute(new string[] { "DOC", "LINE1" },
        new object[] { sHtmlDoc, "LSLSLS" });

I have verified that the doc exists. It is an Html document
Thanks
Leonardo

Hi

Thanks for your inquiry. Could you please attach your template here for testing? I will check the issue and provide you more information.
Best regards,

Hi Leonardo,
Most likely the issue is because currently only Word Document files are supported by the INCLUDETEXT field and you are trying to insert an HTML document. Other formats will be supported by this field sometime in the future.
Thanks,

Hi,
I have created a Word Document from my Html document and still produces the same error
I am attaching my document
Thanks
Leonardo

Hi

Thank you for additional information. I managed to reproduce the problem on my side. Your request has been linked to the appropriate issue. You will be notified as soon as it is resolved.
If you just need to insert HTML upon mail merge, you can try using code suggested here instead of using INCLUDETEXT field:
https://reference.aspose.com/words/net/aspose.words/documentbuilder/inserthtml/ (See “how to mail merge HTML data into a document.” example).
Best regards,

The issues you have found earlier (filed as WORDSNET-3945) have been fixed in this .NET update and this Java update.

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