Employee Centre Blank Filtered List Menu Item

Jamie McGee
Tera Contributor

I have an issue where a custom filtered list item looks like it is returning results from the filter, however they are not displayed correctly in the Employee Centre menu.

Here is a screen grab of the problem:

ESCIssue1.jpg

If I run my mouse cursor over the drop down list I can see it highlighting indivudual lines, however clicking on the highlighted blank line does nothing, it just closes the menu.

 

Here is the configuration of the menu item:

ESCIssue2.jpg

 

According to this KB article the issue should have been fixed in release 28.0.4+, our Employee Centre plugins are all up to date, however the problem persists for us:

ESCIssue3.jpg

 

I would not want to make a bespoke fix on our platform for this issue if it can be avoided due to the complications it can create at upgrade time.  Is anybody else facing this issue?

4 REPLIES 4

Stev Williams1
Tera Guru

Did you ever get this fixed?  I appear to have the same issue.  Checking https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1217280 I can see the instance has the fixes and replicated it in my PDI.

Stev Williams1
Tera Guru

Response from ServiceNow - 

  • The issue which you are facing is associated with PRB1726794 and it's under investigation. Remediation status is in progress.
  • PRB1726794 is fixed and targeted to be released in May and there is no workaround available at the moment.

danno928
Tera Expert

@Jamie McGee not sure where you ended up on this, but I was given the same KB @Stev Williams1 linked above which was referencing an update made several major versions ago and does not solve this issue. 

 

I recently faced this issue, opened a case with ServiceNow. After rejecting the solution proposed, the agent opened a new PRB which was closed by the product team as 'functioning as expected' and we were told that we simply could no longer use scripted list menu items in Employee Center because they have to be top level menu items, and the only way to add custom menu items is under the 'More' menu item. THIS IS INCORRECT!!

 

You can activate Advanced Portal Navigation, which replaces the OOB topic taxonomy-based navigation. While you still need to use topic taxonomy, with Advanced Portal Navigation, you set up individual menu items and can point them to either taxonomy or service portal menus. For taxonomy, you can simply sync heirarchy to bring in your taxonomy. For service portal menus, link to the menu item you want to display. 

 

My solution was to set up APN, create a menu item of type service portal menu, link my scripted list menu item. Assuming you are using a script similar to: like this one, it's a very simple modification. 

 

Thanks to @Alex Aluchi who solved my similar post, the CSS class which handles the display of drop-down menus in Employee Center is in the Employee Center Navigation widget. You need to point your script to var.name (var being whatever you named your Glide Record variable) within the while loop in your Glide Record query. Most of the scripted list menu examples out in the community reference var.item which worked in Service Portal.  

 

Here's my before and after:

Before

danno928_0-1727704954974.png

 

After

danno928_1-1727705037656.png

 

 

Our problem was fixed as part of the regular platform patching, but thanks for taking the time to compose such a detailed response.