Skip to main content

Notifications

Announcements

No record found.

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,089 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,350 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,431 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,503 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans