solution.js icon indicating copy to clipboard operation
solution.js copied to clipboard

Deployed surveys have blank thumbnail

Open chris-fox opened this issue 1 year ago • 2 comments

In the latest release to ArcGIS Online surveys deployed with solutions are coming across with blank thumbnails. This causes issues attempting to download the surveys in survey123 connect.

To reproduce deploy the following solution: https://localdeployment.maps.arcgis.com/home/item.html?id=cc71cfc9f1444ae1ae42671841514b93

View the resulting items and you will see the form item will have the default world map thumbnail when it should have the form thumbnail that is referenced in the solution item.

This is a regression from the previous release and we would like to patch in ArcGIS Online. We need to do this fix as a patch to the version that was released in ArcGIS Online, I believe we discussed this was 5.1.1.

chris-fox avatar Mar 06 '24 19:03 chris-fox

Deploying Backflow Inspections, I see an error fetching images from resources in AGO. For example, the solution has a resource e0dc30c196e14a4f8018fe98e20f061c_info_thumbnail/thumbnail.png.

The app fetches this using the URL https://localdeployment.maps.arcgis.com/sharing/rest/content/items/1aae1760b17a4697bc7adf98541b9173/resources/e0dc30c196e14a4f8018fe98e20f061c_info_thumbnail/thumbnail.png, which works fine in a browser tab. In the app, we get a 200 OK response but no image: image

And it's not just this image--most of the thumbnail images are fetched like this from the solution's resources.

I see this problem in Adopt a Catch Basin, but not in Crime Analysis. The two solutions with problems have Forms.

MikeTschudi avatar Mar 06 '24 20:03 MikeTschudi

I wanted to confirm for a solution that has a lot of custom thumbnails and found the SDG solution is applying all the custom thumbnails to the items like dashboads, maps and hub pages, but only fails to apply the thumbnail to survey123 forms.

image

chris-fox avatar Mar 06 '24 20:03 chris-fox