I am working on a workflow for promoting content from uat to production and clone_items works great for hosted feature layers but we have some cases where there are services in webmaps and apps that are referencing map services that are not hosted.
I have Python to update the webmap but now I'm trying to figure out if it's possible to update widget configurations in Web AppBuilder applications. I'm thinking it would be like a find/replace in the JSON for urls and ids, but looking for advice.
Has anyone done this?