View Rules Not Applying
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-20-2023 06:13 AM
I'm building a custom application for tracking different phone extension-related items. I've set up multiple different views for the different "classes" of extensions we have. I can manually change to the created views, and everything looks great. I've created view rules to automatically force the view based on the value of the class field, but I can't get them to apply.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-20-2023 10:07 AM
@Brandon Warren if your view rule is working you will see this in URL "sysparm_fixed_query"
but in your scenario it is not working at all.
Found the issue
you created view and didn't created a form for that table. Creating form is important as same view can used for multiple tables we have to create forms for each tables
Bharath Chintala
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-20-2023 10:16 AM
I created a form, but I still get the same behavior. Does this look correct?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-20-2023 11:16 AM
@Brandon Warren In form did you add at least a field? I see a section you have added but you have any fields inside??
Bharath Chintala
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-20-2023 11:22 AM
@BharathChintala - Yes, the form section already had fields defined from when I created the view originally in the form design.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-20-2023 04:53 PM
@Brandon Warren have you tried clearing cache? https://xxx.service-now.com/cache.do