Cannot install app from another instance

Rick Marsha
Giga Expert

I have built a custom app in my dev instance and shared it to another, but when I try to install the app in the remote instance, it downloads the package and hangs after downloading, with the status, 'installing application package: 0%'.

Has anyone else encountered this? I also need help finding the logs for these installs, as I don't these events in the typical log tables.

Thanks,

-Rick

1 ACCEPTED SOLUTION

Thanks, Pradeep.


The issue ended up being a product bug in the 'Scoped App Client' that couldn't handle our system date format (MM/dd/yyyy) when downloading the attached app package from the repository to install on the remote instance.



The workaround required me to update a line in the 'AppUpgrader' script include to the following on line 256:


from: + "__" + new GlideDateTime().getDisplayValue().replace(/:/g, "_")


to: + "__" + new GlideDateTime().getDisplayValue().replace(/:/g, "_").replaceAll('/', '_')



A permanent fix will most likely be implemented in a later patch per SN support.


View solution in original post

5 REPLIES 5

Hi Pat,



Are the instances all for the same company? If they are you should be able to use the app repo to make it available to other instances, check out the info here:


http://wiki.servicenow.com/index.php?title=Sharing_Applications#gsc.tab=0



Cheers,


Stephen