web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Accidentally pasted into object designer - Lost all custom pages

(0) ShareShare
ReportReport
Posted on by

Dear NAV community,

As you are probably aware, you can copy the list of objects from object designer and paste into an Excel spreadsheet (for a variety of reasons). Just today, I selected and copied the list of all our custom table objects and pasted it into a spreadsheet. Then, I selected our custom page objects and right-clicked to copy, but I accidentally clicked paste (my clumsy fingers) while the list of table objects was stored in clipboard.


To my dismay, the system flashed an error (there was no confirmation message and the error was on screen for only a moment, so I couldn't read it). What happened has made me so frustrated. All the page objects not from standard solution that we had developed were deleted. Luckily we had backed up database yesterday, so we will potentially lose only a bit over a half-day of development.

Has anybody ever had this problem? Is there any way to recover the page objects? Just to be clear, I did not click delete and I am very surprised that the development environment does not protect against this type of action.


Regards,

Ted

ProblemScreenshot1.jpg

ProblemScreenshot2.jpg

*This post is locked for comments

I have the same question (0)
  • Luc van Vugt Profile Picture
    on at
    RE: Accidentally pasted into object designer - Lost all custom pages

    Hi Theodore, this is totally new for me and somewhat scaring. For me this should not be possible and I do regard this as a bug. Reading this I am again happy we have TSF as central code repository.

  • Nareshwar Raju Vaneshwar Profile Picture
    5,596 on at
    RE: Accidentally pasted into object designer - Lost all custom pages

    Hi Theodore,

    We have had many many horror stories like this. As per Luc's blog instructions, now we are backed up with TFS and our code base is very safe. What a central repo does is, it versions the objects everytime you check-in. You now have every code of yours with versions.  

    Hope it helps.

  • Community Member Profile Picture
    on at
    RE: Accidentally pasted into object designer - Lost all custom pages

    That would be a nice thing to do. I have also have heard about using Team Foundation Server for source control, but we haven't started doing this.

  • Amol Salvi Profile Picture
    18,698 on at
    RE: Accidentally pasted into object designer - Lost all custom pages

    This is something new for me that pasting will replace the object .. Strange and worried instance.

  • Verified answer
    Community Member Profile Picture
    on at
    RE: Accidentally pasted into object designer - Lost all custom pages

    Ideally, MS should remove Cut & Paste option from Development Environment > Object Designer.

    This issue is there since very long with NAV and needs to be rectified in newer release.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
Saurav.Dhyani Profile Picture

Saurav.Dhyani 2 Super User 2025 Season 2

#1
Alexander Ermakov Profile Picture

Alexander Ermakov 2

#3
RK-25090803-0 Profile Picture

RK-25090803-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans