Morning,
I am trying to create a script that searches an items dependencies & data, finds legacy URL's/services and updates these to the new version of that URL/service.
Example of script
orig_data = item.getdata()
new_data = orig_data.replace(old_url, new_url)
item.update(item_properties=None, data=new_data, thumbnail=None, metadata=None)
The outcome of this script, when used with WAB Apps, is the app breaking and returning an error page of "'False' is undefined". What is wrong with the above methodology for WAB Apps? Is there an alternative workflow to achieve the same end goal of updating legacy dependencies that are baked into a WAB App?