Skip to main content

CreateMenuInput

A new menu item.

input CreateMenuInput {
description: String
icon: String
isActive: Boolean!
isMainMenu: Boolean!
label: String!
menuType: MenuType!
name: String!
order: Int!
parentId: String
path: String
requiredPermissions: [String!]
}

Fields​

CreateMenuInput.description ● String scalar​

What the menu item is for.

CreateMenuInput.icon ● String scalar​

The icon of the menu item.

CreateMenuInput.isActive ● Boolean! non-null scalar​

Whether the record is active.

CreateMenuInput.isMainMenu ● Boolean! non-null scalar​

True when the item is a main menu entry.

CreateMenuInput.label ● String! non-null scalar​

The text shown for the menu item.

MAIN or SUB.

CreateMenuInput.name ● String! non-null scalar​

The internal name of the menu item.

CreateMenuInput.order ● Int! non-null scalar​

The position among its siblings, lowest first.

CreateMenuInput.parentId ● String scalar​

The ID of the parent menu item.

CreateMenuInput.path ● String scalar​

The address the menu item opens.

CreateMenuInput.requiredPermissions ● [String!] list scalar​

The permissions needed to see the item.

Member Of​

createMenu mutation