Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Answered

SSRS Report open in form button

Posted on by 61

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

Categories:
  • 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

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,353 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,251 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans