Many times I move apps between environments, I update the web map id (config.json => itemid), and find-replace all rest url's (notepad++ is great for that).
Now I've used external data source in the app. These sources are from the same web map used in the app. I use them in InfoGraphic widgets#.
The migrated app shows "No data" for all these widgets.
What should I change in order to reconnect to the external data source?
I do not have dev edition in the production environment...
I'll appreciate any help.
Thanks
Ofra
Ofra,
if you have updated the external data souces in the main config.json then you may need to update the apps/configs/Infographic/config__##.json file
Thanks Robert,
I've found in the main config file and the widgets config files something like LayerID~numbers
The layer Id is taken from the web map.
I've changed the layer id in all those config files to the same layer id I found in the new web map (using portal/sharing/rest/content/item/[webmapID]/data...).
I still get "no data".
Any thing else I should change?
Thanks
Ofra
Ofra,
That is all that I am aware of.
Thanks.
At the end, I've installed the dev environment and put the app in it. When I've checked the external data source definition - everything reconnected and worked fine, without any change. Kind of "refresh".
Ofra