Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

SSRS report controller parmShowDialog(false) doesn't work

(0) ShareShare
ReportReport
Posted on by 3,131

I have a report controller class and am trying to prevent the parameters dialog from showing in certain instances.

myController.parmShowDialog(false);

myController.StartOperation();

the parmShowDialog is not preventing the dialog from showing.

*This post is locked for comments

  • Community Member Profile Picture
    on at
    RE: SSRS report controller parmShowDialog(false) doesn't work

    Tried it on 365 and myController.parmLoadFromSysLastValue() still works.

  • Community Member Profile Picture
    on at
    RE: SSRS report controller parmShowDialog(false) doesn't work

    Hi, Sadly no I had not, I've been moved on to 365 now so I have a whole different set of issues!

  • Arkadia2 Profile Picture
    427 on at
    RE: SSRS report controller parmShowDialog(false) doesn't work

    Well, in case anyone cares, I found out how to work around the formRun abject error message. The controller main method must be defined as running on the client:

    public static void main(Args _args)

    instead of

    public static void main(Args _args)

    This could however prevent a report from running in batch.

  • Arkadia2 Profile Picture
    427 on at
    RE: SSRS report controller parmShowDialog(false) doesn't work

    Hi James,

    Howard was the last person who had participated to this thread. We're currently are using R3 cu8. I managed to control the parmshowDialog using a different menu item and checking for the source of the call to the controller like this, in the main method of the controller:

    if(_args  && _args.menuItemName() == menuitemOutputStr(silentTaxReporting))

       {

           controller.parmShowDialog(false);

           controller.parmLoadFromSysLastValue(false);

       }

       else

       {

           controller.parmShowDialog(true);

        }

    However subsequent run to the interactive session of the report yields a "Object Formrun could not be created". So in the end, I'm not really making any progress! :)

    Regards

  • Martin Dráb Profile Picture
    234,636 Most Valuable Professional on at
    RE: SSRS report controller parmShowDialog(false) doesn't work

    A workaround is fixing the underlying problem by yourself, as discussed in previous replies in this thread.

  • b_radlyjames Profile Picture
    3,131 on at
    RE: SSRS report controller parmShowDialog(false) doesn't work

    .

  • Arkadia2 Profile Picture
    427 on at
    RE: SSRS report controller parmShowDialog(false) doesn't work

    Hello Howard,

    Sorry for waking up an old thread.

    Have you ever find a workaround to this problem? Running into the exact broken behavior...

    Regards,

    Eric

  • Community Member Profile Picture
    on at
    RE: SSRS report controller parmShowDialog(false) doesn't work

    I'm not sure its by design - how then are you to suppress a dialog without removing all the user data? In my example I just want to print silently to the last location for the report. In addition they use the parmShowDialog in a lot of places.

    I may raise it to see what they say. I don't think there is any other practical way to supress the dialog and keep the usage data....

  • Martin Dráb Profile Picture
    234,636 Most Valuable Professional on at
    RE: SSRS report controller parmShowDialog(false) doesn't work

    No, I didn't raise it with Microsoft, because it's likely by design. You can raise it by yourself, if you want.

    I'm currently looking into R2 and it's there.

  • Community Member Profile Picture
    on at
    RE: SSRS report controller parmShowDialog(false) doesn't work

    No I'd not want to be messing with it too much and changing every single report controller class that I want to supress a dialog on seems like overkill too. Have you raised it with Microsoft? BTW I've also just tested it on 6.2.1000.1437 and it works. My best guess would be its something introduced in R3

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Kempeth Profile Picture

Kempeth 4

#1
Andy Adamak Profile Picture

Andy Adamak 4

#1
Community Member Profile Picture

Community Member 4

Featured topics

Product updates

Dynamics 365 release plans