How to Dynamically Select a Report Design in Dynamics 365 Finance and Operations

By Craig Koziolek | May 1, 2023

Selecting a report design in Dynamics 365 Finance and Operations can be a challenge.

Typically, specifying a new report design is handled by replacing the default report name in Print Management.

Dynamics 365 Finance and Operations Report Design

Report controller classes will typically call this method directly, or via formLetterController.loadPrintSettings, to select the report design.

While this approach is typical, it's also limited, because it cannot choose a design based on the data inside the report. For example, a one-time customer might require a unique report.

In order to work around this issue, you can add a chain-of-command extension to the ouputReport method on the report's controller.

Dynamics 365 Finance and Operations Report Design Extension

Want to Learn More?

I hope you find this workaround useful. Please contact us if you have any questions or need help troubleshooting any other challenges in your Dynamics 365 Finance and Operations environment.

Under the terms of this license, you are authorized to share and redistribute the content across various mediums, subject to adherence to the specified conditions: you must provide proper attribution to Stoneridge as the original creator in a manner that does not imply their endorsement of your use, the material is to be utilized solely for non-commercial purposes, and alterations, modifications, or derivative works based on the original material are strictly prohibited.

Responsibility rests with the licensee to ensure that their use of the material does not violate any other rights.

Start the Conversation

It’s our mission to help clients win. We’d love to talk to you about the right business solutions to help you achieve your goals.

Subscribe To Our Blog

Sign up to get periodic updates on the latest posts.

Thank you for subscribing!