[{"data":1,"prerenderedAt":1114},["ShallowReactive",2],{"page-\u002Fblog\u002Fservicenow-sysparm-url-parameters-guide\u002F":3,"related-\u002Fblog\u002Fservicenow-sysparm-url-parameters-guide\u002F":1083},{"id":4,"title":5,"author":6,"authorUrl":7,"body":8,"date":1056,"dateUpdated":1056,"description":1057,"dqid":1056,"excerpt":1058,"extension":1059,"faq":1060,"headline":5,"meta":1073,"navigation":490,"path":1074,"seo":1075,"socialImage":1076,"stem":1077,"tags":1078,"__hash__":1082},"content\u002Fblog\u002Fservicenow-sysparm-url-parameters-guide.md","sysparm_view in ServiceNow and Other URL Parameters Explained","Gabriel Fordan","https:\u002F\u002Fsn-tricks.com\u002Fabout",{"type":9,"value":10,"toc":1045},"minimark",[11,31,34,39,42,52,67,74,80,95,99,111,117,120,158,162,172,175,181,191,194,200,214,223,227,332,344,348,362,572,586,590,597,807,821,825,853,859,865,869,876,882,969,982,986,1033,1041],[12,13,14,18,19,22,23,26,27,30],"p",{},[15,16,17],"code",{},"sysparm_view"," is the ServiceNow URL parameter that picks which form or list view to show, so ",[15,20,21],{},"incident.do?sys_id=\u003Csys_id>&sysparm_view=ess"," opens an incident in the ",[15,24,25],{},"ess"," view instead of Default. It belongs to a small family of ",[15,28,29],{},"sysparm_"," parameters that control what a page opens, which records a list shows and what values a new record starts with. Learn those, and you can build module links, UI actions and bookmarks that land people exactly where they need to be.",[12,32,33],{},"This guide covers the parameters that matter most, how to combine them, and how to build the URLs safely in scripts.",[35,36,38],"h2",{"id":37},"how-servicenow-urls-are-put-together","How ServiceNow URLs are put together",[12,40,41],{},"Classic UI pages follow a simple pattern:",[43,44,50],"pre",{"className":45,"code":47,"language":48,"meta":49},[46],"language-text","https:\u002F\u002F\u003Cinstance>.service-now.com\u002F\u003Ctable>.do?\u003Cparameters>        form\nhttps:\u002F\u002F\u003Cinstance>.service-now.com\u002F\u003Ctable>_list.do?\u003Cparameters>   list\n","text","",[15,51,47],{"__ignoreMap":49},[12,53,54,55,58,59,62,63,66],{},"Parameters are joined with ",[15,56,57],{},"&",". Values that contain spaces, ",[15,60,61],{},"^",", ",[15,64,65],{},"="," or other special characters must be URL-encoded when you build the URL in code.",[12,68,69,70,73],{},"To open a classic page inside the full navigation frame, wrap it in ",[15,71,72],{},"nav_to.do",":",[43,75,78],{"className":76,"code":77,"language":48,"meta":49},[46],"https:\u002F\u002F\u003Cinstance>.service-now.com\u002Fnav_to.do?uri=incident_list.do\n",[15,79,77],{"__ignoreMap":49},[12,81,82,83,86,87,90,91,94],{},"In the Next Experience UI the instance redirects classic links into its own shell, so a plain ",[15,84,85],{},"incident.do"," link still works. You will see URLs such as ",[15,88,89],{},"\u002Fnow\u002Fnav\u002Fui\u002Fclassic\u002Fparams\u002Ftarget\u002Fincident.do%3F..."," in the address bar. The part after ",[15,92,93],{},"target\u002F"," is the same classic URL, encoded.",[35,96,98],{"id":97},"sysparm_view-choose-the-form-or-list-view","sysparm_view: choose the form or list view",[12,100,101,102,106,107,110],{},"Views are named layouts of the same table. The view name is the ",[103,104,105],"strong",{},"Name"," field on the ",[15,108,109],{},"sys_ui_view"," record, not its title.",[43,112,115],{"className":113,"code":114,"language":48,"meta":49},[46],"incident.do?sys_id=\u003Csys_id>&sysparm_view=ess\nincident_list.do?sysparm_view=mobile\n",[15,116,114],{"__ignoreMap":49},[12,118,119],{},"Things to know:",[121,122,123,130,136,155],"ul",{},[124,125,126,127,129],"li",{},"If ",[15,128,17],{}," is empty or the named view has no layout for that table, you get the Default view.",[124,131,132,133,135],{},"View names are matched exactly, so check spelling and case against ",[15,134,109],{},".",[124,137,138,139,142,143,146,147,150,151,154],{},"A ",[103,140,141],{},"view rule"," (the ",[15,144,145],{},"sysrule_view"," table, under ",[103,148,149],{},"System UI > View Rules",") can override the view you asked for. When one applies, ServiceNow adds ",[15,152,153],{},"sysparm_view_forced=true"," to the URL. If a link keeps opening the wrong view, check view rules first.",[124,156,157],{},"The view sticks. When you navigate from a list in one view to a record, the form usually opens in that same view.",[35,159,161],{"id":160},"sysparm_query-filter-a-list-or-prefill-a-form","sysparm_query: filter a list or prefill a form",[12,163,164,167,168,171],{},[15,165,166],{},"sysparm_query"," takes an encoded query, the same string you get from ",[103,169,170],{},"Copy query"," on a list filter breadcrumb.",[12,173,174],{},"On a list it filters the records:",[43,176,179],{"className":177,"code":178,"language":48,"meta":49},[46],"incident_list.do?sysparm_query=active=true^priority=1^ORDERBYDESCsys_created_on\n",[15,180,178],{"__ignoreMap":49},[12,182,183,184,187,188,135],{},"Sort order goes inside the query with ",[15,185,186],{},"ORDERBY\u003Cfield>"," or ",[15,189,190],{},"ORDERBYDESC\u003Cfield>",[12,192,193],{},"On a new record form it sets starting values:",[43,195,198],{"className":196,"code":197,"language":48,"meta":49},[46],"incident.do?sys_id=-1&sysparm_query=priority=2^short_description=Printer offline\n",[15,199,197],{"__ignoreMap":49},[12,201,202,205,206,209,210,213],{},[15,203,204],{},"sys_id=-1"," means \"new record\". Each ",[15,207,208],{},"field=value"," pair becomes a default on the form. Reference fields take a ",[15,211,212],{},"sys_id",", not a display value. The values are only defaults, so the user can still change them, and nothing is saved until they submit. Business rules and data policies still apply on save.",[12,215,216,217,222],{},"If you write encoded queries often, the ",[218,219,221],"a",{"href":220},"\u002Fblog\u002Fservicenow-gliderecord-query-performance","GlideRecord query performance guide"," explains how the same operators behave on the server.",[35,224,226],{"id":225},"other-parameters-worth-knowing","Other parameters worth knowing",[228,229,230,246],"table",{},[231,232,233],"thead",{},[234,235,236,240,243],"tr",{},[237,238,239],"th",{},"Parameter",[237,241,242],{},"Where",[237,244,245],{},"What it does",[247,248,249,266,278,290,302,318],"tbody",{},[234,250,251,256,259],{},[252,253,254],"td",{},[15,255,212],{},[252,257,258],{},"Form",[252,260,261,262,265],{},"The record to open. ",[15,263,264],{},"-1"," opens a new record.",[234,267,268,272,275],{},[252,269,270],{},[15,271,17],{},[252,273,274],{},"Form, list, Table API",[252,276,277],{},"Name of the view to use.",[234,279,280,285,287],{},[252,281,282],{},[15,283,284],{},"sysparm_view_forced",[252,286,258],{},[252,288,289],{},"Set when a view rule forces the view.",[234,291,292,296,299],{},[252,293,294],{},[15,295,166],{},[252,297,298],{},"List, new form, Table API",[252,300,301],{},"Encoded query to filter records or set defaults.",[234,303,304,309,311],{},[252,305,306],{},[15,307,308],{},"sysparm_stack",[252,310,258],{},[252,312,313,314,317],{},"Where the user goes after Submit or Update. ",[15,315,316],{},"no"," keeps them on the form.",[234,319,320,325,329],{},[252,321,322],{},[15,323,324],{},"uri",[252,326,327],{},[15,328,72],{},[252,330,331],{},"The page to load inside the navigation frame.",[12,333,334,336,337,340,341,317],{},[15,335,308],{}," is easy to overlook. By default, saving a record sends the user back to the previous page in the navigation stack. Setting ",[15,338,339],{},"sysparm_stack=incident_list.do"," sends them to that list after saving instead. Setting ",[15,342,343],{},"sysparm_stack=no",[35,345,347],{"id":346},"build-urls-in-a-client-side-ui-action","Build URLs in a client-side UI action",[12,349,350,351,354,355,358,359,135],{},"The common real-world use is a button that opens a related new record with fields filled in. Here is a client-side UI action on the Incident form that opens a new child incident. Set ",[103,352,353],{},"Client"," to true and ",[103,356,357],{},"Onclick"," to ",[15,360,361],{},"openChildIncident()",[43,363,367],{"className":364,"code":365,"language":366,"meta":49,"style":49},"language-javascript shiki shiki-themes github-light github-light","function openChildIncident() {\n  \u002F\u002F Build the encoded query first, then encode it once for the URL.\n  var query = [\n    'parent_incident=' + g_form.getUniqueValue(),\n    'caller_id=' + g_form.getValue('caller_id'),\n    'short_description=Follow-up: ' + g_form.getValue('short_description')\n  ].join('^');\n\n  var url = 'incident.do?sys_id=-1' +\n    '&sysparm_query=' + encodeURIComponent(query) +\n    '&sysparm_view=' + encodeURIComponent(g_form.getViewName());\n\n  g_navigation.open(url, '_blank');\n}\n","javascript",[15,368,369,386,393,407,426,448,468,485,492,508,525,544,549,566],{"__ignoreMap":49},[370,371,374,378,382],"span",{"class":372,"line":373},"line",1,[370,375,377],{"class":376},"sCydW","function",[370,379,381],{"class":380},"se37E"," openChildIncident",[370,383,385],{"class":384},"sKWpL","() {\n",[370,387,389],{"class":372,"line":388},2,[370,390,392],{"class":391},"sJ8bj","  \u002F\u002F Build the encoded query first, then encode it once for the URL.\n",[370,394,396,399,402,404],{"class":372,"line":395},3,[370,397,398],{"class":376},"  var",[370,400,401],{"class":384}," query ",[370,403,65],{"class":376},[370,405,406],{"class":384}," [\n",[370,408,410,414,417,420,423],{"class":372,"line":409},4,[370,411,413],{"class":412},"sOTlB","    'parent_incident='",[370,415,416],{"class":376}," +",[370,418,419],{"class":384}," g_form.",[370,421,422],{"class":380},"getUniqueValue",[370,424,425],{"class":384},"(),\n",[370,427,429,432,434,436,439,442,445],{"class":372,"line":428},5,[370,430,431],{"class":412},"    'caller_id='",[370,433,416],{"class":376},[370,435,419],{"class":384},[370,437,438],{"class":380},"getValue",[370,440,441],{"class":384},"(",[370,443,444],{"class":412},"'caller_id'",[370,446,447],{"class":384},"),\n",[370,449,451,454,456,458,460,462,465],{"class":372,"line":450},6,[370,452,453],{"class":412},"    'short_description=Follow-up: '",[370,455,416],{"class":376},[370,457,419],{"class":384},[370,459,438],{"class":380},[370,461,441],{"class":384},[370,463,464],{"class":412},"'short_description'",[370,466,467],{"class":384},")\n",[370,469,471,474,477,479,482],{"class":372,"line":470},7,[370,472,473],{"class":384},"  ].",[370,475,476],{"class":380},"join",[370,478,441],{"class":384},[370,480,481],{"class":412},"'^'",[370,483,484],{"class":384},");\n",[370,486,488],{"class":372,"line":487},8,[370,489,491],{"emptyLinePlaceholder":490},true,"\n",[370,493,495,497,500,502,505],{"class":372,"line":494},9,[370,496,398],{"class":376},[370,498,499],{"class":384}," url ",[370,501,65],{"class":376},[370,503,504],{"class":412}," 'incident.do?sys_id=-1'",[370,506,507],{"class":376}," +\n",[370,509,511,514,516,519,522],{"class":372,"line":510},10,[370,512,513],{"class":412},"    '&sysparm_query='",[370,515,416],{"class":376},[370,517,518],{"class":380}," encodeURIComponent",[370,520,521],{"class":384},"(query) ",[370,523,524],{"class":376},"+\n",[370,526,528,531,533,535,538,541],{"class":372,"line":527},11,[370,529,530],{"class":412},"    '&sysparm_view='",[370,532,416],{"class":376},[370,534,518],{"class":380},[370,536,537],{"class":384},"(g_form.",[370,539,540],{"class":380},"getViewName",[370,542,543],{"class":384},"());\n",[370,545,547],{"class":372,"line":546},12,[370,548,491],{"emptyLinePlaceholder":490},[370,550,552,555,558,561,564],{"class":372,"line":551},13,[370,553,554],{"class":384},"  g_navigation.",[370,556,557],{"class":380},"open",[370,559,560],{"class":384},"(url, ",[370,562,563],{"class":412},"'_blank'",[370,565,484],{"class":384},[370,567,569],{"class":372,"line":568},14,[370,570,571],{"class":384},"}\n",[12,573,574,575,577,578,580,581,585],{},"Nothing is saved until the user submits the new form. One caveat: if a value such as the short description itself contains ",[15,576,61],{},", it breaks the encoded query, because ",[15,579,61],{}," is the separator. Strip or replace it before you join. For more on keeping client code tidy, see the ",[218,582,584],{"href":583},"\u002Fscripts\u002Fglideajax-server-call","GlideAjax server call example"," in the script library, which follows the same structure.",[35,587,589],{"id":588},"build-urls-on-the-server","Build URLs on the server",[12,591,592,593,596],{},"Server scripts often need a link for a notification, a log entry or a Virtual Agent reply. Run this in ",[103,594,595],{},"Scripts - Background"," on a development instance. It only reads data and prints a URL.",[43,598,600],{"className":364,"code":599,"language":366,"meta":49,"style":49},"var instanceUrl = gs.getProperty('glide.servlet.uri'); \u002F\u002F ends with a slash\nvar query = 'active=true^priority=1^ORDERBYDESCsys_created_on';\n\nvar count = new GlideAggregate('incident');\ncount.addEncodedQuery(query);\ncount.addAggregate('COUNT');\ncount.query();\nvar total = count.next() ? count.getAggregate('COUNT') : 0;\n\nvar listUrl = instanceUrl + 'incident_list.do?sysparm_query=' +\n  encodeURIComponent(query) + '&sysparm_view=';\n\ngs.info(total + ' active P1 incidents: ' + listUrl);\n",[15,601,602,629,643,647,669,680,694,704,745,749,768,782,786],{"__ignoreMap":49},[370,603,604,607,610,612,615,618,620,623,626],{"class":372,"line":373},[370,605,606],{"class":376},"var",[370,608,609],{"class":384}," instanceUrl ",[370,611,65],{"class":376},[370,613,614],{"class":384}," gs.",[370,616,617],{"class":380},"getProperty",[370,619,441],{"class":384},[370,621,622],{"class":412},"'glide.servlet.uri'",[370,624,625],{"class":384},"); ",[370,627,628],{"class":391},"\u002F\u002F ends with a slash\n",[370,630,631,633,635,637,640],{"class":372,"line":388},[370,632,606],{"class":376},[370,634,401],{"class":384},[370,636,65],{"class":376},[370,638,639],{"class":412}," 'active=true^priority=1^ORDERBYDESCsys_created_on'",[370,641,642],{"class":384},";\n",[370,644,645],{"class":372,"line":395},[370,646,491],{"emptyLinePlaceholder":490},[370,648,649,651,654,656,659,662,664,667],{"class":372,"line":409},[370,650,606],{"class":376},[370,652,653],{"class":384}," count ",[370,655,65],{"class":376},[370,657,658],{"class":376}," new",[370,660,661],{"class":380}," GlideAggregate",[370,663,441],{"class":384},[370,665,666],{"class":412},"'incident'",[370,668,484],{"class":384},[370,670,671,674,677],{"class":372,"line":428},[370,672,673],{"class":384},"count.",[370,675,676],{"class":380},"addEncodedQuery",[370,678,679],{"class":384},"(query);\n",[370,681,682,684,687,689,692],{"class":372,"line":450},[370,683,673],{"class":384},[370,685,686],{"class":380},"addAggregate",[370,688,441],{"class":384},[370,690,691],{"class":412},"'COUNT'",[370,693,484],{"class":384},[370,695,696,698,701],{"class":372,"line":470},[370,697,673],{"class":384},[370,699,700],{"class":380},"query",[370,702,703],{"class":384},"();\n",[370,705,706,708,711,713,716,719,722,725,727,730,732,734,737,739,743],{"class":372,"line":487},[370,707,606],{"class":376},[370,709,710],{"class":384}," total ",[370,712,65],{"class":376},[370,714,715],{"class":384}," count.",[370,717,718],{"class":380},"next",[370,720,721],{"class":384},"() ",[370,723,724],{"class":376},"?",[370,726,715],{"class":384},[370,728,729],{"class":380},"getAggregate",[370,731,441],{"class":384},[370,733,691],{"class":412},[370,735,736],{"class":384},") ",[370,738,73],{"class":376},[370,740,742],{"class":741},"sMN4m"," 0",[370,744,642],{"class":384},[370,746,747],{"class":372,"line":494},[370,748,491],{"emptyLinePlaceholder":490},[370,750,751,753,756,758,760,763,766],{"class":372,"line":510},[370,752,606],{"class":376},[370,754,755],{"class":384}," listUrl ",[370,757,65],{"class":376},[370,759,609],{"class":384},[370,761,762],{"class":376},"+",[370,764,765],{"class":412}," 'incident_list.do?sysparm_query='",[370,767,507],{"class":376},[370,769,770,773,775,777,780],{"class":372,"line":527},[370,771,772],{"class":380},"  encodeURIComponent",[370,774,521],{"class":384},[370,776,762],{"class":376},[370,778,779],{"class":412}," '&sysparm_view='",[370,781,642],{"class":384},[370,783,784],{"class":372,"line":546},[370,785,491],{"emptyLinePlaceholder":490},[370,787,788,791,794,797,799,802,804],{"class":372,"line":551},[370,789,790],{"class":384},"gs.",[370,792,793],{"class":380},"info",[370,795,796],{"class":384},"(total ",[370,798,762],{"class":376},[370,800,801],{"class":412}," ' active P1 incidents: '",[370,803,416],{"class":376},[370,805,806],{"class":384}," listUrl);\n",[12,808,809,812,813,816,817,820],{},[15,810,811],{},"glide.servlet.uri"," holds the instance base URL, so the same script works on every instance without hardcoding a hostname. For a single record, ",[15,814,815],{},"current.getLink(true)"," in a business rule or ",[15,818,819],{},"gr.getLink(true)"," on any GlideRecord returns a relative form link you can append to that base URL.",[35,822,824],{"id":823},"module-arguments-use-the-same-parameters","Module arguments use the same parameters",[12,826,827,828,831,832,835,836,839,840,843,844,839,846,848,849,852],{},"A list module (",[103,829,830],{},"System Definition > Modules",", link type ",[103,833,834],{},"List of Records",") has ",[103,837,838],{},"Filter"," and ",[103,841,842],{},"View name"," fields. These fill in ",[15,845,166],{},[15,847,17],{}," for you. For a URL module, the ",[103,850,851],{},"Arguments"," field takes the raw parameter string, for example:",[43,854,857],{"className":855,"code":856,"language":48,"meta":49},[46],"sysparm_query=assigned_to=javascript:gs.getUserID()^active=true&sysparm_view=self_service\n",[15,858,856],{"__ignoreMap":49},[12,860,861,864],{},[15,862,863],{},"javascript:gs.getUserID()"," inside a filter is evaluated on the server when the list loads, which is how the \"Assigned to me\" style modules work.",[35,866,868],{"id":867},"the-rest-table-api-uses-the-same-names","The REST Table API uses the same names",[12,870,871,872,875],{},"The Table API (",[15,873,874],{},"\u002Fapi\u002Fnow\u002Ftable\u002F\u003Ctable>",") reuses several of these parameter names, which makes testing a filter in the browser and then calling it from an integration straightforward.",[43,877,880],{"className":878,"code":879,"language":48,"meta":49},[46],"GET \u002Fapi\u002Fnow\u002Ftable\u002Fincident?sysparm_query=active=true^priority=1&sysparm_fields=number,short_description&sysparm_limit=10\n",[15,881,879],{"__ignoreMap":49},[228,883,884,893],{},[231,885,886],{},[234,887,888,890],{},[237,889,239],{},[237,891,892],{},"Effect",[247,894,895,904,914,926,940,959],{},[234,896,897,901],{},[252,898,899],{},[15,900,166],{},[252,902,903],{},"Encoded query, same syntax as the list URL",[234,905,906,911],{},[252,907,908],{},[15,909,910],{},"sysparm_fields",[252,912,913],{},"Comma-separated fields to return",[234,915,916,920],{},[252,917,918],{},[15,919,17],{},[252,921,922,923,925],{},"Return the fields in a named UI view; ",[15,924,910],{}," takes precedence",[234,927,928,937],{},[252,929,930,933,934],{},[15,931,932],{},"sysparm_limit"," \u002F ",[15,935,936],{},"sysparm_offset",[252,938,939],{},"Paging",[234,941,942,947],{},[252,943,944],{},[15,945,946],{},"sysparm_display_value",[252,948,949,62,952,187,955,958],{},[15,950,951],{},"true",[15,953,954],{},"false",[15,956,957],{},"all"," for display values",[234,960,961,966],{},[252,962,963],{},[15,964,965],{},"sysparm_exclude_reference_link",[252,967,968],{},"Drops the link objects from reference fields",[12,970,971,972,976,977,981],{},"The ",[218,973,975],{"href":974},"\u002Fblog\u002Fservicenow-outbound-rest-integration-best-practices","outbound REST integration guide"," covers calling these endpoints from another instance, and the ",[218,978,980],{"href":979},"\u002Fblog\u002Fservicenow-scripted-rest-api-best-practices","Scripted REST API best practices"," explain how to read query parameters in your own endpoints.",[35,983,985],{"id":984},"a-quick-checklist","A quick checklist",[121,987,988,996,999,1002,1011,1016,1022,1027],{},[124,989,990,991,993,994],{},"Use the view ",[103,992,105],{},", not its title, in ",[15,995,17],{},[124,997,998],{},"If a view will not stick, look for a view rule on the table",[124,1000,1001],{},"Copy encoded queries from the list breadcrumb instead of writing them by hand",[124,1003,1004,1005,1007,1008,1010],{},"Use ",[15,1006,204],{}," plus ",[15,1009,166],{}," to prefill new records",[124,1012,1013,1014],{},"URL-encode the query value once, after joining it with ",[15,1015,61],{},[124,1017,1018,1019,1021],{},"Pass ",[15,1020,212],{}," values, not display values, for reference fields",[124,1023,1004,1024,1026],{},[15,1025,811],{}," instead of hardcoding the instance hostname",[124,1028,1029,1030,1032],{},"Set ",[15,1031,308],{}," when users should land somewhere specific after saving",[12,1034,1035,1036,1040],{},"URL parameters are also the basis of most admin bookmarklets. The ",[218,1037,1039],{"href":1038},"\u002Fblog\u002Fboost-your-servicenow-productivity-with-these-handy-bookmarklets","bookmarklets guide"," has ready-made ones that build on the parameters covered here.",[1042,1043,1044],"style",{},"html pre.shiki code .sCydW, html code.shiki .sCydW{--shiki-default:#D73A49;--shiki-dark:#D73A49}html pre.shiki code .se37E, html code.shiki .se37E{--shiki-default:#6F42C1;--shiki-dark:#6F42C1}html pre.shiki code .sKWpL, html code.shiki .sKWpL{--shiki-default:#24292E;--shiki-dark:#24292E}html pre.shiki code .sJ8bj, html code.shiki .sJ8bj{--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .sOTlB, html code.shiki .sOTlB{--shiki-default:#032F62;--shiki-dark:#032F62}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sMN4m, html code.shiki .sMN4m{--shiki-default:#005CC5;--shiki-dark:#005CC5}",{"title":49,"searchDepth":388,"depth":388,"links":1046},[1047,1048,1049,1050,1051,1052,1053,1054,1055],{"id":37,"depth":388,"text":38},{"id":97,"depth":388,"text":98},{"id":160,"depth":388,"text":161},{"id":225,"depth":388,"text":226},{"id":346,"depth":388,"text":347},{"id":588,"depth":388,"text":589},{"id":823,"depth":388,"text":824},{"id":867,"depth":388,"text":868},{"id":984,"depth":388,"text":985},"2026-11-13","How sysparm_view, sysparm_query, sys_id=-1 and other ServiceNow URL parameters work, with examples for forms, lists, modules and the REST Table API.",null,"md",[1061,1064,1067,1070],{"question":1062,"answer":1063},"What does sysparm_view do in ServiceNow?","sysparm_view picks the form or list view by its name, for example incident.do?sys_id=\u003Csys_id>&sysparm_view=ess. If the parameter is empty or the view does not exist for that table, ServiceNow shows the Default view.",{"question":1065,"answer":1066},"How do I open a new record with fields already filled in?","Use sys_id=-1 to open a new record form and add sysparm_query with field=value pairs joined by ^, for example incident.do?sys_id=-1&sysparm_query=priority=2^short_description=Printer offline. URL-encode the query value when you build it in a script.",{"question":1068,"answer":1069},"Why does my form ignore the sysparm_view I put in the URL?","A view rule on the table can override the requested view. When a view rule applies, ServiceNow adds sysparm_view_forced=true to the URL. Check the View Rules module (sysrule_view) for rules on that table before you debug anything else.",{"question":1071,"answer":1072},"Does the REST Table API accept sysparm_view?","Yes. The Table API accepts sysparm_view to return the fields in a named UI view. If you also pass sysparm_fields, sysparm_fields takes precedence, so use one or the other.",{},"\u002Fblog\u002Fservicenow-sysparm-url-parameters-guide",{"title":5,"description":1057},"\u002Fsocial-card.png","blog\u002Fservicenow-sysparm-url-parameters-guide",[1079,1080,1081],"url parameters","navigation","administration","cmDFlWuhb9xXAY8PFTDFT9jc-Re3mG-Wu-SJPvVvRAw",[1084,1093,1100],{"path":1085,"title":1086,"headline":1086,"description":1087,"date":1088,"tags":1089},"\u002Fblog\u002Fservicenow-mid-server-installation-configuration-troubleshooting","ServiceNow MID Server: Installation, Configuration, and Troubleshooting","Install and validate a ServiceNow MID Server, configure its key parameters, and troubleshoot a MID Server that is down, stuck, or failing its jobs.","2026-11-11",[1090,1091,1092,1081],"mid server","discovery","integrations",{"path":1094,"title":1095,"headline":1095,"description":1096,"date":1088,"tags":1097},"\u002Fblog\u002Fservicenow-update-sets-complete-guide-migration-mastery","ServiceNow Update Sets: A Complete Guide to Clean Migrations","Learn how ServiceNow update sets work, what they capture, and how to name, batch, preview, and commit them so changes reach production without surprises.",[1098,1099,1081],"update sets","deployment",{"path":1101,"title":1102,"headline":1103,"description":1104,"date":1105,"tags":1106},"\u002Fblog\u002Fcustomizing-oauth2-parameters-servicenow-netsuite","Customizing OAuth2 Parameters in ServiceNow for NetSuite Integration | SN-Tricks","Customizing OAuth2 Parameters in ServiceNow for NetSuite Integration","Learn how to modify OAuth2 request parameters in ServiceNow by extending OAuthUtil for NetSuite and other integrations","2025-07-16T10:00:00",[1107,1108,1109,1110,1111,1112,1113],"ServiceNow","OAuth2","NetSuite","Integration","REST API","Script Include","Authentication",1794532264004]