Default View Messed Up for Custom Table

steph3
Tera Contributor

It appears that my default view on my custom table has become messed up. I attempted to fix it by following the instructions I found in this thread: https://community.servicenow.com/thread/159307 However, this only created another empty section and now my default view is missing all of the fields that were in that section. I do not understand how it is supposed to work. Any guidance would be greatly appreciated!!

1 ACCEPTED SOLUTION

Mwatkins
ServiceNow Employee
ServiceNow Employee

I would remove the one that you don't want directly from the sys_ui_form table and remove any related records too. I would open all the related records first (sys_ui_form, sys_ui_form_section, sys_ui_element, sys_ui_section) and then delete them (I know some of them automatically delete by cascade behavior but can't remember which). That way you would be sure to delete all the unwanted records. Also, I would check your update sets to make sure that no remnants of the invalid forms are in there.


View solution in original post

6 REPLIES 6

steph3
Tera Contributor

Thanks Matt! It appears that I had two forms under default view and one was in global and one under the app. I deleted the one that had the incorrect structure, related records first, and everything looks as it should.


Thanks Matt. I too created a custom table (Istanbul) and it wouldn't let me modify the default view (well, it let me but then the changes disappeared immediately w/ no errors or anything). I went to the sys_ui_form table, created a new 'Default view' (after verifying there wasn't one there already for my custom table) and then when I modified it, the changes took.



Thank you!