Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

SSRS Report open in form button

Posted on by 61

How to open a ssrs query base report in form button?

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: SSRS Report open in form button

    Hi.I use the code:

    /////////////////////////////////////////////////////////

    MenuFunction menuFunction;

    menuFunction = new MenuFunction(menuItemOutputStr(MyOutputMenuItem), MenuItemType::Output);

    menuFunction.run();

    /////////////////////////////////////////////////////////

    REFERENCE WITH EXAMPLES: devexpp.blogspot.mx/.../execute-menu-items-through-code.html

  • Verified answer
    Ayaz Sayz Profile Picture
    Ayaz Sayz 61 on at
    RE: SSRS Report open in form button

    Thanks Lhamo

  • Verified answer
    Ayaz Sayz Profile Picture
    Ayaz Sayz 61 on at
    RE: SSRS Report open in form button

    Thank You Roberto i have already  done this but what i need i just need to create separate button and call a report on button click. i don't want to create menu item

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: SSRS Report open in form button

    technet.microsoft.com/.../Cc606402.aspx

    Please follow the link above first to create menu item(output) for report.

    Once that's done> go to your form>expand your form to Designs node> under Design>ActionPane:ActionPaneHeader>ActionPane Tab>Create a Button Group> in the button group, right click and select MenuItemButton to create a "button"(you will click on this button to open up report) on the form> on this menu item's propertie's> specify MenuItemType as Output >MenuItemName as "whatever name you gave it when you first created it"(hint: name of output menuitem)> go to the form and click on the button you just created to open it.

    Hope this helps!

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: SSRS Report open in form button

    Hi!!

    you need creat a MenuItem type output. The output Objetctype = "SSRSReport" and Objet = "Name of report", later drag the output from your form and ready.

    bye

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans