Is there any way to Build Level 1 ,2,3 menu items in Employee center.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2023 02:34 AM - edited ‎05-16-2023 04:24 AM
We are in a urgent requirement to display multiple L3 Sub menu items acting as external link or links to open Knowledge Articles. For now we can display only upto L2's menu items OOB .But we have many sub menu items to be shown on portal.
(In simple is there any way to have many Sub menu items& Sub Sub Menu items... as we achieve it in taxonomy,i.e; Look and feel of taxonomy but links acting as it does in Menu items?)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2023 03:25 AM
@soumya5 At present there is only three tiers in the Mega Menu in ESC.
- Root Topic
- Child Topic 1
- Child Topic 2
So an example would be IT -> Hardware -> Printers
Quicklinks in the Taxonomy is obviously a method whereby you can render a link to anywhere in the Mega Menu. When quicklinks are added a new area of the Mega Menu appears for QuickLinks.
What are the sort of links you are required to add? Adding external links into the tier structure doesn't sound like great design to me (might just be my opinion). Ideally your Mega Menu items should be bringing users to a Topic, where by all means on a Topic page you can render Quicklinks on the page etc.
Remember that Topics have a field called 'Topic Template'. This allows you create configurable pages to apply to a Topic, that does not impact all other topics layouts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2023 03:26 AM
HI @soumya5 ,
I trust you are doing fine.
Here's a high-level approach to implement this solution:
Create a new taxonomy category: Start by creating a new taxonomy category to serve as the container for your L3 submenu items. You can name it based on your requirements.
Add L3 terms as submenu items: Under the newly created taxonomy category, add L3 terms as submenu items. Each term will represent a submenu item you want to display on the portal.
Configure L3 terms as external links: Modify the L3 terms and configure them as external links. This can be done by specifying the URL of the respective Knowledge Article in the term's configuration.
Customize the portal navigation menu: Customize the portal navigation menu to include the new L3 submenu items. You'll need to modify the menu widget or component responsible for rendering the menu. Add logic to retrieve and display the L3 terms as submenu items under the corresponding L2 menu items.
Retrieve L3 terms and render submenu items: Write server-side JavaScript code or use ServiceNow APIs to retrieve the L3 terms configured as external links. Iterate through the terms and dynamically generate the submenu items with their respective URLs.
Update the portal theme: If necessary, update the portal theme to ensure that the submenu items are displayed correctly and in a visually appealing manner. This may involve modifying the CSS styles or layout of the menu.
Test and validate: Test the implementation thoroughly to ensure that the L3 submenu items are displayed correctly and that clicking on them opens the corresponding Knowledge Articles.
Was this answer helpful?
Please consider marking it correct or helpful.
Your feedback helps us improve!
Thank you!
Regards,
Amit Gujrathi