Forcing a particular view of a form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-23-2013 08:53 AM
Hello all,
I've created a module, 'List of Records' link type, that displays Incidents with a view called 'Live_INCs'. However when a user selects a record from the list I would like the Incident form to be displayed using the 'Default' view, rather than the view 'Live_INCs'.
I've found this global business rule:
http://wiki.servicenow.com/index.php?title=Restrict_Form_Views_by_Role
but I can't get this working for me. As far as I can see nothing would actually run in this business rule because all the code is wrapped in functions. I feel like I'm missing something obvious?
Is there a way of forcing a particular form view, from a different list view, either with or without the global business rule above?
Regards
Jamsta.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-23-2013 01:35 PM
You could set the view on the module by filling in the "View name" field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-24-2013 03:30 AM
Hi John,
Thanks for your reply. I have the 'view name' field set, and the list is displayed in that view, 'Live_INCs'. My issue is, how do I then force the form to display in a different view when a user selects to open one of the incidents on the list?
Regards
Jamsta.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-22-2015 01:33 PM
Did you ever get this resolved? I have the same question...I have a link under Self Service, called My Incidents, but if my ITIL users access their own incidents from this, it uses the ESS view, and they don't have access to all the fields that they need to resolve a ticket.
Mickey Cegon
FBL Financial Group, Inc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-26-2015 01:37 AM
Hi Mickey,
No unfortunately I never did. I can get the list to open in a particular view as John Warren point out in this thread, but I didn't find how to control the view of the form that opens when the user opens a record.
For your issue, you could make the link visible only to users with a particular role, a role your itil users do not have. And then create another link that ONLY your itil users have visibility of, and that link could open the list and form in the view that contains all the fields your itil users need.
Jamsta.