Hi all,
I have an experience builder app that uses a map image layer added to AGOL from a URL from portal. So I publish in Pro to portal, then use the portal URL for that image layer to add the item to AGOL. I save as a web map and then add it to experience builder in AGOL. The problem is when changes are made in the project and I republish I lose all the preconfigured popups and widgets such as 'near me' in experience builder lose all the analysis configuration. I have to re-enable popups in the AGOL webmap( even though they are enabled and configured in the project) and reconfigure experience builder widgets. No problems with layer ID's are discovered in 'analysis' before republishing. This is a long running project and the layer ID's are no longer is sequential order in the project, they dont go 0-1-2-3-4 etc. down the layer list, but there are no duplicates or error/warning messages at the republishing stage. Is this down to the image layer being added from a url to AGOL? I have read the configuration is recorded in a JSON and that is not transferred across when using a url to AGOL. I assume thats the problem but I have read lots of things! Does anyone know whats going on here and have a solution?
Thanks
Dave
What kind of changes were you making that necessitated the republishing workflow? If it was a data source schema change, this is unavoidable. But if you were just updating the underlying data, then a republishing workflow should not be necessary.
Hi Michael,
The project is an ever changing one and those involved need to see how the data looks and performs in experience builder. So layers are regularly added/taken away/symbology changes etc in the project hence the need to republish so they can see their changes in experience builder( The senior manager is not involved with updating at the project level and views the changes in experience builder) . Many of the layers do get left alone though and that makes no difference, the popups for those still lose the configuration once in experience builder. The near me widget always loses its configuration. So basically it makes no difference if some layers are left as they were and others changed, once republished near me loses the config and the popups are all disabled in the webmap in AGOL even though they are enabled in the project.
Thanks for your help
Dave
Maybe you can make a copy of the Experience Builder and then compare json settings between the copy and the original Experience Builder app in AGOL Assistant after changes are made and it is republished. Then where you see changes, you can try to copy the json from the copy to the original to see if the settings are maintained.
Hopefully this makes sense.
Hi Michael,
Thanks again for your help. I guess what I am hoping for is for someone to tell me why this happens in the first place. That way I might be able to fix the workflow to prevent it happening at all!
Regards
Dave
Do your popups look correct in Portal after republishing?