This post will show you how to open a web page from a menu item in the standard Microsoft Dynamics AX client. It includes a brief code sample with a step-by-step explanation of how to set up the menu item. Enterprise Portal is not required for this scenario.
Download and install the SharedProject_LaunchWebBrowser.xpo file into your test environment.
The code to open the web browser is located in the run() method.
public void run()
error(“Cannot launch web browser because no URL has been specified.”);
Notice the properties on the LaunchWebBrowser menu item.
Navigate to AOT > Menus. Right-click on the Administration menu and select Open New Window. Drag and drop the LaunchWebBrowser menu item onto the Administration menu.
Close your AX client and then restart it. You should now be able to see your new menu item in the Administration > Common Forms section. When you click the Launch web browser menu item, the default web browser on your workstation will open the web page specified in the Parameters property.