How To add Menu Items

In this page will be explainded how to add items to the menu with GAM or Advanced Security.

Add Menu Items for GAM

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:

Step 1

First you need to go to 'Edit Menu Options', go back and Insert a new item in 'Menus Of Application':

HowToAddMenuItemsImg01

In this example is created one called 'InvoiceMenuItem'.

HowToAddMenuItemsImg02

Step 2

You need to go to 'Options' of the item:

HowToAddMenuItemsImg03

Step 3

Then, insert the subitem in the menu:

HowToAddMenuItemsImg04

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.

HowToAddMenuItemsImg05

Step 4

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.

HowToAddMenuItemsImg06

This new item need point to the item created in step 1.

HowToAddMenuItemsImg07

The result is the following:

HowToAddMenuItemsImg08

Add Menu Items for Advanced Security

Step 1

You need to enter to 'Edit Menu Options', go to your Main Menu and select the action 'Edit Menu' of the Grid:

HowToAddMenuItemsImg09

Step 2

Then you need to select the action 'Add Menu Option' of the item MainMenu:

HowToAddMenuItemsImg10

Step 3

The item of the menu that you will add the sub-items need to be 'Menu' type:

HowToAddMenuItemsImg11

Step 4

To add the sub-items you need select 'Add Menu Option':

HowToAddMenuItemsImg12

HowToAddMenuItemsImg13

At Runtime:

HowToAddMenuItemsImg14