URL navigation in Conversational Interfaces

  • Release version: Zurich
  • Updated July 31, 2025
  • 3 minutes to read
  • Summarize
    Summarized using AI
    This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.

    Summary of URL navigation in Conversational Interfaces

    URL navigation settings in ServiceNow Conversational Interfaces allow you to control where and how chat links open when users interact with records during Live Agent and Virtual Agent conversations. This includes specifying the portal in which links open and the link target, such as a popup window. The system uses default portal mappings for common tables but also enables customization to meet specific needs.

    Show full answer Show less

    How URL Navigation Works

    The system determines the appropriate portal for opening chat links by evaluating multiple factors in order:

    • sysparmportal parameter: If set in the chat widget URL, this portal is used.
    • Topic script variable: If specified, this portal is applied.
    • Default portal for Provider Channel Identity: Defined in the Provider Channel Identity table for chat integrations.
    • Default portal for a table: Configured in URL navigation Chat Settings.
    • Global default portal: Set via the com.glide.cs.urlredirect.default.portal system property.
    • Service Portal: Used as the fallback if no other portal is specified.

    Legacy URL mappings from earlier releases remain supported and are now manageable through URL navigation settings or the related table.

    Key Features

    • Default URL Mappings: Predefined mappings associate common ServiceNow tables with default portals, such as Knowledge Base articles opened in Service Portal and user records opened in Employee Service Center.
    • Custom URL Mappings: Allow you to define portal and table combinations for tailored navigation experiences. These mappings use flexible patterns to match specific portals and tables.
    • Smart Links: Administrators can configure URL link targets based on patterns, enabling links to open in new windows, tabs, pop-ups, or within the chat window itself. This enhances user experience by controlling how content is displayed.

    Practical Application for ServiceNow Customers

    By configuring URL navigation settings, you can optimize the user experience in conversational interfaces by ensuring that links open in the most appropriate portal and in the desired manner (e.g., pop-up or new tab). This helps maintain context for users, improves navigation consistency, and supports branding and portal customization strategies.

    Use the URL navigation settings to:

    • Change default portal mappings for specific tables.
    • Create custom mappings for unique portal-table combinations.
    • Specify link targets using smart links to control how users access linked content.

    These configurations apply uniformly across chat widgets, chat channels, and messaging channels, ensuring a cohesive user experience across all conversational touchpoints.

    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.

    Your base system instance provides default portals in which chat links to records from certain ServiceNow tables are opened automatically. For example, Service Portal is the default portal used to display knowledge records from the Knowledge [kbknowledge] table and also catalog items from the Catalog Item [sc_cat_item] table.

    Use URL navigation in Chat Settings to change these default mappings, as well as define custom mappings that map a portal URL to a specified ServiceNow table. The portal configurations apply to the chat widget, chat channels, and messaging channels.

    How URL navigation works

    To determine the portals to be used for chat links, the system evaluates the following information in the order listed:
    1. sysparm portal parameter - If you specified a sysparm_portal parameter in the instance URL for the chat widget, that portal is used.
    2. Topic script variable - If you specified a portal in a topic script variable, that portal is used.
    3. Default portal for Provider Channel Identity - If you specified a default portal in the Provider Channel Identity [sys_cs_provider_application] table for pre-built chat integrations or custom chat integrations, that portal is used. The default portal applies to the chat and messaging channels for the provider. For details on configuring the Provider Channel Identity, see Create a channel identifier for your custom chat integration in Custom chat integration framework.
    4. Default portal for a table - Uses the portal value in the default portal mapping listed in URL navigation Chat Setting.
    5. Global default portal - If you defined a global default portal using the com.glide.cs.url_redirect.default.portal system property, that global portal is used.
    6. Service Portal - If you didn't define a global portal using the com.glide.cs.url_redirect.default.portal property, Service Portal is used.

    Legacy URL mappings defined in previous releases (fallback method)

    If you previously added the com.glide.cs.portal_url_mapping.default.<portal_value>.<table_name> property to create URL mappings that were used instead of the default URL mappings, those properties are retained after you upgrade to the Zurich release. However, you can now view the mappings using URL navigation in Chat Settings or the URL Navigation [sys_cs_portal_url_mapping] table. There are two types of URL mappings.

    Default mappings
    All system properties with the format com.glide.cs.portal_url_mapping.portal.<table_name> that define the default portal used for certain ServiceNow tables.
    Table 1. Default URL mapping properties
    Property Description

    com.glide.cs.portal_url_mapping.portal.kb_knowledge

    Default portal context (URL mapping) to use for Knowledge Base articles.
    • Type: string
    • Default value: sp (Service Portal)

    com.glide.cs.portal_url_mapping.portal.sc_cat_item

    Default portal context (URL mapping) to use for Service Catalog items.
    • Type: string
    • Default value: sp (Service Portal)

    com.glide.cs.portal_url_mapping.portal.sys_user

    Default portal context (URL mapping) for sys_ user records.
    • Type: string
    • Default value: esc (Employee Service Center)
    Custom mappings
    All system properties that define a portal and table combination using the format com.glide.cs.portal_url_mapping.<portal_name>.<table_name>. These mappings are retained as custom mappings. When the portal or table is specified with _default, it indicates that any portal or table is used.
    The system determines the URL for custom mappings by evaluating the following values:
    • Portal and table/parent table
    • Portal and any table
    • Any portal and table/parent table
    • Any portal and any table
    Table 2. Custom URL mapping properties
    Property Description

    com.glide.cs.portal_url_mapping._default.kb_knowledge

    Default for Knowledge URL mapping.

    • Type: string
    • Value:/{{portal}}?id=kb_article&sys_id={{data.sys_id}}

    com.glide.cs.portal_url_mapping._default.sc_cat_item

    Default for Catalog Item URL mapping.

    • Type: string
    • Value: /{{portal}}?sys_id={{data.sys_id}}&id={{data.table_name}}&table={{data.table_name}}

    com.glide.cs.portal_url_mapping._default.sys_user

    Default for User URL mapping.

    • Type: string
    • Value: /{{portal}}?id=user_profile&sys_id={{data.sys_id}}

    com.glide.cs.portal_url_mapping._default._default

    Default URL mapping for records other than knowledge articles, Service Catalog items, People (sys_user) records, publication records, and task records.

    • Type: string
    • Value: /{{portal}}?sys_id={{data.sys_id}}&id=form&table={{data.table_name}}

    Smart links

    As an admin, you can specify the target for URL links based on patterns that you specify. For example, if you want all KB articles to open in a new window, you can configure the mapping in general chat settings. For more information, see Create a smart link preference.