Skip to Main Content
InterSystems Ideas

Have an idea, suggestion, or something that doesn’t work as expected in InterSystems products or services? Share it here on the InterSystems Ideas Portal.

The Ideas Portal is where community members can propose improvements, report bugs, and help influence the product roadmap across InterSystems products and the overall developer experience. 22% of submitted ideas are implemented by InterSystems or members of the Developer Community.

💡 Ideas and bugs are both welcome, no matter how big or small. You can submit feature requests, usability improvements, workflow suggestions, and bug reports. Whether you’re an experienced expert or just getting started, your fresh perspective is valuable.

🛠️ About bugs and fixes. If you have access to InterSystems WRC, please submit bugs there for immediate action. Bug reports submitted through the Ideas Portal are reviewed and tracked, but do not guarantee immediate resolution.

Start by sharing what could be better - the community and our teams will help take it from there.

Status Done by Community
Categories InterSystems IRIS
Created by Yuri Marx
Created on Jul 18, 2025

ObjectScript API to create MS Word files based on templates

Currently, IRIS doesn't have ObjectScript functionality for creating Word files. Python or Java are required. Furthermore, even using these languages, it's a complex process that requires many lines of source code.

Therefore, the idea is to use an ObjectScript API that allows you to specify a %DynamicObject with the data to be written to the Word file and the Word template that will be used for the final file.

The solution should support Word templates with a markup language that allows you to specify where and how the data from the %DynamicObject will be written, while also maintaining the static content of the template.

A possible implementation would be with this free Java solution: https://github.com/Sayi/poi-tl

An article how to do this using Java: https://www.baeldung.com/poi-tl-ms-word

  • ADMIN RESPONSE
    Aug 7, 2025

    Thank you for submitting the idea.

    This idea was implemented by Developer Community member(s). Please check the solution in the comments.

  • Admin
    Irene Mikhailova
    Aug 7, 2025

    @Yuri Marx, thank you for implementing this idea

    đź–Ą Download app here: iris4word

  • Robert Cemper
    Jul 21, 2025

    My wild guess:
    Isn't there some ready-made solution in Python that can be imported / embedded ?