# MenuItem

## Overview

The **Menu Item** node represents an individual menu entry within a [Menu](/reference/servoy-developer/solution-explorer/all-solutions/active-solution/menus/menu.md#overview). Each **Menu Item** defines an actionable element, such as a navigation link, script execution, or other interactive functionality. Menu Items are arranged hierarchically within a [Menu](/reference/servoy-developer/solution-explorer/all-solutions/active-solution/menus/menu.md#overview), and their order can be adjusted.

## Properties Summary

See [Menu Item](/reference/servoycore/object-model/solution/menuitem.md#properties-summarized) for properties that can be set on a **Menu** from Properties View.

## Commands Summary

A summary of commands available on this item via right-click context menu:

| Command                               | Summary                                                                                                                      |
| ------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
| [Edit menu](#edit-menu)               | Opens the [New MenuItem Wizard](/reference/servoy-developer/object-editors/new-menu-wizard/new-menu-item-wizard.md#overview) |
| [Create menu item](#create-menu-item) | Opens the [New MenuItem Wizard](/reference/servoy-developer/object-editors/new-menu-wizard/new-menu-item-wizard.md#overview) |
| [Move Up](#move-up)                   | Moves the menu item up in the order                                                                                          |
| [Move Down](#move-down)               | Moves the menu item down in the orde                                                                                         |
| [Delete menu item](#delete-menu-item) | Deletes the menu item from the menu                                                                                          |

## Commands Details

The details for each command available on this item via right-click context menu:

### Edit menu

Opens the [Menu Editor](/reference/servoy-developer/object-editors/servoy-menu-editor.md#menu-editor) in order to create, delete, configure [menu items](#overview).

### Create menu item

Opens the [New MenuItem Wizard](/reference/servoy-developer/object-editors/new-menu-wizard/new-menu-item-wizard.md#overview) in order to create a **new submenu item**.\
The new created submenu item is added under the selected menu item. Submenu items can provide nested navigation, allowing hierarchical structures within a Menu.

### Move Up

Moves the selected Menu Item higher in the list, changing its order within the Menu. Useful for reordering items.

### Move Down

Moves the selected Menu Item lower in the list, changing its order within the Menu.

### Delete menu item

Removes the selected Menu Item from the Menu. If the Menu Item has child submenu items, they will also be removed.


---

# 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.servoy.com/reference/servoy-developer/solution-explorer/all-solutions/active-solution/menus/menu/menu-item.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.
