const embed = new AppEmbed("#embed", {
//... V3 experience attributes
showPrimaryNavbar: true,
hideApplicationSwitcher: true,
disableProfileAndHelp: true,
hideObjectSearch: true,
hideNotification: true,
//... other attributes
});
Customize navigation panels
You can customize the navigation experience and the visibility of navigation menu elements using the Visual Embed SDK.
|
Important
|
The classic V1 and V2 navigation and homepage experience modes are deprecated as of ThoughtSpot Cloud 26.8.0.cl. Starting from this release, all embedded sessions render in the V3 navigation experience by default. |
Navigation experience🔗
Both V3 and V4 experience provide the following navigation experience:
-
Top navigation bar with a modern look and feel. Includes the following components:
-
A hamburger icon for the sliding navigation overlay
-
Object search bar
-
Help and profile icons
-
Org switcher
-
-
Left navigation
-
A sliding left navigation panel controlled via the hamburger icon
-
Persona-based app selection icons in the panel header
-
Left navigation menu that adjusts its contents according to the application context
-
|
Note
|
The V4 focused home page experience ( |
Customize the top navigation bar🔗
The following customization settings are available for the top navigation bar.
| SDK property | V3 experienceHomePage.ModularWithStylingChanges | V4 experienceHomePage.Focused |
|---|---|---|
| ✓ Supported | ✓ Supported |
| ✓ Supported | ✓ Supported |
| ✓ Supported | ✓ Supported |
| ✓ Supported | ✓ Supported |
| ✓ Supported | ✓ Supported |
| ✓ Supported | ✓ Supported |
| ✓ Supported | ✓ Supported |
Example🔗
The following example hides the icons in the top navigation and the application selection menu:
Command palette availability in embed🔗
In ThoughtSpot application, users can open the command palette by pressing kbd:[Cmd+K] on macOS or kbd:[Ctrl+K] on Windows to quickly navigate to objects and perform actions. However, when you embed ThoughtSpot, this feature is disabled and embedded pages include only the standard object search experience.
Customize the left navigation panel on the home page🔗
In the V3 and V4 experience modes, the left navigation panel on the Insights > Home page includes menu items such as Spotter, Answers, Liveboards, SpotIQ Analysis, Monitor Subscriptions, and more. You can hide this navigation panel by setting the hideHomepageLeftNav property to true in the SDK. Note that this attribute hides the left navigation only on the home page.
If you want to include the left navigation, but hide only a specific section in the Insights panel, use the hiddenHomeLeftNavItems property and specify the menu items to hide. The allowed values for hiddenHomeLeftNavItems are listed in the following table:
| Allowed values | V3 experienceHomePage.ModularWithStylingChanges | V4 experienceHomePage.Focused |
|---|---|---|
| ✓ Supported | ✓ Supported |
| ✓ Supported | ✓ Supported |
| ✓ Supported | ✓ Supported |
| ✓ Supported | ✓ Supported |
| ✓ Supported | ✓ Supported |
| ✓ Supported | ✓ Supported |
| ✓ Supported | ✓ Supported |
| ✓ Supported | ✓ Supported |
| ✓ Supported | x Not supported |
| ✓ Supported | ✓ Supported |
| ✓ Supported | ✓ Supported |