Force Views on List Layout through Modules
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-06-2017 04:31 AM
I'm trying to force a custom list view using the view name field in Modules, however I'm finding that when switching between module links with different views they are being retained and not changed. The views have been set up correctly and I can switch between them through right-clicking the header. I have this exact set up with another table and the views change based on the link, so I'm not entirely sure why this is happening. Can anyone provide any assistance?
ALL COMPONENTS MODULE
ALL COMPONENTS LIST VIEW
ALL TASKS MODULE
ALL TASKS LIST VIEW

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-06-2017 04:55 AM
Leonard,
You're looking for View Rules. You can set those up by going to System UI > View Rules on the application menu.
Once there you can set up conditions to make certain views available or not available, as well as when they apply.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-06-2017 05:21 AM
Hi,
I had come across this issue once, seems like it wont change. Once you set a view, it is added under your user preferences. The next time you access the same table, the view is fetched from the user preference which was the previous one and i believe sysparm_view added in your second module is not respected.
Thanks
PS: Hit like, Helpful or Correct depending on the impact of the response
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-06-2017 08:34 AM
See I thought this as well but I have this working with another set of links in the same module just on a different table. Not sure why it's not honouring view added through the module.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-06-2017 08:42 AM
Have you tried changing the link type to URL from Arguments and update the arguments field. It works when we access the view or form from a URL.
/incident.do?sysparm_view=itil
/incident.do?sysparm_view=ess
Thanks
PS: Hit like, Helpful or Correct depending on the impact of the response