How do you Force a Specific Form View from a List View
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2021 07:12 AM
Our list view, triggered from application menu "Student Device - Print Records" is using a specific list view.
"Student Device Print View/"
When I drill into a record, I want to see the corresponding form layout view.
Depending on what the user last used, we get the incorrect view. User has to click on the hamburger, and switch back to "Student Device Print View."
Is there a way to force the list view to show a specific view rather than the user's last default view?
- Labels:
-
User Interface (UI)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2021 07:21 AM
Hi,
Check the below links for your answer:
https://community.servicenow.com/community?id=community_question&sys_id=c573cb25dbd8dbc01dcaf3231f9619f0
https://docs.servicenow.com/bundle/paris-platform-user-interface/page/administer/navigation-and-ui/task/t_CreateAViewRule.html
Mark as Correct & Helpful, if applicable.
Thanks,
Sandeep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2021 07:36 AM
Hi,
You can define the view and add it as a parameter on the url i guess. Or alternatively a view rule if that is an option(based on any field value).
-Anurag
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2021 07:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2021 09:04 AM
A view rule is not going to work for me. In order for it to work, it has to be based on a condition.
For example, I set this field "SDI" to true.
You'll see it is inactive because I've already tried this.
I do not see how I can define a view rule based on what application menu the user clicked on.
So... I that field is true, that form view will always evaluate to true preventing the ability to see the other view.
How does this know what list view you clicked on?
Ankur I tried setting the argument in module "&sysparm_view_forced=true&sysparm_view=student_device_print_view."
This did not work.