Change scope name of a Scoped Application

joseeduardo
Giga Expert

Good morning community! , Guys is there any way to change the scope name of an application? I understand so far your not supposed to change it, but I was wondering if maybe making a hi ticket or communicating with Servicenow directly they could help on that! is this possible? is it there any other way? Or if I have a wrong naming convention on what my application does I need to rebuild it just to correct that?

Thanks in Advance!.

Jose Eduardo Chirinos Odio.

Volteo

1 ACCEPTED SOLUTION

Chuck Tomasi
Tera Patron

Hi Jose,



The application scope name is a tricky subject. It's made up of two parts, the customer code and the application name. Rule #1 - DO NOT change the customer code. BAD BAD BAD.



It *IS* possible to change the application name, but it's not a lot of fun. I've done it a couple times. Here are my steps:


  1. Export the application to an update set
  2. Export the update set to XML
  3. Delete the application
  4. Make a copy of the XML file
  5. On the new copy, search and replace all strings for the name (e.g. x_abc_app_old --> x_abc_app_new.)
  6. Re-import the app's XML file via Retrieve Update Sets module, preview and commit.


Again, none of this is supported. If it blows up, ServiceNow is not responsible. And... you always have a backup XML.


View solution in original post

11 REPLIES 11

Chuck Tomasi
Tera Patron

Hi Jose,



The application scope name is a tricky subject. It's made up of two parts, the customer code and the application name. Rule #1 - DO NOT change the customer code. BAD BAD BAD.



It *IS* possible to change the application name, but it's not a lot of fun. I've done it a couple times. Here are my steps:


  1. Export the application to an update set
  2. Export the update set to XML
  3. Delete the application
  4. Make a copy of the XML file
  5. On the new copy, search and replace all strings for the name (e.g. x_abc_app_old --> x_abc_app_new.)
  6. Re-import the app's XML file via Retrieve Update Sets module, preview and commit.


Again, none of this is supported. If it blows up, ServiceNow is not responsible. And... you always have a backup XML.


Hey ctomasi Thank you very much for your quick reply!.. mmm I like that idea!.. now we need to consider what is better for us!



Thank you very much again!



Jose Eduardo Chirinos Odio


Volteo


hello Chuck,

Would this solution also work for duplicating an application ins the same instance?

I have a developer instance with a custom aplication that I sell on the store, I woudl like to create a new copy under a new name to do some experimentation and prefer to do on the same instance without disturbing the existing scoped application used for certification

it seems your method would work also for thi scase.

what do you think and is ther ea better way?

thx

richard

Is this still the ONLY way to do this? I have exported/imported an app between two instances (different organizations) and now get this message when I want to publish the app internally.

find_real_file.png

No other NEW ways that are supported to achieve this?