Is there a way to set incident to default it to "Default View" while on console and "Portal View" while on Servicenow Portal?

mohamudali
Kilo Contributor

Is there a way to set incident to default it to "Default View"   while on console and   "Portal View" while on Servicenow Portal?

1 ACCEPTED SOLUTION

Hi Mohamud,



1. For service portal I guess it will by default open records in sp (Service Portal) view if you have it defined. If you dont have sp view you need to create one:


System UI --> Views


In sys_ui_view table search for Name= sp.


If you have service portal view, open it and check if you have Forms, Sections and Lists to see if you have it for incident.


If not create it for incident.



If no sp view is defined for the table it will view records in default view. If you dont want to use sp view I guess change need to be made in widget: Data Table from URL Definition.



Check this discussion:


https://community.servicenow.com/thread/231972



2, If you want to force default view for all users for incident create view rule something like this:


Screen Shot 2017-08-01 at 10.41.00 AM.png



When you will open the incident record you will see 'sysparm_view=default&sysparm_view_forced=true' in parameters this will ensure your view is forced.



Thanks


Shruti


If the reply was informational, please like, mark as helpful or mark as correct!


View solution in original post

4 REPLIES 4

mohamudali
Kilo Contributor

Hi Shruti, Thanks for your quick response. What are looking is how to actually enforce one view on the service portal and completely separate view on internal console?


Hi Mohamud,



1. For service portal I guess it will by default open records in sp (Service Portal) view if you have it defined. If you dont have sp view you need to create one:


System UI --> Views


In sys_ui_view table search for Name= sp.


If you have service portal view, open it and check if you have Forms, Sections and Lists to see if you have it for incident.


If not create it for incident.



If no sp view is defined for the table it will view records in default view. If you dont want to use sp view I guess change need to be made in widget: Data Table from URL Definition.



Check this discussion:


https://community.servicenow.com/thread/231972



2, If you want to force default view for all users for incident create view rule something like this:


Screen Shot 2017-08-01 at 10.41.00 AM.png



When you will open the incident record you will see 'sysparm_view=default&sysparm_view_forced=true' in parameters this will ensure your view is forced.



Thanks


Shruti


If the reply was informational, please like, mark as helpful or mark as correct!


anindya_11
Giga Contributor

Go to System UI-> Views


Search for portal then go to Lists and set the fields of the intended table, this way you can create a separate portal view.


Now for Default view do the same thing except search for Default.