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).
The job can be downloaded from Axaptapedia here: http://www.axaptapedia.com/images/6/63/Job_hw_addToFavorites.xpo
The Axaptapedia page for this is: http://www.axaptapedia.com/Adding_Favorites_programmatically
Next steps can be: adding a query to the favorite via X++, add a button on each form to add it to favorites
Development tutorial: SysExtension framework in factory methods where the constructor requires one or more arguments
vor 1 Woche