Utility Commands

SN Utils utility slash commands for switching scope, impersonating, elevating roles, and other common tasks.

Beyond navigation and search, slash commands provide utility functions for common administrative tasks.

Switch Application (/sa)

Switch application scope quickly:

Switch Application scope

  • Without argument: Shows last 10 scopes you've used
  • With argument: Searches scope name and ID

Navigate by typing the number (press SHIFT first if numbers are inactive).

CommandAction
/suSwitch Update Set (searches update sets in current scope)
/sdSwitch Domain (domain-separated instances only)

Impersonate (/imp, /unimp)

Impersonate a user:

Impersonating a user

  • Without argument: Shows recent impersonations
  • With argument: Searches by username

While impersonating, use /imp again or /unimp to stop impersonation.

Elevate Role (/elev)

Toggle elevated roles:

Elevate role

  • /elev - Toggle security_admin role
  • /elev <role> - Toggle a specific elevated role

The page reloads after execution.

Switch Language (/lang)

Switch session language with a 2-letter code:

/lang nl - Switch to Dutch

Switch language

If the language isn't installed on the instance, nothing changes.

New Tabs (/tab, /env)

Open new tabs:

CommandAction
/tabOpen new tab of current instance
/tab escOpen Employee Center Portal
/envOpen copy of current page in same instance
/env <instance>Open current URL in different instance

Pop In/Out (/pop)

Toggle Next Experience top navigation:

Without and with Next Experience

Only relevant if you don't enable Always show top navigation setting.

Enabling the /pop function

Time-Based Filter Switches

When searching tables, you can use time-based switches to filter records by when they were created or updated. These work with any table command.

Syntax

-<type><number><unit>

TypeMeaning
-uUpdated in the last...
-cCreated in the last...
-ucUpdated or created in the last...
-umUpdated by me in the last...
UnitMeaning
sSeconds
mMinutes
hHours
dDays
wWeeks
MMonths
qQuarters
yYears

Examples

CommandResult
/incident -u5dIncidents updated in the last 5 days
/task -c3hTasks created in the last 3 hours
/incident -uc15mIncidents updated or created in the last 15 minutes
/sys_script -um1wScript Includes updated by me in the last week
/sys_update_xml -c1dUpdate XML records created in the last day

These switches generate encoded query filters automatically and can be combined with other switches and search terms:

/br myBusinessRule -u2d -s — Business Rules matching "myBusinessRule", updated in the last 2 days, in the current scope.

Random Values (/rnd)

Fill random values in fields for testing. See Other UIs for details on portal usage.

Clear Local Storage (/cls)

Clear the browser's local storage for the current instance. Useful when:

  • Menu isn't updating
  • New tables missing from table lists

Run /cls and reload the page.

Diff Editor (/diff1, /diff2, /diffenv)

Compare two records:

  1. Open first record, run /diff1 (opens diff tab)
  2. Open second record, run /diff2

Diff tab

Cross-instance comparison: Use /diffenv <instancename> to compare the same record across instances (must be logged into both).