'use strict';constgroupdocs=require('@groupdocs/groupdocs.assembly');// "clients" is the data source name used in the template
constdataSource=newgroupdocs.JsonDataSource("clients.json");constdataSourceInfo=newgroupdocs.DataSourceInfo(dataSource,"clients");constassembler=newgroupdocs.DocumentAssembler();assembler.assembleDocument("bulleted-list-template.docx","bulleted-list-report.docx",dataSourceInfo);process.exit(0);
The same template syntax works in ODT documents created with Microsoft Word, LibreOffice or Apache OpenOffice. Save the template as .odt and use an .odt output file name, or save the report to another format as described in Changing Target File Format.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.
On this page
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.