- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-19-2017 05:34 PM
Hi Xperts,
I am working on a Form with various state. For each state I have a different view. So every time I change the state, the corresponding view should apply.
How can I make the view rule work on Service Portal Form Widget?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-26-2017 09:05 AM
Yes. It actually works OOB using the form widget. I just need to set the first view while opening the form. So I pass the view name to the form widget. Otherwise it will go to the Default view. All other view rules work as expected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-03-2024 02:02 AM
@SanjivMeher How to pass the view name to the form widget?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-03-2024 09:09 AM
In the url, along with the table name, sys id, also pass &view=<view name>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-03-2024 09:13 AM
@SanjivMeher Where do we need to specify that? I mean form widget is read-only so should we write a script for it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-03-2024 09:38 AM
How do you navigate to the form widget?
The widget which takes you to the form widget should have an option to specify the view.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-16-2018 12:07 PM
Hi Guys,
A simple way to do that is to specify the view in the URL when redirecting the user to the form.
Use:
https://instance.service-now.com/sp?id=form&table=[TABLE]&sys_id=[SYSIDOFRECORD]&view=[VIEWNAME]
Hope that helps!