How to restore accidentally removed form fields on all tables in the instance

JohnDF
Mega Sage

Hi everyone,

 

I removed accidentally via script all fields from the form layout of every table in the system. Is there a way to restore the fields on the views with an easier way I do at the moment? Example Form without fields on the form and tabs:

JohnDF_0-1673951382481.png

 

How I manually restore it on each table atm. This will took me some days. Maybe there is a smarter way to do.

 

I go in every form layout on every table for each sections and revert it to the latest version.

 

JohnDF_1-1673951543937.png

 

So can I restore the form with the sections one by one. Can someone helpme to speed up this a bit?

 

Thanks for your ideas and help.

 

 

3 REPLIES 3

jaheerhattiwale
Mega Sage
Mega Sage

@JohnDF 

Go to "System Definition > Deleted Records" module

If you find the deleted records there then open them and restore them.

 

If you don't find them there then you need to do it manually again.

 

Please mark as correct answer if this solves your issue.

Please mark the answer as correct or helpful based on impact
ServiceNow Community Rising Star, Class of 2023

@jaheerhattiwale thanks for reply.

 

this records somehow not in this deleted records module 😞

@JohnDF The unfortunately you cannot bring them back. You need to create them manually.

 

If the same configuration is present in any other instance then you can create the update set on that instance and commit it in the deleted instance.

 

Please mark as correct answer if this answers your question

Please mark the answer as correct or helpful based on impact
ServiceNow Community Rising Star, Class of 2023