pjdohertygis / SARCOP

This is a GitHub page for recording and resolving issues related to SARCOP.
https://nsargc.napsgfoundation.org/
GNU General Public License v3.0
10 stars 0 forks source link

[BUG] - Cannot use download data button Dashboards embedded in Experience Builder #258

Open pjdohertygis opened 4 months ago

pjdohertygis commented 4 months ago

Which app?

Dashboards

Describe the Device, Operating System, and Browser

Laptop, Windows, Chrome (Version 125.0.6422.141) and Edge (Version 125.0.2535.79 (Official build) (64-bit)

Describe the bug

Our SARCOP Dashboards (Strategic, Tactical, and Team Fact Sheet) when embedded using the HTML Widget in Experience Builder are not allow downloads from Elements using the download icon. This may be related to known BUG-000164612.

In Chrome it completely fails. Video https://github.com/pjdohertygis/SARCOP/assets/4256979/5a516f71-6a55-4e73-a69e-825a3f21fd6d

In Edge it sometimes downloads the file but the pop-up window is blocked / closes before you can choose where to save it. Video https://github.com/pjdohertygis/SARCOP/assets/4256979/804e6af3-4626-41e4-b98b-95c1f0408143

Expected Behavior

The download button should show a progress bar, then prompt you to choose where you want to download the content. https://github.com/pjdohertygis/SARCOP/assets/4256979/922e2c4a-971d-44f3-b4d9-2a4bd319d159

Reproduction Steps & Sample

NOTE: You do need to be signed into ArcGIS Online for the download icon to appear. The items below are shared with Everyone, but you still need to log in for the functionality.

Link: https://experience.arcgis.com/experience/9051a07ffd1947bbb395e9f9b4088f85/page/Tactical/

  1. Go Tactical Dashboard (could be any Dashboard)
  2. Click on the Download icon as shown under the List Element (you may want to filter by today only, there is a lot of data - we have tested on smaller datasets with the same results).
  3. When embedded in Experience Builder it may prompt the download screen, but it quickly disappears, it never shows the loading interface with green progress bar.
  4. Sometimes the file will download into the download folder (Edge), but usually in Chrome it will not download at all.

image

Link: https://napsg.maps.arcgis.com/apps/dashboards/a6637762c84a47a7958a4e3601cd071f

  1. Open the Dashboard NOT embedded (via direct URL)
  2. Repeat the steps above
  3. It should allow you to download the data, loads progress bar, prompts for a destination. This is how it should but fails to work when embedded.

Other Relevant Info

The current workaround includes teaching the user to open the Dashboard in a new window, outside of the Experience Builder environment. This will require a short addition to our Dashboard training videos and socializing the change while we wait for Esri to (hopefully) fix.

To configure, add a menu bar to the Dashboard header, then drop the www.arcgis.com Dashboard link in as shown below. Note you MUST use the www.arcgis.com URL, not an org specific one because Dashboards prompt an org specific sign-in page which will not work with content shared in interorganization groups (another bug / enhancement that we will report https://github.com/pjdohertygis/SARCOP/issues/259)

image

image

Priority impact

p2 - emergency!

Impact

This is breaking two or three of our core workflows for FEMA US&R Incident Support Teams and Task Forces (e.g. Situation Reports from the Strategic Dashboard, contact list from the Team Fact Sheet)

avezina commented 3 months ago

Adding another, simplified, reproducible case:

https://github.com/pjdohertygis/SARCOP/assets/50338557/44cb8348-22df-4f3d-b44f-d769936d6d97