SN Widget Kit logoSN Widget Kit
Docs

Authoring

Widget templates & scaffolding

Create a new widget from a polished starter — or save any instance widget as a reusable template your team can share.

Create New Widget (from template) is a wizard: choose a starting template, then enter name, id and application scope. It creates the sp_widget on the instance, pulls it locally and opens it.

Built-in templates

All come with a clean, modern default style:

TemplateWhat you get
BlankThe default empty scaffolding
List + DetailMaster list with a detail panel, wired to a GlideRecord query
FormInput form that creates a record on submit
DashboardStat cards with counts grouped by state (GlideAggregate)
Card with imageOptions-driven card (image, title, text, link)
  • demo_data is generated automatically from the chosen template's option_schema, so the options preview is consistent out of the box.
  • Import Widget as Template (SN Widget: Import Widget as Template) saves any instance widget as a reusable template under .sn-widget-kit-templates/<key>.json. It then appears in the wizard.
Standardize across the team
Commit the .sn-widget-kit-templates/ folder to Git so everyone scaffolds from the same shared starters.