<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Make topic non clickable? in Employee Slate and Employee Center forum</title>
    <link>https://www.servicenow.com/community/employee-slate-and-employee/make-topic-non-clickable/m-p/3039917#M10154</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Is it possible to make the 'test 1' topic non-clickable? I have placed it there to hold "test 1.1" underneath, and I want "test 1.1" to be clickable, but not "test 1." Does anyone have any ideas on how I can achieve this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DritonC_1-1725894361298.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/384538i86555E57B7BA1DF4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DritonC_1-1725894361298.png" alt="DritonC_1-1725894361298.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 09 Sep 2024 15:08:56 GMT</pubDate>
    <dc:creator>DritonC</dc:creator>
    <dc:date>2024-09-09T15:08:56Z</dc:date>
    <item>
      <title>Make topic non clickable?</title>
      <link>https://www.servicenow.com/community/employee-slate-and-employee/make-topic-non-clickable/m-p/3039917#M10154</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Is it possible to make the 'test 1' topic non-clickable? I have placed it there to hold "test 1.1" underneath, and I want "test 1.1" to be clickable, but not "test 1." Does anyone have any ideas on how I can achieve this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DritonC_1-1725894361298.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/384538i86555E57B7BA1DF4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DritonC_1-1725894361298.png" alt="DritonC_1-1725894361298.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2024 15:08:56 GMT</pubDate>
      <guid>https://www.servicenow.com/community/employee-slate-and-employee/make-topic-non-clickable/m-p/3039917#M10154</guid>
      <dc:creator>DritonC</dc:creator>
      <dc:date>2024-09-09T15:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: Make topic non clickable?</title>
      <link>https://www.servicenow.com/community/employee-slate-and-employee/make-topic-non-clickable/m-p/3040038#M10156</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/502396"&gt;@DritonC&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can do with a simple CSS, but you may need to train the team properly on configuring the topics as you are disabling the level1 topic hyperlink.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Go to the theme record tagged to the portal and under one of the stylesheet, you may insert below CSS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="css"&gt;.level-one-topic-name
{
pointer-events:none;
}&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 09 Sep 2024 16:25:02 GMT</pubDate>
      <guid>https://www.servicenow.com/community/employee-slate-and-employee/make-topic-non-clickable/m-p/3040038#M10156</guid>
      <dc:creator>amaradiswamy</dc:creator>
      <dc:date>2024-09-09T16:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: Make topic non clickable?</title>
      <link>https://www.servicenow.com/community/employee-slate-and-employee/make-topic-non-clickable/m-p/3040656#M10163</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/389186"&gt;@amaradiswamy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hank you for the suggestion. I realize I was not clear enough in my original post and forgot to mention that I only want to achieve this for the HR topic and not for the other topics&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 09:14:58 GMT</pubDate>
      <guid>https://www.servicenow.com/community/employee-slate-and-employee/make-topic-non-clickable/m-p/3040656#M10163</guid>
      <dc:creator>DritonC</dc:creator>
      <dc:date>2024-09-10T09:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: Make topic non clickable?</title>
      <link>https://www.servicenow.com/community/employee-slate-and-employee/make-topic-non-clickable/m-p/3040790#M10167</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/502396"&gt;@DritonC&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In that case, I think we need to modify below components&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Clone OOB widget " Employee Center Navigation" and give "ID" as per your naming convention&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="amaradiswamy_0-1725964205033.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/384771i8BD16512D867D353/image-size/medium?v=v2&amp;amp;px=400" role="button" title="amaradiswamy_0-1725964205033.png" alt="amaradiswamy_0-1725964205033.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Search for the text " Mega menu for 2 levels of topic hierarchy" in the "Body HTML template", replace the below code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; &amp;lt;a ng-init="item.ngHref = getMegaMenuItemHref(item)" ng-href="{{item.ngHref}}" id="level-one-topic-name-{{$index}}" class="level-one-topic-name" ng-click="handleMegaMenuItemClick($event, item)" ng-attr-title="{{ c.isIE ? item.name : undefined }}" aria-label="{{item.name}}" ng-class="{'level-one-first-item': $index==0}"&amp;gt;
                    &amp;lt;span class="level-one-topic-ellipsis"&amp;gt;
                      {{item.name ? item.name : item.label}}
                    &amp;lt;/span&amp;gt;
&amp;lt;/a&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;with &lt;STRONG&gt;(Please make sure to change the sys_id of parent-topic in the below code)&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;a ng-if="item.parent_topic == '06d3df67c3053010069aec4b7d40dd70'" ng-init="item.ngHref = getMegaMenuItemHref(item)" ng-href="{{item.ngHref}}" id="linklevel-one-topic-name-{{$index}}" class="disableTopicLink level-one-topic-name" ng-click="handleMegaMenuItemClick($event, item)" ng-attr-title="{{ c.isIE ? item.name : undefined }}" aria-label="{{item.name}}" ng-class="{'level-one-first-item': $index==0}"&amp;gt;
                    &amp;lt;span class="level-one-topic-ellipsis"&amp;gt;
                      {{item.name ? item.name : item.label}}
                    &amp;lt;/span&amp;gt;
                  &amp;lt;/a&amp;gt;
                  &amp;lt;a ng-if="item.parent_topic != '06d3df67c3053010069aec4b7d40dd70'" ng-init="item.ngHref = getMegaMenuItemHref(item)" ng-href="{{item.ngHref}}" id="level-one-topic-name-{{$index}}" class="level-one-topic-name" ng-click="handleMegaMenuItemClick($event, item)" ng-attr-title="{{ c.isIE ? item.name : undefined }}" aria-label="{{item.name}}" ng-class="{'level-one-first-item': $index==0}"&amp;gt;
                    &amp;lt;span class="level-one-topic-ellipsis"&amp;gt;
                      {{item.name ? item.name : item.label}}
                    &amp;lt;/span&amp;gt;
                  &amp;lt;/a&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Add below code to the css&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="css"&gt;.disableTopicLink{
pointer-events:none;
cursor:default;
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Now, open OOB widget "Employee Center Header" in the server script, search for "&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;employee-center-navigation", replace this text with the ID you have given for above widget.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;data.escNavigation = $sp.getWidget("copy-ec-header");&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Now, open ESC portal. You might get errors. Go to Application restricted caller privileges module and search for the records with Status as "Invalidated" and change the status for those records to Allowed. Please make sure you are updating only the relevant records&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 10:43:02 GMT</pubDate>
      <guid>https://www.servicenow.com/community/employee-slate-and-employee/make-topic-non-clickable/m-p/3040790#M10167</guid>
      <dc:creator>amaradiswamy</dc:creator>
      <dc:date>2024-09-10T10:43:02Z</dc:date>
    </item>
  </channel>
</rss>

