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 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.
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.
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.
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
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,104 Most Valuable Professional
nmaenpaa 101,156