is it possible to change the scope of a custom application?

patricklatella
Mega Sage

hi all, happy new year!

is it possible to change the scope of an application from Global to a scoped app...and vice versa?

thanks!

1 ACCEPTED SOLUTION

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hello Patrick,



To convert your solution from a global scoped application to a unique scope, you will need to recreate your application and move the logic over manually:


  • System Applications > Applications > Create New
  • From there, recreate your table names, scripts, etc. and copy/paste the logic from your existing app/update set over to the new record

There is some design time prompts and errors that will be beneficial to see and understand when creating a scoped (not global) application. Understanding application access, API support, etc. is much more difficult if you don't go through the motions from the beginning when creating a scoped application.


View solution in original post

6 REPLIES 6

sonali1212
Kilo Contributor

Hi,

I have a table which is in application 'A' where i am getting HTML responses on Snow ConnectChat window after calling certain API.
Now instead of getting HTML text i want plain text.

I also made a BR for this but it throws an error: Use of Package Calls is not permitted in scoped applications.

Can you please provide solution for the same?

Brian104
Tera Expert

Yes, you can do this without recreating the application files.   If you use source control on the application, just pull the application down and do a find/replace all with the old and new scopes.   Then import the application.

 

This solution was for moving a scoped app to another scope app.   For instance the original application was created with the scope given by a personal developer instance (PDI), but I needed to publish it to the company instances; which isn't allowed for external applications.   The solution was to replace the PDI scope with the company one using find and replace.