- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2019 08:24 AM
I'm working on a project where the client has 3 instances: dev, uat, and production. I created application scope on the dev instance, let's say that the app scope name was "XYZ". Then I wanted to deploy my update set (which has child update sets: Default update set which included the changes I made to create the application scope in addition to other update sets) on uat instance but I got this error:
Cannot commit Update Set 'Default' because: Scope 'x_nah_xyz' is not 'Global', not found in instance and is not among previewed updates. Load custom app version or application first. Resolve the problem before committing.
Default is a child update set for the update set I'm trying to deploy. I tried to deploy "Default" update set separately and I got this error:
Cannot commit Update Set 'Default' because: Update scope id 'global' is different than update set scope id '1f5debf3db617f008a4daa805b9619a0'. Resolve the problem before committing.
I decided to go to the uat instance and create an application scope with the name XYZ but I received the following error:
'XYZ' could not be created. The scope 'x_nah_xyz' could not be registered in the AppRepo for this reason: Scope is not available.
I learned from the community that I received the latter error because all the instances are linked to each other when it comes to application scopes. I now need to have this application scope XYZ on uat instance on order to proceed with deployment. Any ideas on this?
Thanks in advance
Solved! Go to Solution.
- Labels:
-
Scoped App Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2019 04:32 AM
I don't have any Kingston instance, but the documentation (see here and here) describes that the name of the link for publishing is "Make App available on other instances". To install application on anther instance one can use System Applications > Applications or in some other module existing under System Applications menu (I'm not sure because I don't have a Kingston instance).
I described you the second way, which should work too. Do you tried it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2019 09:41 AM
I suppose that you try to commit existing Update set of Scoped Application. It's incorrect. Instead of that you should open your application (in sys_app table). At the bottom on the page you will find two related links, which can help you:
Using the first one ("Publish to My Application Repository") you can easy publish the application from Dev instance and then install it on uat or production instance (you will find it in the list of "Not Installed" application in System Applications > My Company Applications).
Using the link "Publish to Update Set..." you will create new Update Set, which has status Complete and which contains all files, which belong to your application. After that you can click on "Export to XML" link on the Update Set to export it. The way allows you to test your application in personal developer instance, for example, or in any other instance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2019 12:34 AM
Thanks OlegKi for your answer.
I clicked on "Publish to My Application Repository", then in the uat instance, I searched for "System Applications", but I couldn't find "My Company Applications" under it. I'm using Kingston release.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2019 04:32 AM
I don't have any Kingston instance, but the documentation (see here and here) describes that the name of the link for publishing is "Make App available on other instances". To install application on anther instance one can use System Applications > Applications or in some other module existing under System Applications menu (I'm not sure because I don't have a Kingston instance).
I described you the second way, which should work too. Do you tried it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2019 05:46 AM
Thanks. For anyone else who has the same issue, please read both answers from "OlegKi"