web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

How can i get all menu items output name in ax2012

(0) ShareShare
ReportReport
Posted on by 2

Hi,

How can i get all the output menu items name in ax2012 ? Is there any specific table which holds the menu item name and Ssrs report Id? Any idea

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    nmaenpaa Profile Picture
    101,172 Moderator on at

    This blog should provide the information that you need: ronnyfch.wordpress.com/.../how-to-get-list-of-all-menu-items-at-ax-and-the-license-on-it

    The blog shows how to list all menu items that require some user license, but you should be able to use that information to fulfill your requirement. The important thing is that it shows you how to iterate through menu items, and how to inspect properties of the menu items in code.

  • Zohan Profile Picture
    2 on at

    This is not i'm looking for. Actually i want to get the list of All menu items Output that are used for SSRS reports.

  • Suggested answer
    nmaenpaa Profile Picture
    101,172 Moderator on at

    Like I said, you can use the information provided in the blog to achieve your goal. You need to:

    1) Iterate all Output menu items

    2) For each of them, check if it has Object type: SSRS Report or Object type: Class AND Object: "*Controller"

    3) If yes, write the menu item name to infolog

    At least that should get you quite close.

  • Zohan Profile Picture
    2 on at

    Do you know any specific table or something else where system stores all the records of Output menu item? so i can get the name by looping all of them.

  • Suggested answer
    nmaenpaa Profile Picture
    101,172 Moderator on at

    You can use the TreeNode class like shown in the blog. Why is it not ok for you?

    The below example is done by examining the blog post:

    static void listOutputMenuItems(Args _args)
    {
        #Properties
        #AOT
    
        TreeNode listNode, itemNode;
        TreeNodeIterator itemNodeIt;
             
        listNode = TreeNode::findNode(#MenuItemsOutputPath);     
        itemNodeIt = listNode.AOTiterator();
        itemNode = itemNodeIt.next();
    
        while (itemNode)
        {
            info(itemNode.AOTgetProperty(#PropertyName));
            itemNode.treeNodeRelease();
            itemNode = itemNodeIt.next();
        }
    }


  • André Arnaud de Calavon Profile Picture
    304,508 Super User 2026 Season 1 on at

    Hi Zohan,

    I don't know your exact requirement. You can also find all output menu items in the System table (view on the model database) called ModelElement. Then filter the record type field to show only OutputTool. This will only give a menu item output name, but not the SSRS report itself. To get that, you need to use Dictionary classes to read properties.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 39

#2
Michel ROY Profile Picture

Michel ROY 14

#3
imran ul haq Profile Picture

imran ul haq 8

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans