DescribeAppMenuResult

The describeAppMenu() call returns a list of menu items contained in the specified menu type.

The following types are available in API version 29.0 and later.

NameTypeDescription
appMenuItemsDescribeAppMenuItem[]Array of one or more menu items in the selected menu type.

DescribeAppMenuItem 

Each DescribeAppMenuItem object has these fields:

NameTypeDescription
colorsDescribeColor[]Array of color information used for the tab associated with the menu item.
contentstringInformation that helps build the menu item. Each menu item has a different type of content for this field. For example, the Salesforce app menu type could contain:
  • FlexiPage—the ID of the Lightning page
  • Visualforce tab—the URL to the page, such as /apex/myApexPage.
Menu items of types other than these don’t use this field.
iconsDescribeColor[]Array of icon information used for the tab associated with the menu item.
labelstringThe display label of the menu item.
namestringAPI name of the menu item.
typestringThe type of menu item, and its subtype, if any. Possible values for the Salesforce app menu type are:
  • Standard.Dashboards—Dashboards menu item
  • Standard.Feed—Chatter feed menu item
  • Standard.Today—the Today menu item
  • Standard.Tasks—Tasks menu item
  • Tab.apexPage—a Visualforce tab menu item
  • Tab.flexipage—a Lightning page tab menu item
urlstringThe Salesforce URL the menu item should point to. For the Salesforce app menu type, this field is null for the Dashboards, Feed, Today, Tasks, and Lightning page menu items.