Adding Favorites programmatically
In Dynamics Ax 4.0, each user can have a Favorites pane. Normally, you can add a menu item to the Favorites pane by dragging and dropping it. I created a small job where you can see how to add a form programmatically to the Favorites pane. (The job has been created using some standard methods).