How to open a form in a 'specific' view when clicking on the record from Dependency view section?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2024 09:35 AM - edited 04-15-2024 05:54 AM
For a table we have multiple VIEWS created.
Requirement is that, from the Dependency view section on a form, when the user clicks on a record, it should take them to a specific view.
Ex - We have a view called as 'Architect view' on the 'Business Service' table. Now, when the user opens the Windows server record, in the Dependecy view section, upon clicking on the record, it should open the form in 'Architect View'
PS - ONLY when the user clicks on the records from 'Dependency view' section, this should happen.
And when user clicks from Table/list view, Application/module, then it should show what ever view is configured.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2024 11:16 AM
Hi @Suggy ,
I checked your problem and you test this below code, may this help you
Please create "OnLoad" Client script and add this code below
window.location="https://your_instance.service-now.com/incident.do?sys_id=-1&sysparm_view=your_view_name"
window.location="https://your_instance.service-now.com/incident.do?sys_id=-1&sysparm_view=your_view_name"
You can give view name in sysparmview
Please mark my answer correct and helpful if this works for you
Thanks and Regards
Sarthak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2024 05:56 AM
Thanks for replying. But that does not meet my requirements. I have updated my question with more clarity.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2024 01:22 AM
Hi @Suggy ,
Use sysparm_view=name_of_your_view parameter in ur URL to open the record in a specific view...
☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2024 05:57 AM
Thanks for replying. But that does not meet my requirements. I have updated my question with more clarity....