How to restore a deleted UI policy

rocktheboat
Giga Contributor

Hello,

I have UI Policy that was deleted by mistake in the sandbox instance. It needs to be restore.

What is the safest way to do it. I am thinking of 'Export XML' from the other sub-production instance and then import the xml in to sandbox.

Thanks so much for reading and answering.

1 ACCEPTED SOLUTION

Matthew Swarts
Tera Guru

You can recover this UI Policy and all of its UI Actions from the sys_metadata_delete table.   They are not in the Deleted Records module.   I had to type in sys_metadata_delete.list in order to get to this table and its records.


View solution in original post

11 REPLIES 11

Are you logged in as admin user?


yup, I am assuming, the IP is blocked


Thanks Matthew,



Can I ask where did you type that in.


Type sys_metadata_delete.list in the navigation filter. Screenshot for reference.


Screen Shot 2017-03-22 at 2.38.58 PM.png


Hi Som,



Another way to get to this deleted record is to go to the sys_update_xml table.   Again, just type in sys_update_xml.list in the Application Navigator search bar and press enter.   Once you are at this list view, you can search for your UI Policy and its UI Actions.


find_real_file.png


Upon entering any of these deleted records, you will see a Related Link called "Show Related Record".   If you click this, you will be brought to the Deleted Record form where you cn click on the Restore button to recover your records.



find_real_file.pngfind_real_file.png


Thank you,


Matt