Navigation :
test ../ test changelog.html
Changelog
test ../ test faq.html
FAQ
test ../ test overview.html
Overview
test ../ test accelerator-settings.html
Accelerator Settings
test ../ test getting-started.html
Getting Started
test ../ test acc-sdk-features.html
Accelerator SDK Features
test ../ test acc-sdk-features/cell-style-bolding.html
- Cell Style Bolding
test ../ test acc-sdk-features/documentation-widget.html
- Documentation Widget
test ../ test acc-sdk-features/file-upload.html
- File Upload
test ../ test acc-sdk-features/navbar-date-filter.html
- Navbar Filter
test ../ test acc-sdk-features/navbar-help-documentation.html
- NavBar-HelpSubMenu-doc-link
test ../ test acc-sdk-features/parameter-sets.html
- Parameter Sets
test ../ test acc-sdk-features/pivot-table-compute.html
- Pivot Table Compute Action
test ../ test acc-sdk-features/pivot-table-d2d.html
- Pivot Table Day-To-Day Action
test ../ test acc-sdk-features/pivot-table-remove-other-measures.html
- Pivot Table Remove Other Measures Action
test ../ test acc-sdk-features/pivot-table-trade-scaling.html
- Pivot Table Trade Scaling Action
test ../ test acc-sdk-features/storytelling.html
- Storytelling
test ../ test acc-sdk-features/pivot-table-retrieve-underlying-measures.html
- Table retrieve underlying measures Action
test ../ test acc-sdk-features/what-if-book-hierarchy-widget.html
- What-If Book Hierarchy Widget
test ../ test acc-sdk-features/whatif-management.html
- What-If Manager
NavBar-HelpSubMenu-doc-link
Overview
Key: “accelerator_navbar-help-documentation”
Providing the docName and docUrl in defaultSettings.tsx would automatically create the documnetaion hyperlinks for the respective accelarators in the HelpsSubMenu.
This is a function which generates MenuItem React components which can be used inside of the Help Submenu in the ActiveUI App navbar.
Configuration required
This feature requires some settings, but also requires that you call the function and spread the resulting array into the HelpSubMenu.
import {
navbarHelpDocumentationPlugin ,
} from "@activeviam/accelerator-sdk" ;
import { defaultSettings } from "./defaultSettings" ;
const docObjects = defaultSettings ["accelerator_navbar-help-documentation" ];
if (docObjects ) {
applicationSubMenuHelp .children = [
applicationMenuItemDocumentation ,
...navbarHelpDocumentationPlugin (docObjects ),
applicationMenuItemAbout ,
];
}
const settingsKey = “accelerator_navbar-help-documentation”;
const navbarHelpDocumentationSettings = useAccSdkSettings()[settingsKey];