# Menu & Navigation in ONEWEB

ONEWEB follows a hierarchical navigational structure. Using ONEWEB you can link entities or pages to your application using the **Menu Configuration** screen.

![](https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2F9kUuVugnsl45LVKFeFnE%2Fimage.png?alt=media\&token=a1defcb2-10e5-46b5-8418-90c820a8cff6)

Select the hierarchical position of your menu item and click on the icon. It opens the **Menu Properties** screen.

<div align="left"><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FYpf9OtKvrpLMcQcgTffF%2Fimage.png?alt=media&#x26;token=9412d778-d30b-425c-90f5-06e6e13b827e" alt=""></div>

The purpose of each property in the configuration screen is given in the below table

<table><thead><tr><th width="150">Property</th><th width="150">Mandatory</th><th width="175">Default</th><th>Description</th></tr></thead><tbody><tr><td>Menu ID</td><td>Yes</td><td>System Generated</td><td>It is the system generated ID for the Menu and cannot be modified.</td></tr><tr><td>Description</td><td>Yes</td><td> </td><td>It is Menu Name displayed on the Menu Screen.</td></tr><tr><td>Sequence</td><td>Yes</td><td> </td><td>The sequence in which to show this menu item.</td></tr><tr><td>Mapping</td><td>No</td><td> </td><td>To select the entity to be shown on click of the Menu. Use only when you want to link an entity to the menu. Once you select the Entity you also need to select the mode in which to open the entity from the next list box. You can open an Entity from a Menu in either <strong>SEARCH</strong> mode or <strong>INSERT</strong> mode</td></tr><tr><td>Action URL</td><td>Yes</td><td> </td><td>The URL to be executed on click of the Menu. If the menu is linked to an entity, you can select the entity in the mapping field and click on <strong>Generate</strong> button to generate the url in this field. But for linking to anything else user needs to input the URL here.</td></tr><tr><td>Reference</td><td>Yes</td><td>System Generated</td><td>This field points to the parent menu for the menu item and cannot be modified.</td></tr><tr><td>Type</td><td>Yes</td><td>LABEL</td><td>The type of action to be loaded on click of a menu. The two options are <strong>LABEL</strong> &#x26; <strong>PAGE</strong>. LABEL is used to mark a parent menu. If you mark a menu as type LABEL, on click of it the menu expands to show the child menu items. If a menu is marked as a page, on click of the menu system will load the URL defined for that menu.</td></tr><tr><td>Action Target</td><td>Yes</td><td>mainframe</td><td>To define the frame that is to be loaded with the response from URL. Two options are <strong>mainframe</strong> &#x26; <strong>mainheader</strong>.</td></tr><tr><td>Menu Level</td><td>Yes</td><td>System Generated</td><td>If shows the level of the current menu item in the full menu hierarchy. It is system generated and cannot be modified.</td></tr></tbody></table>

Enter the details of your menu item properties. Click OK. On the Menu Configuration screen click on Save Menu, logout of ONEWEB and login. Your menu item is ready to use.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.oneweb.tech/oneweb/design-and-develop-oneweb-apps/design-and-develop-ux-ui/ux-ui-components/menu-and-navigation/menu-and-navigation-in-oneweb.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
