Where are form layouts saved?

Steven G_
Tera Expert

I have challenges from time to time with form layouts, Does anyone know where they are saved within the instance? thank you

1 ACCEPTED SOLUTION

edwajs
ServiceNow Employee
ServiceNow Employee

Hi Steve,



When you make changes to the Form Layout, you are supposed to get one or more sys_update_xml records generated, and the payload(s) should have all of the following:


a)   sys_ui_view


b)   sys_ui_form   *if you have multiple sections


c)   sys_ui_form_section   *if you have multiple sections (tabs)


d)   sys_ui_section


e)   sys_ui_element



When I have needed to fix this for customers, I find all the necessary records in the correct instance, and just XML Export them, and then do an Import XML on the target instance.   And you need to do a cache flush afterwards (cache.do) for the changes to take effect.



Ed


View solution in original post

7 REPLIES 7

edwajs
ServiceNow Employee
ServiceNow Employee

Hi Steve,



When you make changes to the Form Layout, you are supposed to get one or more sys_update_xml records generated, and the payload(s) should have all of the following:


a)   sys_ui_view


b)   sys_ui_form   *if you have multiple sections


c)   sys_ui_form_section   *if you have multiple sections (tabs)


d)   sys_ui_section


e)   sys_ui_element



When I have needed to fix this for customers, I find all the necessary records in the correct instance, and just XML Export them, and then do an Import XML on the target instance.   And you need to do a cache flush afterwards (cache.do) for the changes to take effect.



Ed


Thank you for your help, it appears unless you capture your changes originally in an update set the easiest way to build it back is using the form layout option from the form itself.


But Can I export the entire form definition and import on another instance which is fresh and have no customization.??