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

Free Support Forum - aspose.com

Reg replacing tokens in word doc template

Hi,

I am using evaluation version of Aspose word for java. I have word doc template, in this template i have to replace some tokens.

with current version if I use token name as given in demo template like «MyName» it is replacing this. but it not replacing any other token.

Please help me and let me know with Aspose I can modify any word template or it can be used for only spacific purpose only.

Thanks,

Arunendra

Hi

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

Thanks for your request. If I understand you properly, you are using Mail Merge feature to fill your template with data. If so, please see the following link to learn how to prepare template document:

http://www.aspose.com/documentation/.net-components/aspose.words-for-.net-and-java/prepare-a-document.html

Here you can learn more about mail merge feature:

http://www.aspose.com/documentation/.net-components/aspose.words-for-.net-and-java/simple-mail-merge-explained.html

Please let me know if you need more assistance, I will be glad to help you. If you still have problems with mail merge, please attach your template and code, I will check them and provide you more information.

Best regards.