Form widget
The form widget is a platform form within the Service Portal UI with a few differences. You can use this base system widget as-is in your portal or clone it to suit your own business needs.
URL Parameters
The form widget accepts the following parameters within the URL. Add these parameters to the
page URL to display a specified record with the form widget.
| Parameter | Description |
|---|---|
| sys_id or sl_sys_id | Sys_id for the record to be displayed |
| table, sl_table, or t | Table for the record to be displayed |
| view or v | View used to display the record |
In the following example, the URL would display an incident with a sys_id of
1c741bd70b2322007518478d83673af3 in the portal
view.
https://example.service-now.com/sp?id=form&table=incident&sys_id=1c741bd70b2322007518478d83673af3&view=portalNote:
Timer fields, such as Time Worked, do not display correctly in Service Portal. For more information and a workaround, see the Timer fields do not display the correct data in Service Portal
[KB0752404] article in the Now Support Knowledge Base.
Scripting
Not all client scripts are supported in the Service Portal. To understand how client scripts interact with forms in the Service Portal, see Service Portal and client scripts and Supported client script types and APIs.