Widget Development
Use sn-scriptsync for Service Portal widget development with live CSS preview and instant updates.
Last updated: January 24, 2026
Last updated: January 24, 2026
sn-scriptsync has special features for Service Portal widget development.
Open a widget in the widget editor (try /spw creator):

Click the save button to sync to VS Code:

In VS Code, widgets are organized differently:

sp_widget foldertemplate.html, client_script.js, server_script.js, css.scss)CTRL-Click (CMD-Click on Mac) a URL in _test_urls.txt to open the widget in a browser:

Edit client_script.js and save. For example, change:
this.showFilter = true;
The page refreshes automatically and shows your changes.
Open css.scss with both VS Code and browser visible. As you type CSS changes, they apply instantly without saving:

This makes CSS development much faster - see changes in real-time as you type!
sn-scriptsync transforms widget development: