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)

add custom button to Menu Items Action

(1) ShareShare
ReportReport
Posted on by 822

Hello,

how can i add custom button to Menu Items -> Action

Regards,

David

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Agha SirajulDola Profile Picture
    555 on at

    Add Button on From, Override Clicked Method on it with following Code.

    menuFunction = new MenuFunction(menuitemActionStr(MenuItem), MenuItemType::Action);

      if (menuFunction && menuFunction.checkAccessRights())

      {

          menuFunction.run(args);

      }

  • RaviRaj Profile Picture
    530 on at

    Hi David,

      Create new Menuitembutton in form and set the properties to specify the object type and object name.

  • Suggested answer
    Mahmoud Hakim Profile Picture
    17,887 on at

    there are menu item button type , you can use it.

    and just set object name to it.

  • David Tailor Profile Picture
    822 on at

    Hi Raja,

    how to create Menuitembutton in form?

    can you send the steps

    Regards,

    David

  • Suggested answer
    Mahmoud Hakim Profile Picture
    17,887 on at

    Open AOT/forms/select your form

    Go to design and right click , add menu item button

    Go to properties and set object type and object name

  • Verified answer
    RaviRaj Profile Picture
    530 on at

    Hi David,

       Select the form design and right click

       Select the new control and select new menu item button

       Select the property and last property specify the

       Menu item type -->action

       Menu item name-->select your object anme

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Sagar Suman Profile Picture

Sagar Suman 2 Super User 2026 Season 1

#1
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#1
Pratik Bhosle Profile Picture

Pratik Bhosle 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans