Exporting Form Layout and Table

ppapp
Kilo Explorer

I'm doing some development on service now and I'm currently using a temporary dev instance so if something gets messed up I can easily wipe and start over again.

I would like to backup a form with the current fields and layout and restore it into my temporary dev instance for testing. I'm able to backup data from the table but I haven't be able to backup the form with its full layout. So basically I want to backup and restore my change request table with its custom form into a clean instance.

Is this possible without recreating the form manually?

Thanks

5 REPLIES 5

sachin_namjoshi
Kilo Patron
Kilo Patron

All of form layout changes are captured in update set.


Please create update set and capture form layout changes in update set.



Take back up of your update and commit this update set as per your requirements.



Regards,


Sachin


I've been trying to do that but I don't know exactly what I need to backup. These changes would have been made a long time ago so I don't know how to capture the current layout.


Hi Philip,



All changes from Day 1 on your instance and saved in sys_update_xml table.


Please navigate to sys_update_xml.LIST and search for your form layout changes and then move to your new update set.



Regards,


Sachin


shruti_tyagi
ServiceNow Employee
ServiceNow Employee

Hey Philip,


Here are 5 tables thats comes into picture to build a form layout:


sys_ui_view


sys_ui_form


sys_ui_form_section


sys_ui_section


sys_ui_element



You will need to capture records from these tables for your form layout in update sets. Or you can export records from these tables and import it in instance that you want to create form layout in.



Thanks


Shruti


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