In this page will be explainded how to add items to the menu with GAM or Advanced Security.
In this example is described how add an item with subitems, but you can add only items without subitems too.
If you are using GAM in Genexus Evolution 3 you need to follow the steps to advanced security explained in the section of Advanced Security. Instead of, if you are in Genexus 15, you should to do the following steps:
First you need to go to 'Edit Menu Options', go back and Insert a new item in 'Menus Of Application':
In this example is created one called 'InvoiceMenuItem'.
You need to go to 'Options' of the item:
Then, insert the subitem in the menu:
In this case is added 'InvoiceAccount', this should be an 'simple' item or a 'menu' item if you want that this element to have more secondary elements in turn.
Then you should go back, go to the 'Options' of the MainMenu and add another item. This item need to be 'menu' type and the name that you set in this item will be the name that will appear in the menu.
This new item need point to the item created in step 1.
The result is the following:
You need to enter to 'Edit Menu Options', go to your Main Menu and select the action 'Edit Menu' of the Grid:
Then you need to select the action 'Add Menu Option' of the item MainMenu:
The item of the menu that you will add the sub-items need to be 'Menu' type:
To add the sub-items you need select 'Add Menu Option':
At Runtime:
|