How do you Force a Specific Form View from a List View

dmullinax
Mega Guru

Our list view, triggered from application menu "Student Device - Print Records" is using a specific list view.

"Student Device Print View/"
find_real_file.png

When I drill into a record, I want to see the corresponding form layout view.
find_real_file.png

Depending on what the user last used, we get the incorrect view.  User has to click on the hamburger, and switch back to "Student Device Print View."find_real_file.png

Is there a way to force the list view to show a specific view rather than the user's last default view?

11 REPLIES 11

dmullinax
Mega Guru

Also why isn't there a way to force a view in the list view List Control?  Is there a field where I can define arguments?

find_real_file.png

Hi,

sysparm_view_forced this should work provided the view name is correct

did you try to logout and login and then check

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

When you say to add this argument, are you referring to the module from the filter navigator that opens the list view?

Otherwise where do I add this argument?

Hi,

yes in the left nav module

screenshot below which I shared yesterday

find_real_file.png

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Sorry please let me further clarify.

In the list view, I click on a ticket.
find_real_file.png

The form that opens will automatically open to a pre-determined form view.

So instead of opening this view...
find_real_file.png

 

It opens this one instead.
find_real_file.png

The arguments field of the link type tab of the module object only apply to the list view, not the form view.  I can force the filter navigator to open a specific list view.  But I cannot open a specific form view from the list view.