Word documents and Mendix functionality to create letter templates

I want to be able to have a page/button where i can upload a word document template then from data in my app like the customers first name etc and i want it to populate into my word document. Then there will be a download button where the new word document will have the correct information in and it’ll be the existing template. Any ideas how i can do this?
2 answers

You can use my heavily used module for this. Is entirely for free and comes with a fully configured demo project:





Hi Harry,

you can use this module https://marketplace.mendix.com/link/component/2026 there is great documentation how to implement it.

So you will need to load your document template where you will have tokens that will then be modified with the information you want to have. eg in the image below from the module documentation, everything inside the « » are tokens that will be replaced by your data. Within the application, you will need to map those tokens to your objects.



I hope this will help you.

Kind regards,