No option to switch view when creating new record

Mark Van Loock
Tera Guru

Hopefully a simple problem -

 

I have the ability to change form views using the context dropdown menu when viewing an existing record, but not when creating a new incident, problem, or change ticket.

 

Can anyone point me in the right direction as to where this is controlled please.

I've looked in system UI > UI Context Menus > View, and there's a condition - ListProperties.canChangeView()

I wonder if this is it, but I've no idea how to set this.

 

Thanks,

Mark.

1 ACCEPTED SOLUTION

Peter Bodelier
Giga Sage

Hi @Mark Van Loock,

 

You simply cannot change view manually when creating a new record.
You can however create a view rule, which forces a specific view when creating a new record.

Will that help you in any way?

 


Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.

View solution in original post

4 REPLIES 4

Peter Bodelier
Giga Sage

Hi @Mark Van Loock,

 

You simply cannot change view manually when creating a new record.
You can however create a view rule, which forces a specific view when creating a new record.

Will that help you in any way?

 


Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.

Vishal Birajdar
Giga Sage

Hi @Mark Van Loock 

 

You can use View Rule to functionality to force a specified view to be used.

 

Below link might help you : 

https://docs.servicenow.com/en-US/bundle/tokyo-platform-user-interface/page/administer/navigation-an...

 

 

Vishal Birajdar
ServiceNow Developer

I know one thing, and that is that I know nothing.
- Socrates

Aaron Brown2
Tera Expert

Good day,

 

I too was having this issue but I did figure out that if you create a list view that matches the name of the form view and then add the new record from list view, your "default" view will match the list view.  This new view is the one that you can customize and show or hide "default" fields.

Hi Aaron that is correct. You could also do the same by supplying the view name in a navigator module, or simply by adding sysparm_view=<<viewname>> in the URL.

You only cannot change it when you're already in the form.


Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.