GlideMenu - getItem(String itemID)

Returns a menu item by item ID.

It can be necessary to find an item in a menu so that it can be changed before being displayed. Each menu item may be assigned a unique ID when the menu item is created (either from a UI Context Menu entry or from the addAction() method in the Dynamic Script Action).

Table 1. Parameters
Name Type Description
itemID String Specifies the item to be returned.
Table 2. Returns
Type Description
GlideMenuItem The menu item