Add new Context Menu in AOT to Browse Table with Grid Toolbar – Dynamics AX

In this article we will see how we can extend Dynamics AX table browser to have standard grid toolbar like all other Dynamics AX forms. We will also create a new context menu in AOT > Data dictionary > Table > Add-Ins, called “Table browser – Advance”, which will show us our advanced table browser and the default Table browser context menu command will show standard table browser as usual.


This is how our advance table browser will look like:

Our context menu will look like this:

The AX project with all the modifications (bold nodes) we need to do can be found at the end of the post.

SysTableBrowser class contains necessary modifications to handle toolbar display and related code.

RahSysTableBrowser display menu item points to SysTableBrowser class such that it can be used to call with advance options.

SysContextMenu class contains validation to display our menu item only for tables and views.

SysContextMenu menu handles the Add-Ins context menu.

Code:
Download.

Join me on facebook and feel free to post your comments / feedback / queries.
If you liked the story and want to see more of this kind of content, please follow our twitter handle @CursorRun or FB page @CursorRun
Default image
Rahul Sharma
Rahul is a technology enthusiast, solutions architect, trainer, and blogger, working on various Microsoft and open source solutions with more than 18 years of industry experience. He specially takes interest in designing enterprise applications, cloud integrations, IoT, and other architecture rich business solutions.

Leave a Reply

%d bloggers like this: