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 :
Microsoft Dynamics AX (Archived)
Unanswered

Print settings on SSRS report

(0) ShareShare
ReportReport
Posted on by

I'm using a controller class to run a report. If I create a menu item and set the object type to SSRS report and bypass the controller, the print destination settings appear on the parameters form. However, I need the controller class to do some processing. If I create a menu item and set the object type to Class and run my controller, those print parameters disappear.


I've looked at the project CustVendInvoiceRegisterReport which has similar structure, and I don't see any explicit calls to make the print parameters appear in the UI in the code.


How can I get the printer parameters to appear while still using the controller class?

Additional details:

Controller extends SrsReportRunController

UIBuilder extends SrsReportDataContractUIBuilder

Menu item (Display):

ObjectType Class

LinkedPermissionsType SSRSReport

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Hi

    You can override the dialog method in the controller class and update the printersettings through it. It's doable

    refer this post dannyax.blogspot.co.uk/.../ax-2012-pass-printer-settings-from.html

  • Community Member Profile Picture
    on at

    Thanks, that might be the answer. I'm still wondering why that base AX report has the printer settings on it when it does not explicitly call any code.

  • Sohaib Cheema Profile Picture
    49,438 User Group Leader on at

    Till yet I am unable to get your exact question or direction of question. It seems going up and down. 

    Anyway, Standard AX reports show you Printer or print setting because of the fact “User may want to take report output in different formats and at different destination”. Use may print it directly on a printer or user may just view it on screen. Or user may save it in any format.

    Apparently AX reports may not call any code, but it is calling. Infect when you click an output menu item, a lot of thing happen behind the scene at reporting framework. An example of that can be “Reading Print Destination settings” or retrieving Last values and setting ranges for quires etc. etc.

  • Community Member Profile Picture
    on at

    I apologize, let me reiterate. I have a menu item calling my controller class, and it has my report parameters but not the printer settings. If I change the menu item to call the SSRS report directly, the printer settings show up alongside my parameters. I need to have the menu item call the controller and also have the printer settings populate alongside my parameters.

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans