Restore deleted pages from files

0
Hi everybody,   after accidentally using the 'feature' Overwrite existing pages I trying to find a way to restore all my applications pages which have been deleted. I understand that there is no such thing like undo or restore from trash bin.   But the application is running locally and there are files in local folders which contain all information. I just can't find a way to restor ethese or use the files to create pages.   Am I missing something or is Mendix indeed punishing me hard for not reading carefully?   Is there no way to undo this?
asked
2 answers
0

Stefan,

A quick and dirty way to accomplish this:  if you have not committed your changes to the server (using Commit on the Changes tab in Studio Pro), you can

  • close Studio Pro
  • delete the directory where your project is located from your hard drive
  • open Studio Pro
  • open the app
  • select the line (branch or main) that you were working on. 

Studio Pro will then download the version that was last committed to tearm server.

 

Hope that helps,

Mike

answered
0

Many thanks to both of you.

 

Unfortunately, I was just in the middle of rebuilding and hadn't committed any change since.

 

It looks like there is really no way to roll back, as there seems to be no way for other activities as well. Version control is the way to deal with it, I learned a lesson again.

 

 

 

 

answered