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 set "Detailed" View as default view for all user while opening Open module ?

Virendra K
Kilo Sage

Hi All,

 

Per requirement, I need to set "Detailed" view as a default view for all the users while opening change list using "Open" module.

I have set the View name on Link Type tab of Open Module (snap), but its not working and not getting open in "Detailed" view.

Are my changes are correct ? or is there any other way/setting is there ?

 

VirendraK_0-1749828471982.png

 

Regards,

Virendra

 

1 ACCEPTED SOLUTION

Hello @Virendra K ,

Can you change the view manually to 'detailed' and give the URL, 
just to check how does it looks.

Regards,
Najmuddin. 

View solution in original post

10 REPLIES 10

Hello @Virendra K ,

Can you change the view manually to 'detailed' and give the URL, 
just to check how does it looks.

Regards,
Najmuddin. 

Hi @Najmuddin Mohd 

Seems its working. but have a doubt on below URL.

I am trying it on my PDI and using "sow_landing_page".

As you have mentioned I copied url after setting the manual view.

My question is, do I need to keep "sysparm_userpref" related details in the url or shall I remove it ? Does it make any difference / create any issue ?

 

Arguments:
change_request_list.do?sysparm_view=sow_landing_page&sysparm_userpref.change_request_list.view=sow_landing_page&sysparm_userpref.change_request.view=sow_landing_page&sysparm_query=active%3Dtrue&sysparm_fixed_query=

 

 

VirendraK_0-1749990996659.png

 

@Virendra K , I did not get you. Your view name is 'detailed' right ?

But, change_request_list.do?sysparm_view='<name_of_the_view>' should be enough.

Regards,
Najmuddin.

Hi @Najmuddin Mohd 

I mean to say is, I just changed the view name that is, "sow_landing_page" instead of "Detailed" and as per your earlier reply, I set the view name and copied the URL manually and pasted it in Argument field and it started working. The URL is as below,

Also as you mentioned, "change_request_list.do?sysparm_view='<name_of_the_view>'" is enough, but its not working but below URL is working. My ask is, do we need to keep "sysparm_userpref.change_request_list.view=sow_landing_page"  in URL?

 

 

Arguments:
change_request_list.do?sysparm_view=sow_landing_page&sysparm_userpref.change_request_list.view=sow_landing_page&sysparm_userpref.change_request.view=sow_landing_page&sysparm_query=active%3Dtrue&sysparm_fixed_query=

  

It should actually work with the one that I have given. 
"change_request_list.do?sysparm_view='<name_of_the_view>'"

May be user preference was created. Can you check sys_user_preference.LIST or just impersonate any other user and Test ?

Regards,
Najmuddin.