How to revert changes saved to your app's draft

230
1
04-01-2026 08:30 AM
ShareUser
Esri Community Manager
1 1 230

Have you ever made some experimental changes to a published app in the builder, solemnly promising to yourself that you would not click Save… and then—oops—you clicked Save anyway🤦

Now a cold dread washes over you. Your published app—the one happily living its best life out in the world—is still working exactly as expected. But the version in the builder? A total disaster. Nothing makes sense anymore, and you have no idea where to even begin putting it back together.

Good news: All is not lost. No need to panic. You can still save the day.

Note: This is a last resort workaround and may return some unexpected results.

___

Here's an example of a published app. This app had two pages: Trails and Resources.

Screenshot 2026-03-30 143519.png

I deleted the Resources page and "accidently" hit Save. Now my app state has Unpublished changes.

Screenshot 2026-03-30 143725.png

Here’s how to revert the changes saved in the draft, to bring it back in sync with the published app:

Warning: follow the steps meticulously to avoid overwriting the published app with the draft app! 

  1. Take a deep breath
  2. Go to the ArcGIS Assistant
  3. Sign in to your account with ArcGIS Online or ArcGIS Enterprise, where your app resides
  4. Find your app in your Content
  5. Click the item to open the details, and click View item JSON
    item json.png
  6. Click the Data tab, then select and copy all the code (note: this is the code from the published app state)
    data-json.png
  7.  Go to Resources and open the config/config.json file (note: this is the code from the draft app state)
    config-json.png
  8. Click Edit Resources
  9. Select all the code and paste the code you copied in step 6
  10. Click Save
  11. Cross your fingers
  12. Go back to your app builder, hit refresh, and verify that your app changes have been reverted
    Screenshot 2026-03-30 143519.png
  13. Celebrate! :party_popper:

 

Known issues with this workaround:

  • Some text styling, such as font size, may not be preserved.

___

Tip

Need to make changes to an app directly in the code? You can use the ArcGIS Assistant to modify the JSON for both the builder (draft) app and the published app. Make sure you apply your code changes to both the file under JSON Editor > Data, and the config.json file from the Resources tab for them to be reflected in both places!

1 Comment
WilliamTarpai
Frequent Contributor

Thanks to everyone involved with this post.  I spent an hour today in discussions with my colleagues at Safina Empowerment (a Kenyan NGO working to improve rural community development efforts in Bomet County.  Has anyone ever created a map that included Bomet County (near Lake Victoria, and on the borders with Tanzania and Uganda)?   If so, and you have an interest in helping student learn and hone ARCGIS mapping skill sets you may wish to contact me directly. (The Safina team has made photo and video recordings of their work distributing books to rural schools in Kenya you may wish to review)

Our zoom call today included  3 new SAFINA EMPOWERMENT members (a 12 year old girl and a student ambassador (both Diana Award winners) who were involved in the first distribution of books to 9 local schools in Bomet County last week.   26,000+ books with some computer equipment were part of the Books for Africa 40 foot container shipment. 

This post is truly noteworthy as in additional to the tips, it will certainly be helpful for avoiding future disaster of new learners.