Uninstalling Application has Disabled Checkbox for "Retain tables and data"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2019 07:37 AM
I've uninstalled a previous version and re-installed my newly published custom application into our test site from the repository. I wasn't given the option to not Retain tables and data because the checkbox was disabled for it. I'm thinking that this is why one of the tables was installed with duplicated indexes. Other table changes are in this version, such as a deleted table and changed indexes.
I am an admin and both the DEV and TEST Instances are running kingston-10-17-2017__patch12-11-28-2018_12-04-2018_0932.
I want to uninstall the application and remove all of the tables that were created, but the checkbox is disabled and I cannot uncheck it. This is what I've tried so far:
- ensured that all the tables cross-scope access can delete the data and that no data is present in the test site
- tried deleting the tables outright. UI Policy prevents (or something else) - No "Delete" button is present
- Used the Tables & Columns form to delete -- nothing possible there either
- tried removing the fields in the tables. Crazy desperate move.... no effect (didn't remove though it didn't complain)
- Researched but found no documentation online that addresses this.
Any ideas?
- Labels:
-
Scoped App Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2019 10:41 AM
I was able to enable the checkbox after deleting the import tables using this form:
/nav_to.do?uri=%2Fcleanup_import_sets.do
(HI suggested this) But this did not actually remove the application tables. I had this error
Deleted 2,117 metadata records, could not delete 1. The store application was deactivated, but not deleted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2022 04:51 AM
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0786118
This article should help