Sidebar Demo for Employee Center

This download provides a basic implementation of a sidebar widget for Employee Center. Keep in mind, this Update Set focuses on how to create the sidebar, but not the menu itself as that widget is much more complex. I've tested this Update Set on instances on or after the Utah release. Update set includes: - Portal record - Theme record - Header widget - Sidebar widget - CSS includes Don't forget to unzip the file before uploading.

Site Analytics Widget

An upgraded version of the OOB Site Analytics widget that enables you to track page views and analytics of your Service Portal using Google Analytics. To install simply uncompress the ZIP file, commit the update set, and embed it inside the header or footer widget using the following format: [crayon-65f974286e61d538527216/] Remember to replace the tracking id with yours.

GraphQL Example Widget

A quick example Service Portal widget that demonstrates a simple way to fetch data via ServiceNow's GraphQL API.

spUtil API Reference Cheat Sheet

Overview spUtil enables you to perform common functions in a Service Portal widget client script. You can access the methods by passing in spUtil as a parameter in your client-script function. Many of these methods have not been documented by ServiceNow, so we have combed through the source code once again to bring you another Service Portal cheatsheet! Save time and maximize your productivity with this quick reference document for you to use day-to-day. Enjoy!

GlideSPScriptable Cheat Sheet

Overview Did you know there are over 60 server-side methods available in GlideSPScriptable ($sp)? Many of these methods are hidden or not documented, so we've combed through all the widgets and source code to provide you with this cheat sheet that includes all of the $sp methods available in Service Portal. Now updated for the New York release. Save time and maximize your productivity with this quick reference document for you to use day-to-day. Enjoy!

Drag & Drop Attachments

Updated for Madrid & New York releases as well as adding many new features!!! Overview Displays an inline attachment section with support for drag-n-drop uploads on any catalog item or record producer within Service Portal Features No changes to out-of-box widgets Supports drag-n-drop Supports multiple attachments at once Attachments can be required via Portal Options Attachments can be disabled via Portal Options When enabled, replaces the OOB attachment feature Compatibility Limited to Service Portal, will not work in CMS Does not support order guides Only supports "widget-sc-cat-item-v2" widget Installation Install the update set Navigate to a catalog item or record producer and add Catalog Attachments to the Variable Sets related list. Configuration All configuration is done via the Portal Settings tab on the catalog item form. Demo

K18 CreatorCon Example Widgets

Overview: Includes the widgets that were used during the K18 CreatorCon breakout: "Unlocking Service Portal Widgets". Examples: Good Coding Practices Maintainable Widgets Async Widgets Streamlined Queries Installation: Uncompress the ZIP file Upload and commit the Update Set Navigate to Service Portal page: /sp?id=k18_good_practices

Gamification for Service Portal

Overview: Gamification is a great way to add incentives for users to explore and use the service portal repeatedly. In our Knowledge18 session, we demonstrated how to implement gamification in the Service Portal to introduce users to the portal and encourage them to complete certain tasks. Includes: Scoped Application Example for Guided Tour Example for Social Q&A For additional instructions and documentation, check out our blog post.

Image Link

Overview: The Image Link widget is the same as the out-of-box Icon Link widget, except it allows you to use custom images instead of icons in your Service Portal. Features: The widget supports all the same options as the Icon Link widget. Adds support for image uploads Support for three different templates