
Developers often get confused what the difference is between the three different menu item types shown in AOT and when should you use them as it appears that all menu items inside the three ‘folders’ I would say have the same set of properties and support the same object types. So, what is the difference? The answer is that there is no difference, the difference is a conceptual one rather than a functional or a technical one.
1. Display Menu item
This folder is used to contain menu items that reference runnable objects which are primarily for presenting data to the user such as forms and dialogs.
2. Output Menu item
An output menu item should have the sole purpose to print a result, mostly used for referencing classes.
3. Action Menu item
As the name says it, you should create a menu item under this folder if your runnable object has an action to perform, for example creating or updating data.
So, choosing between these three is on the developer’s sole discretion and I hope now you’ll be able to make a better choice for your scenario. A basic rule of thumb is:
- Display – This type is used for opening forms in the web browser
- Action – This type is used to start periodic tasks or update processes
- Output – This type is used to start reports