Converting Scoped Applications to Global Applications

lomouhamadou
Kilo Guru

Hi all,

Is it possible to Convert a Scoped Application to a Global one.

I created an apllication with its own scope but now that i am creating the cms portal from the global scope i have issue.

I want to create a new request, then I fill the fiels in and when I submit i get some scope errors.

What solution do I have?

Regs,

Lo Mouhamadou

1 ACCEPTED SOLUTION

ghsrikanth
Tera Guru

There is no direct way of converting one scope to another scope.


You always have to start from scratch (Yes, its painful) but as of now there is no way that you can convert it directly.


Moving changes between application scopes



Hopefully it helps


View solution in original post

4 REPLIES 4

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi,



Please check section 4 for more info.


Application Scope - ServiceNow Wiki



P.S : You can update the scope field from background script and then manually take care of scripting and other components. I haven't tried this but you can give it a try.


ghsrikanth
Tera Guru

There is no direct way of converting one scope to another scope.


You always have to start from scratch (Yes, its painful) but as of now there is no way that you can convert it directly.


Moving changes between application scopes



Hopefully it helps


I just started over and create the application in an update set.


I have a new question



I cannot add a service management configuration record.


Printscreen attached on my other post


phsdm
Giga Expert

I have done conversions by editing the update set XML with a sequence of regular expressions.   I wish I had written them down.



Export your scoped app as XML.   Then edit it to replace the scope, package, etc. elements to refer to Global [global]   After that, replace your scope prefix (x_yyy_my_app) with u_ and you're about 2/3 done.   You'll need to be cagey about the order of the replacements so that you modify things in the correct context.



The best way to get the hang of this is to create a scoped app with a simple table, form, column in a global table, etc.   Then create a global app with similar layout.   Export both to XML and see how they differ.



Also, you will need a personal developer instance that you can wipe and load repeatedly, until it loads cleanly.   Trying to back out a shaky update set .just makes a mess.



To save the need for ServiceNow to say it:   This is totally unsupported.   Don't try it on an instance you care about.   Get it right before you bring it over to a customer non-prod instance.