Use this as an example for custom slash command switches.
Refresh browser tab to take effect.
{
"s": {
"description": "Current Scope",
"value": "^sys_scope=javascript:gs.getCurrentApplicationId()",
"type": "encodedquerypart"
},
"p": {
"description": "Filter Pinned",
"value": "&sysparm_filter_pinned=true",
"type": "querypart"
},
"t": {
"description": "View Table Structure",
"value": "sys_db_object.do?sys_id=$0&sysparm_refkey=name",
"type": "link"
},
"pi": {
"description": "Pop In - Open in full UI",
"value": "/nav_to.do?uri=",
"type": "prepend"
}
}