Deleted views appearing in published app

KrithikaV
Tera Expert

Hi,

 

I had deleted few form views in my application. However, when I publish the app to the 'App Repository', all the deleted views, form sections etc are appearing in the published app. I'm not very familiar with the concept of update sets. I'm not sure where the mistake is. Can someone please help me get rid of these deleted views so that it does not appear in the published app.

Thanks,
Krithika

1 ACCEPTED SOLUTION

Hi,

Found the solution with ServiceNow support team. By setting this property com.glide.apps.include_my_deletes to false, I was able to get rid of the old views.
See article: New York and Scoped Applications - some new features

View solution in original post

5 REPLIES 5

GlideFather
Tera Patron

Hi @KrithikaV 

 

you can change the View > Hidden: true

 

Have you been moving the changes across environments?

Example: deleting it in DEV, promoting it to TEST and seeing the deleted views in TEST - can you describe this scenario in your case?

———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */


Hi @GlideFather  - We are in the process of submitting our application for certification. So, we have vendor instances. We are developing in one of the vendor instance, say A. I deleted few views via the sys_ui_view and sys_ui_form tables. I don't see these views in the vendor instance - A. In the application page ie in the page : sys_app.do, under Application files, I do not see these views.

In the However, for testing, I published this app to the Application Repository and when installed from there in vendor instance B, I see all old views in vendor instance B. In the application page in this instance ie : sys_app.do, under Application files,  I see all the old views 
I don't want these old views to get published


@KrithikaV 
Ah okay. I don't know much without the access to it...

 

Workaround(s):

  • make the views hidden: true,
  • Roles: assign a newly created role that is not assigned to anyone eventually security admin or something not so frequent...

 

KamilT_4-1753887495247.png

 

 

 

 

 

 

———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */


Hi,

Found the solution with ServiceNow support team. By setting this property com.glide.apps.include_my_deletes to false, I was able to get rid of the old views.
See article: New York and Scoped Applications - some new features