Hi everyone,
I have recently created a web app builder application on our development portal, which includes an underlying web map and services published within the same portal. Does anyone have any recommendations on how to copy all of this to another portal (our production portal) without having to recreate everything from scratch? I would assume that I will need to republish the same services I was working with in our development portal to our production portal. But is there a way to point a copy of the development webmap to the new services and then point a copy of the webapp builder application to the new webmap? Any help or guidance would be greatly appreciated.
Thanks,
have a look at this blog:
Thanks Scott, this is a good place to start. Any idea on how custom widgets and their configurations could be copied over? It appears that these are not supported with this tool.
They are more 'global' in nature as they can be used across many apps. You'd have to install them on your prod web server and create the app registrations. Beyond that you may need to update the JSON to change the URLs to point to prod. I am unclear as to if that is automated, but my gut says no.
This tool - https://assistant.esri-ps.com/signin - should be able to help you do those minor changes.
Hello @shildebrand,
I understand the concerns you have but as the item is moving from one ArcGIS Enterprise to another ArcGIS Enterprise, the new Web App will need the items from the Development to Production, they would most definitely change.
However, I have another approach which you can try and check if it works for you. I have used ArcGIS API for Python in past to make this and similar this work, kindly find the sample below:
Once you do the above steps the new Web Application should be present in Production with reference to production Web Map and Service configuration. I would recommend that after updating the web app's configuration, thoroughly test it in the production environment to ensure that everything is working as expected. Be sure to verify that widget configurations have been correctly transferred.
Furthermore, you can also use https://ago-assistant.esri.com/ to compare the JSON of the Development item and Production item to make sure no reference are there from Development
Additionally, If your application uses custom URLs, ensure that DNS and URL references are updated to point to the production environment.
This preserves the widget configurations while migrating your Web AppBuilder application, web map, and services to the production environment.
Hope it helps!
-Archit