Convert LDAP attribute objectGUID from base64 to string in ServiceNow LDAP integration – Transform script

answer = (function transformEntry(source) { function toHex(d) { return (“0” + Number(d).toString(16)).slice(-2).toUpperCase(); } function a2b(a) { var b, c, d, e = {}, f = 0, g = 0, h = “”, i = String.fromCharCode, j = a.length; for (b = 0; 64 > b; b++) e[“ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/”.charAt(b)] = b; for (c = 0; j > […]

Custom Glyph in ServiceNow portal – Icon Link widget

Step1: You have to upload the image to image to the table db_image Step2: Clone the widget Icon Link Step3: Html code is as below <div> <!–// Top Icon –> <a ng-if=”::(options.link_template == ‘Glyph Icon’ || !options.link_template)” ng-href=”{{::data.href}}” class=”glyph_icon {{::options.class_name}}” target=”{{::data.target}}”> <div class=”m-b fa fa-{{::options.glyph}} fa-4x {{::options.class_name}} text-{{::options.color}}” align=”center” style=”margin-right: auto; margin-left: auto; display: block;”></div> <h4 style=”text-align: […]