How to Set Up Word Templates
Please start from here to learn how to use Document Template Libraries, i.e. Word templates with Docentric AX in detail.
You can also start from already prepared examples that contain downloadable resources including templates and data source provider classes. This way you will be able to use the examples instantly.