A collection of 17 posts
Dynamically hide Related Lists in ServiceNow
Say you wanted to hide this Incident Tasks related list using a client script based on some business logic, how would you do it? I have a fairly simple solution for you, first of all, find the List Name by using developer tools in your browser (usually F12). The first
Force Related List sort order in ServiceNow
Have you ever wanted to force a related list in ServiceNow to sort by a particular field, disregarding the default sort and any custom user sort changes? Well boy do I have a treat for you! Not only is it effective, but its also much simpler than you would expect.
Redirect snc_internal users to the Service Portal in ServiceNow
Below we highlight a method for redirecting users with only a "snc_internal" user role to the Service Portal, as out of the box users with Any role get directed to the UI 16 back end. Start by opening up the Script Include SPEntryPage Next, find the function getFirstPageURL and
Adding Non-Task tables to the My Tickets widget in ServiceNow
Here is a simple block of code that you can replicate and modify in your ServiceNow "My Tickets" widget in order to show tickets that do not extend the Task table. Our example below works for the Interaction table, you can modify this to work for any table you desire.