We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Enforcing a view not working in menu module

dannyprime
Tera Guru

I have recently installed CIM and am looking to create a view for a specific group that can be accessed via a new menu module eg: Create New

 

We are on Zurich release and I have set the module up as follows:

Link type: New Record

Table: Improvement Initiative [sn_cim_register]

View name: New View

Filter: Blank

Arguments: Blank

Window name: Blank

 

However whenever anyone clicks on the Create New it will show the correct view name in the url (eg: sn_cim_register_list.do%26sysparm_view%3DNew%2BView) however it actaully shows the default view as the form.

 

Anything I'm missing?

 

1 ACCEPTED SOLUTION

dannyprime
Tera Guru

So in the end I deleted all views I'd created as part of this and started again, followed the exact same steps (to my memory) and it is all working exactly as I want/need.

View solution in original post

6 REPLIES 6

lauri457
Tera Sage

You'd need to use the name not the title for the view. Most likely new_view in your case or check from [sys_ui_view]. 

Thanks @lauri457 , I should have already mentioned that I have tried using both the name and the title and both don't work, it still sends users to the default view even though the url shows the name / title of the view I want to be enforced:

eg: sn_cim_register_list.do%26sysparm_view%3Dnew_view

 

I've also tried uppercase, lowercase and exactly what is written in the view record and none of that has made any difference.

Then there is most likely a view rule in place check [sysrule_view]

@lauri457  & @Ankur Bawiskar 

 

Yes there is 1 view rule that exists for the form / table, however it's criteria is based on a role type that none of my users have, so it shouldn't be affecting it.

 

Having said that I did disable the view and tried again just to be sure and the new view is still not showing 😠

 

I also created a new view rule to force the new view and could see in the url that is shows "forced view" however it is still showing the default view.