mySNstuff.com
  • Home
  • Posts
  • News
  • Glossary
  • About
    • LinkedIn
  • March 15, 2023

    Portal Widget – Display content from REST API

    Probably better ways to implement, but this is a cool way to trigger an outbound REST API and display the results in a portal widget/html tabel. In this example, I am pulling NBA news from a news API. Example: First create the REST message, as this will be needed for the server-side code. HTML Template…

  • March 15, 2023

    Auto Generate/Refresh CAB Meeting Agenda Items

    Instead of making the CAB manager manually go into the CAB meeting configuration to refresh the agenda items You can create a scheduled job to run before the scheduled start time, and have a script automatically refresh the agenda items. Here is an example script:

  • January 30, 2023

    Technical Best Practices – ServiceNow’s Guide

    Found this very informative guide on ServiceNow’s site. Linking it here for easy access. https://developer.servicenow.com/dev.do#!/guides/tokyo/now-platform/tpb-guide/scripting_technical_best_practices

  • January 30, 2023

    How to turn on text message notifications

    Disclaimer: I strongly recommend using the mobile app/push notifications instead. With that being said, if you want to receive text messages for certain email notifications, you can do so by adding your phone as a channel. Click on your profile -> Preferences -> Notifications -> Core UI Then click on Create Channel. Give the new…

  • January 30, 2023

    Tokyo Release HTML Field Size Issue

    If you notice after upgrading to Tokyo that HMTL fields are small and need to be expanded manually, Go to User Preferences Search for any preferences that contains “tinymce_height” and delete all of them. instanceName.service-now.com/sys_user_preference_list.do?sysparm_query=nameLIKEtinymce_height&sysparm_view= Clear the cache (in filter navigator, type cache.do) Afterwards, the HTML fields are back to normal size

  • January 30, 2023

    Catalog Data Lookup Definitions

    “Catalog Data Lookup Definitions” is an AWESOME (relatively new and underutilized) feature that can help replace catalog client scripts/GlideAJAX. Lets say you have a catalog item where you need to select the user, and then two other fields, preferred email address and preferred phone, need to auto populate based on the User selection. Previously you…

  • January 29, 2023

    Resource Aggregate Tables

    In PPM/SPM, if you need to report on resource plans, allocations, availability, or capacity, utilize the resource aggregate tables: resource_aggregate_daily resource_aggregate_weekly resource_aggregate_monthly A very good write up is posted here.

  • January 11, 2023

    GlideUser – Sever Side Cheat Sheet

    Referenced from: https://developer.servicenow.com/dev.do#!/reference/api/utah/server/no-namespace/c_GlideUserScopedAPI and posted here for easy access. Method Returns Example getCompanyID() Returns the current user’s company sys_id. gs.getUser().getCompanyID(); getDisplayName() Returns the current user’s display name. gs.getUser().getDisplayName(); getDomainID() Returns the identifier of the user’s current session domain. gs.getUser().getDomainID(); getEmail() Returns the user’s email address. gs.getUser().getEmail(); getFirstName() Returns the user’s first name. gs.getUser().getFirstName(); getID() Gets…

  • December 15, 2022

    ServiceNow Polaris/Next Experience Theme Generator

    Nice little utility I created to easily change the theme in Polaris/Next Experience. I modeled this after the Basic Configuration UI16 Module. See how it works If there is enough demand for this, I will publish it to the ServiceNow share. Update: I published v1 to the ServiceNow share. It can be downloaded here. After…

  • December 15, 2022

    Script to apply a checklist to a task

    This might not be as useful anymore now that ServiceNow added Playbooks, but it’s still a neat way to apply a checklist to a task using a script. For reference, checklist templates are stored in this table [checklist_template]. You’ll need to go here to get the sys_id of the template so you can use it…

←Previous Page
1 2 3 4 5 … 9
Next Page→
  • Home
  • Posts
  • News
  • Glossary
  • About
    • LinkedIn

Copyright © 2024mySNstuff.com

  • Subscribe Subscribed
    • mySNstuff.com
    • Already have a WordPress.com account? Log in now.
    • mySNstuff.com
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar