- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2025 11:29 AM
I couldn't fit the full subject in the subject field thus I will specify the full subject here: I want to know how to specify the form view used to display a record on a Service Portal page through the form widget when the user clicks on a record in the data table from instance definition widget?
Although I have explored options offered in both of the widget instances, including the HREF/URL fields available in both, I'm not arriving at the appropriate method or syntax to append the view=view_name URL parameter to the URL to cause the named to be used for record display.
By extension, I would like to specify the view name based on a value in the record.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2025 12:20 PM
Hello @Michael Searle ,
This widget uses a hard coded view ("sp" / "Service Portal") when navigating to the record form. There is no way to specify a different view, unless you are willing to clone this widget and modify the code accordingly.
As an alternative you could use the "Data Table from URL Definition" widget, which supports the view URL parameter, and passes it to the form being opened when clicking on a record.
For example: https://{instance}.service-now.com/sp?id=list&table=incident&view=ess
will open the Incident list in the Self Service view, and when the user clicks on one of the Incidents it will show in the Self Service view as well.
Regards,
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2025 12:20 PM
Hello @Michael Searle ,
This widget uses a hard coded view ("sp" / "Service Portal") when navigating to the record form. There is no way to specify a different view, unless you are willing to clone this widget and modify the code accordingly.
As an alternative you could use the "Data Table from URL Definition" widget, which supports the view URL parameter, and passes it to the form being opened when clicking on a record.
For example: https://{instance}.service-now.com/sp?id=list&table=incident&view=ess
will open the Incident list in the Self Service view, and when the user clicks on one of the Incidents it will show in the Self Service view as well.
Regards,
Robert