Self service
Summarize
Summary of Self Service Building Applications
This guide provides insights into enabling self-service options for end users in your ServiceNow applications, focusing on enhancing user experience and access to your data model through the Service Portal.
Show less
Key Features
- Service Portal: Utilize the Service Portal for Requestor or Self-Service users to create a user-friendly web interface. Implement record producers for improved record creation experiences.
- Custom Service Portal: Create a dedicated Service Portal if your application requires unique branding, navigation, or enhanced functionality beyond the default portals.
- Widgets: Use existing base system widgets or develop custom widgets tailored to your business needs. Custom widgets should be based on existing ones, ensuring they remain read-only to protect baseline functionality.
Key Outcomes
By implementing these self-service options, you will offer a streamlined experience for users to access and interact with your application, leading to increased satisfaction and efficiency. Additionally, creating reusable Angular Providers promotes quick loading times and maintains high performance for your Service Portal.
Your application may need a way for end users to be able to access your data model, so there are self-service options available.
Service Portal
If the application has Requestor or Self-Service users, use Service Portal to provide a friendly web experience.
To give self-service users the ability to easily create application records from the Service Portal, create a record producer. A record producer can provide a better end-user experience than a regular form. Talk to your ServiceNow Administrator about the appropriate catalog and categorization to make the record producer accessible through the Service Portal.
Alternatively, create a Service Portal for your app if the following is true:
The application needs different branding, navigation, or user experience than an organization’s current Service Portal.
OR
The organization does not have an existing Service Portal.
AND
The application needs more functionality than the default portals provide.
AND
The application requires a more customized user experience than the default forms and lists can provide.
OR
Widgets
Widgets are what define the portal content. The base system widgets provided with Service Portal can be used, or developers can build custom widgets to fit business needs.
Considerations for creating custom Service Portal widgets for an application:
- Start from an existing widget instead of creating a widget from scratch. To protect existing widgets from accidental modifications, all baseline widgets are read-only.
- When developing a widget, use the preview pane to quickly test the widget's behavior. Always test the widget on a portal page before releasing a widget to production.
- Use third-party debugging tools when debugging browser-based applications. For example, the ng-inspector Chrome extension for Angular JS.
- Avoid the use of $rootScope.$broadcast(). Instead, use $rootScope.$emit() to publish an event to the rootscope.
- Use widget options to make widgets more easily reusable. The widget option schema defines the user-configurable fields.
- For field types not supported in the option schema, create an extension table to store a custom widget option schema.
- Make use of Angular Providers, which are reusable components that can be injected into multiple widgets. To ensure quick loading widgets and a high performing portal, create Angular Providers instead of overloading your client controllers with persistent data and additional logic. With Angular Providers, you can maintain data for the lifetime of your Service Portal and reuse components and data objects across multiple widgets.
For more information, see Service Portal training.