Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Action Menuitems in lookup in String control in Form datasource

Posted on by 2,420

Good Morning,

I am trying to get all Action Menu items in string control lookup.

i have created a  class then added extension for that form and copied onLookup() event handler and what can i do now.

How can i get all action menu items.

please provide some example to do this.

*This post is locked for comments

  • Xin Duan Profile Picture
    Xin Duan 515 on at
    RE: Action Menuitems in lookup in String control in Form datasource

    SysMetaMenuItemActionNameLookup is a table? or a table method?

    I cannot find it.

  • Crispin John Augustine Profile Picture
    Crispin John Augustine 37,081 on at
    RE: Action Menuitems in lookup in String control in Form datasource

    That's an even better solution

  • Verified answer
    AX 2012 r3 Profile Picture
    AX 2012 r3 2,420 on at
    RE: Action Menuitems in lookup in String control in Form datasource

    Hi Crispin,

    Thank you for the reply.

    I found out one table    SysMetaMenuItemActionNameLookup.

    There are 2 another tables even for Display and output.

    I got lookup now. Cheers

    Through this i am able to get all Action menu items.

    Regards.

    Have a great day.

  • Suggested answer
    Crispin John Augustine Profile Picture
    Crispin John Augustine 37,081 on at
    RE: Action Menuitems in lookup in String control in Form datasource

    Quite simple. Iterate through the AOT, filling the names of all Action menu items in a temp table, and Show it on the lookup.

    AOT Iteration, here's an example with Menus. dynamicsuser.net/.../want-to-traverse-aot-menu-in-ax2012

    do the same for Action menuitems.

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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans