GraphQL Example Widget

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

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!

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.

Greetings Title

Overview: To create a personalized welcome message, use the Greetings Title widget to generate a message that displays the users first name in the page title. Does not embed the Typeahead Search widget, so you will need to include that separately if this widget is used on the portal homepage. Features: Supports custom greeting (e.g. Hello ______) Option for disabling greeting Displays both title and short_description (optional)

snRecordPicker Example

Overview: One of the very powerful directives available in Service Portal is the snRecordPicker. This directive generates a field very similar to a reference field in the platform. This is very useful when creating custom widgets that will be interacting with tables and records in ServiceNow. For documentation on this widget, see this post: https://serviceportal.io/sn-record-picker/