Undelete a View

I do not see an option to undelete a View, but I'll ask anyway in case I'm just not looking at the right place.

I created a common View for my department and it took sometime to create because I had to customize many of the virtual folders.  Now, I'm concerned that someone might accidentally delete this common view.  

Is there an undelete function for a view for the admins?

For now I duplicated the view and have a copy under 'My Views.'

  • There is a way to undelete a view.

    1. Do a one-time export, selecting in Structure tab the Export structure checkbox and the the Views checkbox. Seems that you need to export all the views to have the deleted view included in the package.
    2. In the resulting replication package, open Metadata\Structure.xml in a text editor and search for the view by its name or ID. Once you have located it, change deleted="true" to deleted="false" and also increase the changedat timestamp by e.g. 1 second. This is needed for the import to realize the package contains a more recent version.
    3. Once you have saved the Structure.xml, import the package with the one-time import.

  • That's really handy to know! Is this in the M-Files manual? Or did you have to learn this the hard way?

Reply Children