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

Current print destination option in custom class

(0) ShareShare
ReportReport
Posted on by 240

We are running multiple reports simultaneously from a custom class. The class is taking parameters as input and providing the parameter values in different reports and calling the reports through their controller classes.

Now the requirement is to have the print destination selection option while running the report from the class.

pastedimage1588145511831v1.png

How can I provide this option in my custom class and use it to print reports as requested?

  • Suggested answer
    Asif365 Profile Picture
    Asif365 1,431 on at
    RE: Current print destination option in custom class

    Hi Hassan,

    please have a look at the below link and hope this can be helpful.

    msdax.wordpress.com/.../

  • Suggested answer
    Sergei Minozhenko Profile Picture
    Sergei Minozhenko 23,091 on at
    RE: Current print destination option in custom class

    Hi Hassan,

    You can check how it's done on form AgreementConfirmRunForm. It's not a using SysOperation framework, but you can get an idea how to implement the same change for SysOperation framework.

  • Hassan Akhtar Khan Profile Picture
    Hassan Akhtar Khan 240 on at
    RE: Current print destination option in custom class

    Hi Will,

    Thanks for the link but my custom class already has the same implementation as described in Martin's blog. Printing report in any destination through code is not the problem.

    The problem is to take user input for print destination using the print destination options. I want to have the print destination options available on my custom dialogue as it is on report parameter dialogues.

  • WillWU Profile Picture
    WillWU 22,352 on at
    RE: Current print destination option in custom class

    Hi Hassan,

    Please check the SRSPrintDestinationSettings class.

    Have a look at Martin's Blog:

    dev.goshoom.net/.../

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,575 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,493 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans