Need to Add Dropdown Caret for Subcategories in Employee Center Mega Menu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Background
Hi Community,
The caret logic is controlled by the OOB Employee Center Navigation widget, which is flagged as:
- High‑Risk (may not receive updates if modified)
- Read‑only / Protected by platform security
- Used heavily across Employee Center
Because of these restrictions, I’m trying to determine the safest way to implement this customization.
Is it feasible and supported to customize or clone the Employee Center Navigation widget specifically to adjust the logic that determines whether a caret should appear for sub‑categories?
Additional Clarifications I’m Looking For
- Does cloning this widget cause upgrade‑compatibility problems in Employee Center?
- Has anyone successfully overridden the caret logic (e.g.,
hasChildItems(item)) through safe customization of "Employee Center Navigation" widget.
Any guidance on whether customizing the widget is advisable—or if there’s a more upgrade‑safe alternative—would be greatly appreciated.
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi ,
You’re absolutely right to be cautious here — since the Employee Center Navigation widget is OOB and marked high-risk, we should follow an upgrade-safe approach first, and only go for cloning if required.
Step-by-Step Approach
Step 1: Verify Menu Hierarchy (Most Important)
Before any customization, check if your subcategories are configured correctly.
Navigate to:
Employee Center → Navigation → Menu Items
Open your parent category
Ensure:
Subcategories are added as Child Menu Items
Proper parent-child relationship exists
The caret (▼) appears only when the system detects child items
Step 2: Test OOTB Behavior
After fixing hierarchy, reload Employee Center
Check if caret appears automatically
✔ In many cases, no customization is needed
Step 3: Add Caret via CSS
If caret is not showing but structure is correct, use CSS:
Go to:
Service Portal → Themes → CSS
Add:
content: " ▼";
font-size: 10px;
margin-left: 5px;
}
3.Save and refresh portal
✔ No widget modification
✔ Fully upgrade safe
Step 4: Clone Widget (Only If Logic Change Needed)
If you want to force caret for subcategories, then:
Go to:
Service Portal → Widgets
Open:
Employee Center Navigation
Click Clone Widget
Step 5: Modify Caret Logic
In the cloned widget:
Search for logic like:
hasChildItems(item)Modify it:
}
Step 6: Replace OOTB Widget
Go to:
Employee Center → Portal Configuration
Update Header / Navigation
Replace OOB widget with your cloned widget
Step 7: Test
Reload Employee Center
Verify:
Caret appears for subcategories
Navigation works correctly
