URL navigation in Conversational Interfaces
Summarize
Summary of URL navigation in Conversational Interfaces
URL navigation in Conversational Interfaces allows you to control where and how chat links open within ServiceNow chat environments such as Live Agent and Virtual Agent. You can specify which portal a link opens in and define the link target, for example, opening links in pop-up windows or new tabs. This is especially useful for directing users to the appropriate interface for different record types like knowledge articles or catalog items.
Show less
How URL Navigation Works
The system determines the portal for chat links by evaluating settings in a specific priority order:
- sysparm portal parameter: If set in the chat widget URL, this portal is used.
- Topic script variable: Portal specified in a topic script variable takes precedence.
- Default portal for Provider Channel Identity: Configured in the Provider Channel Identity table for integrations.
- Default portal for a table: Uses mappings defined in URL navigation Chat Settings.
- Global default portal: Defined via system property
com.glide.cs.urlredirect.default.portal. - Service Portal: Used as the fallback default if no other portal is specified.
Legacy URL mappings from previous releases remain functional but can now be managed through the URL navigation settings or related tables.
URL Mapping Types
There are two main types of URL mappings:
- Default mappings: System properties that define default portals for specific ServiceNow tables, such as knowledge base articles or catalog items. For example, knowledge articles default to Service Portal.
- Custom mappings: System properties that allow defining portal and table combinations for more granular control. These mappings may include placeholders to dynamically generate URLs based on the portal and record data.
Smart Links
Administrators can create smart link preferences to specify how URLs open based on patterns. For instance, you can configure all knowledge base article links to open in a new browser window, enhancing user experience by controlling link behavior directly from chat settings.
Configuring URL Navigation
Use the URL navigation settings within Chat Settings to:
- Change default portal mappings for specific tables.
- Define custom portal-to-table URL mappings.
- Create smart link preferences to control link targets (e.g., new window, pop-up, same tab).
- Apply portal configurations consistently across chat widgets, chat channels, and messaging channels.
This configuration ensures that when users interact with chat links, they are directed to the most appropriate portal and experience consistent navigation behavior aligned with your organization's needs.
Use URL navigation settings to specify where and how chat links open. You can configure certain links to open in a specific portal. You can also specify the link target, such as a popup window.