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 Aug 1, 2023

Programmatic reports

The report creation is a tedious and non-productive task. You need an IDE, create a connection, create a SQL query, define report bands, drag-and-drop/design report columns, fields, labels, summarizations, margins, charts and prepare perfect pixel reports for print. To create a tradicional report the effort takes 4 to 12 hours.

The idea is to define reports using object script instructions. With some minutes and with writing a few object script lines you can get a report equivalent to a tradicional report, with the benefit to create dynamic content for the reports (productivity).

The idea includes yet the feature to allows to the developer set print restrictions for the PDF report generated (reduce carbon emission, not allowing print, only read).

Benefits of this idea:

1 - Productivity - develop a report in minutes not in hours

2 - Reduce carbon emission - is possible restrict the PDF print

3 - Create dynamic reports using ObjectScript

4 - No need to install a report server, saving processor and memory resources (decreasing emissions)


To create a report using source code, see this sample with Java, but could be in ObjectScript too:


TextColumnBuilder<String> itemColumn = col.column("Item", "item", type.stringType());

TextColumnBuilder<Date> orderDateColumn = col.column("Order date", "orderdate", type.dateType());

TextColumnBuilder<Integer> quantityColumn = col.column("Quantity", "quantity", type.integerType()).setFixedWidth(50);

TextColumnBuilder<BigDecimal> unitPriceColumn = col.column("Unit price", "unitprice", type.bigDecimalType());

ColumnTitleGroupBuilder titleGroup2 = grid.titleGroup("Group 2", quantityColumn, unitPriceColumn);

ColumnTitleGroupBuilder titleGroup1 = grid.titleGroup("Group 1", orderDateColumn, titleGroup2).setTitleFixedWidth(450);

report()
.setTemplate(Templates.reportTemplate)
.columnGrid(itemColumn, titleGroup1)
.columns(itemColumn, orderDateColumn, quantityColumn, unitPriceColumn)
.title(Templates.createTitleComponent("ColumnTitleGroup"))
.pageFooter(Templates.footerComponent)
.setDataSource(createDataSource())
.setSecurityRule(PrintRule.READ_ONLY) //if you want restrict print
.printPDF();


  • 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 20, 2025

    @Yuri Marx, thank you for implementing this idea

    đź–Ą Download app here: iris4word

  • Admin
    Vadim Aniskin
    Nov 15, 2023

    @Yuri Marx, you have a comment on your idea. Please answer it to help your idea to be promoted.

  • Timo Lindenschmid
    Aug 10, 2023

    Isn't this essentially zenreports again? Also, this really sound like a community project.