Edit in GitHubLog an issue

Interface: TopbarApiProperties

Hierarchy

  • TopbarApiProperties

    TopbarApi

Index

Properties

Properties

customEnvLabel

customEnvLabel: string

Gets or sets a custom environment label in the shell.

Example:

Copied to your clipboard
topbar.customEnvLabel = 'Beta';

solution

solution: Solution

Configuration for solution name and hero.

Example:

Copied to your clipboard
topbar.solution = {
icon: 'AdobeExperienceCloud',
title: 'Adobe Experience Cloud22',
shortTitle: 'AEC'
};

workspaces

workspaces: WorkspaceMenu[]

Configuration for the Shell workspaces. Workspace names should be unique, and should be localized using the unified shell locale prior to setting runtime.workspaces.

Copied to your clipboard
topbar.workspaces = [
{name: 'Home', url: '/'},
{name: 'ABC', url: '/abc'},
{name: 'DEF', url: '/def'}
];

Unified shell also supports workspace flyout menus, where clicking on a workspace displays a dropdown menu. The top-level workspace is present in the dropdown menu as the first menu item. Menus may be nested multiple times, and used in combination with normal workspaces. By default, parent menu items will be automatically added to the sub-menu due to how the user interaction works. To prevent this functionality, simply remove the url property on the parent item and it will not be injected into the sub-menu.

Copied to your clipboard
topbar.workspaces = [
{name: 'Home', url: '/'},
{name: 'ABC', url: '/abc'},
{
name: 'DEF',
url: '/def',
menu: [
{
name: 'GHI',
url: '/def/ghi',
menu: [
{name: 'JKL', url: '/def/ghi/jkl'}
]
}
]
}
];
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.