Delete data and Schema from an already unpublished app

TheHeino
Member Posts: 7
Hello
I had an app installed in my OnPrem BC20. Someone uninstalled it and unpublished it (which was ok) and now it does not show in the Extension management overview - all was ok, we were happy... now we need to copy a company from one database to another. In the new database we have installed all extensions but we do not have the unpublished app... So now the company-move fails because of the unpublished app and because we did not delete the data when we uninstalled it... so my question is:
How do you delete data and/or schema from an unpublished extension on BC20 OnPrem when you do not have the original app-file.
I hope you can help - my next step is to go into the SQL server and check if I can see where the app is registered and hopefully delete the references in there.
*Update* - I can see that the app is in Uninstalledapp table in SQL and it has a "1" in the "Hasdata" column... but how to remove this data? :-) I used this query:
SELECT *
FROM dbo.[$ndo$navappuninstalledapp]
Thank you.
I had an app installed in my OnPrem BC20. Someone uninstalled it and unpublished it (which was ok) and now it does not show in the Extension management overview - all was ok, we were happy... now we need to copy a company from one database to another. In the new database we have installed all extensions but we do not have the unpublished app... So now the company-move fails because of the unpublished app and because we did not delete the data when we uninstalled it... so my question is:
How do you delete data and/or schema from an unpublished extension on BC20 OnPrem when you do not have the original app-file.
I hope you can help - my next step is to go into the SQL server and check if I can see where the app is registered and hopefully delete the references in there.
*Update* - I can see that the app is in Uninstalledapp table in SQL and it has a "1" in the "Hasdata" column... but how to remove this data? :-) I used this query:
SELECT *
FROM dbo.[$ndo$navappuninstalledapp]
Thank you.
0
Best Answer
-
Use sync-navapp in Powershell. Mode 'Clean'0
Answers
-
Use sync-navapp in Powershell. Mode 'Clean'0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions