in Service Manager

SCSM 2016 UR3 breaks HTML portal Hamburger menu hyperlinks

This issue was initially discovered by Jure Jeram and all credits for the workaround below goes to him. His findings are also documented in Service Manger forums. Thanks for sharing your findings!

With update rollup 3 for Service Manager 2016 released by the end of May 2017, a small issue seems to pop up after applying it to the out of the box HTML portal of Service Manager 2016.

The installation of UR3 applies some changes to the files sidenavigator.js and Sidebar.cshtml of the HTML portal. However it seems as if this breaks the hyperlinks in the expanded Hamburger menu on the portal.

Basically several lines in menuActions function in sidenavigator.js are commented out after applying update rollup 3.

Sidenavigator.js after installing UR3

Furthermore UR3 adds some hyperlink HTML tags to Sidebar.cshtml. It seems that some functionality affecting the Hamburger menu was moved from sidenavigator.js to Sidbar.cshtml with upate rollup 3.

Sidebar CSHTML Minimized Menu

But apparently these these changes are only added for the minimized version of the Hamburger menu, they are missing for the expanded menu.

Sidebar CSHTML Expanded Menu

As Jure outlines in Technet Forums, as a workaround we can add the missing HTML tags manually in Sidebar.cshtml file. All we have to do is to add the following code to each menu item

Sidebar CSHTML Expanded Menu Added Links

Hope this helps you work around the issue for the time being. I reported this on Microsoft Connect, feel free to vote on it if you are affected.

Write a Comment

Comment