Posts

Showing posts from February, 2024

How to get a parameter from the URL - Catalog Client Script

Image
      The mission was to get a sys_id from the URL, query a record and return a value to the front-end.       In the front-end we have a Record Producer (RP) with a String field.       On the onLoad event, we want to populate the field in order to show the value retrieved from the back-end.       The scenario is defined so let's go to the step by step process. 1. Create a Util class in the back-end       Our  Utils  class will be a Script Include that receives a sys_id and returns a String.   var KMXOUtils = Class.create(); KMXOUtils.prototype = { initialize: function() { }, /* * Receives a um sys_id and returns a Task table field value * * @param {String} - taskId * @return {Object} */ getTaskNumber: function(taskId) { if (taskId != "" && taskId != null && taskId != undefined) { var grTask = new Gl...

ServiceNow MVP

Image
  The ServiceNow MVP Community Program recognizes top individual contributors who are well known by the collective community for their product expertise, consistent quality contributions, and their esteemed character. ServiceNow MVPs demonstrate a commitment to engage, guide, and share their expertise with peers from around the globe. They are extraordinarily passionate about giving back to others and represent the voice of the greater community.