web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

ReportController classes, how to get the generated file?

(2) ShareShare
ReportReport
Posted on by 81
Hi everyone!
I need to send a PDF report through a service in D365FO. To do this, I must generate an invoice report, configure the report as a file (since mostly in the system it is configured for all cases as 'display on screen'), and then send that PDF via the server. My question is whether this is achieved through development using an instance of the LedgerJournalController class. I have researched a bit and many suggestions make use of this class to generate a new report. In my case, I don't need to create a new report, but only to obtain that generated PDF to return it in the response. Any guidance would be appreciated. Thank you very much./
I have the same question (0)
  • Suggested answer
    Martin Dráb Profile Picture
    237,976 Most Valuable Professional on at
    You can use SRSProxy.renderReportToByteArray() to get a prinout of an SSRS report (and then send it where needed). Use renderReportToByteArray in a search engine to find blog posts with examples.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 449 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 422 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans