--- title: Application Menu API - ServiceNow Fluent description: The Application Menu API defines menus in the application navigator \[sys\_app\_application\].Create a menu for an application \[sys\_app\_application\]. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/application-development/servicenow-sdk/app-menu-api-now-ts.html release: australia product: ServiceNow SDK classification: servicenow-sdk topic_type: reference last_updated: "2026-03-12" reading_time_minutes: 2 breadcrumb: [ServiceNow Fluent API reference, Reference, ServiceNow SDK, Building applications in source code, Building pro-code applications, Developing your application, Building applications] --- # Application Menu API - ServiceNow Fluent The Application Menu API defines menus in the application navigator \[sys\_app\_application\]. **Note:** For the latest ServiceNow Fluent API documentation and examples, see the [ServiceNow Fluent API reference](https://servicenow.github.io/sdk/category/api-reference) and [ServiceNow SDK examples repository](https://github.com/ServiceNow/sdk-examples) on GitHub. For general information about application menus, see [Create an application menu](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/application-development/automated-test-framework-atf/test-steps-app-navigator-category.md). **Parent Topic:**[ServiceNow Fluent API reference](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/application-development/servicenow-sdk/servicenow-fluent-api-reference.md) **Related topics** [ServiceNow Fluent](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/application-development/servicenow-fluent.md) ## ApplicationMenu object Create a menu for an application \[sys\_app\_application\].
Name Type Description
$id String or Number Required. A unique ID for the metadata object. When you build the application, this ID is hashed into a unique sys\_id. For more information, see [ServiceNow Fluent language constructs](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/application-development/servicenow-sdk/fluent-constructs.md).Format: `Now.ID['String' or Number]`
title String Required. The label for the menu in the application navigator.
active Boolean Flag that indicates whether the menu appears in the application navigator.Valid values: - true: The menu appears. - false: The menu is hidden. Default: true
roles Array A list of variable identifiers of Role objects or names of roles that can access the menu. For more information, see [Role API - ServiceNow Fluent](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/application-development/servicenow-sdk/role-api-now-ts.md).
category Reference The variable identifier of a menu category \[sys\_app\_category\] that defines the navigation menu style. To define a menu category, use the [Record API - ServiceNow Fluent](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/application-development/servicenow-sdk/record-api-now-ts.md).For general information about menu categories, see [Customize menu categories](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/platform-user-interface/customize-menu-categories.md).
hint String A short description of the menu that displays as tooltip when hovering over it.
description String Additional information about what the application does.
name String An internal name to differentiate between applications with the same title.
order Number The relative position of the application menu in the application navigator.Default: 100
$meta Object Metadata for the application metadata.With the installMethod property, you can map the application metadata to an output directory that loads only in specific circumstances. ```javascript $meta: {       installMethod: 'String' } ``` Valid values for installMethod: - demo: Outputs the application metadata to the `metadata/unload.demo` directory to be installed with the application when the **Load demo data** option is selected. - first install: Outputs the application metadata to the `metadata/unload` directory to be installed only the first time an application is installed on an instance.
```javascript import { ApplicationMenu } from "@servicenow/sdk/core"; ApplicationMenu({ $id: Now.ID['my_app_menu'], title: 'My App Menu', hint: 'This is a hint', description: 'This is a description', category: appCategory, roles: ['admin'], active: true, }) ``` The category referenced is defined using the Record object: ```javascript import { Record } from "@servicenow/sdk/core"; export const appCategory = Record({ table: 'sys_app_category', $id: Now.ID[9], data: { name: 'example', style: 'border-color: #a7cded; background-color: #e3f3ff;', }, }) ```