NavigationMenuItem

A navigation menu item in an Experience Cloud site

CMSCommunitiesCRMCustomer PortalDigital ExperienceExperience CloudPartner Portal

Properties

Name Type Description
id string Unique identifier of the menu item
label string Display label of the menu item
menuItemType string Type of the menu item
position integer Display position order
target string Target URL or page reference
targetPreferences string Target opening behavior
subMenu array Nested submenu items
View JSON Schema on GitHub

JSON Schema

salesforce-experience-cloud-navigationmenuitem-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/NavigationMenuItem",
  "title": "NavigationMenuItem",
  "type": "object",
  "description": "A navigation menu item in an Experience Cloud site",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier of the menu item"
    },
    "label": {
      "type": "string",
      "description": "Display label of the menu item"
    },
    "menuItemType": {
      "type": "string",
      "description": "Type of the menu item",
      "enum": [
        "ExternalLink",
        "InternalLink",
        "MenuLabel",
        "NavigationalTopic",
        "SalesforceObject",
        "GlobalAction"
      ]
    },
    "position": {
      "type": "integer",
      "description": "Display position order"
    },
    "target": {
      "type": "string",
      "description": "Target URL or page reference"
    },
    "targetPreferences": {
      "type": "string",
      "description": "Target opening behavior"
    },
    "subMenu": {
      "type": "array",
      "description": "Nested submenu items",
      "items": {
        "$ref": "#/components/schemas/NavigationMenuItem"
      }
    }
  }
}