Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to identify which component is setting "sysparm_view_force" to true?

ajitmundhekar
Tera Expert

Hello Developers,

I have a module which is supposed to create an Incident record & the form is supposed to open in specific view say "ABC". I have set View Name = "ABC" in my sys_app_module record.

But whenever I click on this module in Filter navigator, Incident form is always opened in Default view.

I observed the URL that is generated on clicking that module has "sysparm_view_forced" set to True which is not allowing my form to be opened in "ABC" view.

Now I need to identify which is the other component in Servicenow which is setting "sysparm_view_forced" to True. How should I do that?

PS: I have already check all sys_app_modules for Arguments CONTAINS 'sysparm_view_forced' but I didn't found any.

Thanks in advance!

Regards,

Ajit Mundhekar

1 ACCEPTED SOLUTION

sachin_namjoshi
Kilo Patron
Kilo Patron

You may have view rules on your instance which is forcing to open form in particular views.

 

find_real_file.png

 

Regards,

Sachin

View solution in original post

1 REPLY 1

sachin_namjoshi
Kilo Patron
Kilo Patron

You may have view rules on your instance which is forcing to open form in particular views.

 

find_real_file.png

 

Regards,

Sachin