Thank you for your feedback.
Form temporarily unavailable. Please try again or contact docfeedback@servicenow.com to submit your comments.
Versions
  • London
  • Kingston
  • Jakarta
  • Istanbul
  • Helsinki
  • Geneva
  • Store
Close

URL schema

Users can navigate to a record or module directly by using a URL. This topic explains the URL schema by which the system renders pages.

The basic schema for a system URL is:

https://<base URL>/nav_to.do?uri=<page name>.do?sys_id=<sys_id>&<page parameters>

The URL schema consists of the following elements.
  • base URL: unique, secure Web address for each instance. The default format is: https://<instancename>.service-now.com.

    To display a custom base URL in email notifications, you can set the glide.email.override.url property. For more information, see Additional email properties.

  • nav_to.do?uri= (optional): loads the page in the standard interface, with the banner frame on top and the application navigator on the left.
  • <page name>.do?: where the page name is the form, list, UI page, or other page to open. To view a list, use <table name>_list.do.
  • sys_id=<sys_id> (optional): where <sys_id> is the sys_id of the record to open in form view. To create a new record, specify a sys_id of -1.
  • <page parameters> (optional): may specify a query, view, redirection page, and more. Sample parameters include the following.
    • sysparm_view=ess: specifies a view (ess).
    • sysparm_query=number=INC00040: specifies a query (number is INC00040).
    • sysparm_query=priority=2^active=true: specifies a complex query with two terms (priority is 2 and active is true).
    • sysparm_query=priority=2^active=true^EQ^GROUPBYcategory: groups query results (by category).
    • sysparm_order=number: specifies the field by which to sort (number).
    • sysparm_order_direction=desc: specifies a sort order (descending).
    • sysparm_force_row_count=5: limits the maximum number of results (5 records).
    • sysparm_result_view=viewname: specifies the view for search results.
  • CSV: specifies a file format, can be CSV, XML, PDF, or UNL (Unload).
  • &: separates page parameters.
  • ^(carat): builds multiple term queries or specifies multiple field values.

Forms vs. lists (sysparm_query)

The sysparm_query page parameter behaves differently for a list versus a form.
  • List: returns records that match the query conditions.
  • Form (with sys_id=-1 specified): applies the values to the new record.
Note: If you are using the default table templates where the template name matches the table name, such as change_request or incident, using sysparm_query for that form does not work.

This site is scheduled for a small content update on Tuesday, December 18th, between the hours of 4:00pm and 8:00pm Pacific Time (Dec 19 00:00 – Dec 19 4:00 UTC). Access to this site may be slightly delayed during that time.