View Rules Not Applying

Brandon Warren
Kilo Guru

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. 

12 REPLIES 12

@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 tablesview.png

If my inputs have helped with your question, please mark my answer as accepted solution, and give a thumb up.
Bharath Chintala

I created a form, but I still get the same behavior. Does this look correct?

 

BrandonWarren_0-1676916874459.pngBrandonWarren_1-1676916893486.png

 

@Brandon Warren In form did you add at least a field? I see a section you have added but you have any fields inside??

 

If my inputs have helped with your question, please mark my answer as accepted solution, and give a thumb up.
Bharath Chintala

@BharathChintala  - Yes, the form section already had fields defined from when I created the view originally in the form design.

BrandonWarren_0-1676920824768.png

BrandonWarren_1-1676920910073.png

 

@Brandon Warren  have you tried clearing cache? https://xxx.service-now.com/cache.do