Facing issue with Duplicate default view is creation

Community Alums
Not applicable

Hi All,

I am facing issue with creation of Duplicate "Default" view in our instance.

Recently we are facing issue with duplicate view "Default"   on demand table. When ever we create a new record or open a demand from list layout, The form is opening in "Default" (Name is "default") view. But it should open with OOB Default view (which has empty name).

Even I have deleted the entries under "System UI > Views", I can see Demand forms are opening with "default" view. I observed new "Default" view created when ever I opened the Demand form.

Below is the URL I can see when I open the Demand form (Highlighted the sysparm_view of the form )

https://<instance_id>.service-now.com/dmn_demand.do?sys_id=de4b2ae4db34cf00ab6a70d9bf961975&sysparm_view=default&sysparm_record_target=dmn_demand&sysparm_record_row=2&sysparm_record_list=sys_class_name%3Ddmn_demand%5EORDERBYDESCsys_updated_on&sysparm_record_rows=495

This is screenshot of duplicate default view form which doesn't have any records for related list.

find_real_file.png

Could anyone tell me how to fix the issue and what are the components I have delete to fix the issue. ctomasi

1 ACCEPTED SOLUTION

Community Alums
Not applicable

Hi Ramya,

 

We have one incorrect view rule, that was causing the issue. We have fixed the issue by changing the view rule. 

 

I observed if view created for Form design then logical name of view will be empty and emtpy view will show as default one. And views rules on page will cause issue.

If you created new view on table, then check the logical name of view. There should be one view without logical name.

Please explain your more detail if you are still facing the issue.

View solution in original post

9 REPLIES 9

Community Alums
Not applicable

Hi All,



Update to the above issue.



I can see 7 views defined for Demand table on forms, But when I open customize form layout I can see 10 views as shown below. Any idea why there extra view are there for customization window.



find_real_file.png



find_real_file.png


Hi Swamy, 

I have same issue with one of our custom table. Was the issue solved?

It would be of great help if you give me information on how the issue was solved.

Community Alums
Not applicable

Hi Ramya,

 

We have one incorrect view rule, that was causing the issue. We have fixed the issue by changing the view rule. 

 

I observed if view created for Form design then logical name of view will be empty and emtpy view will show as default one. And views rules on page will cause issue.

If you created new view on table, then check the logical name of view. There should be one view without logical name.

Please explain your more detail if you are still facing the issue.

I am having the exact same issue.  How did you identify the incorrect view rule?  We have the OOB default view (where the name is blank) and another default view where name is "default" that is automatically being created when the form is open.  Ours is happening on our Standard Change Request Form.

We only have one view defined where the name is blank, and that's the OOB default view, but it's not using that one.

 

https:// <instance_id>/nav_to.do?uri=%2Fchange_request.do%3Fsys_id%3D-1%26sysparm_catalog%3Da22df9924fa99300af9c01b28110c7f4%26sysparm_catalog_view%3Dcatalog_Standard_Change_Catalog%26sysparm_link_parent%3D85a9495bdbad5b00411bda654b961946%26sysparm_query%3Dtype%253dstandard%255estd_change_producer_version%253dec3e1758dbf59788c8f452c8dc96194b%26sysparm_view%3DDefault%26sysparm_view_forced%3Dtrue

 

Thanks!