Support *.maps.arcgis.com apps

Created on 4 September 2024, 5 months ago
Updated 19 September 2024, 4 months ago

Problem/Motivation

The current regex pattern in the ArcGIS field formatter is missing webappviewer to allow apps hosted at *.maps.arcgis.com apps to work.

Steps to reproduce

Attempt to create ArcGIS media using the following example:
https://nyclpc.maps.arcgis.com/apps/webappviewer3d/index.html?id=abd5f6a...

Validation will fail.

Proposed resolution

Modify the regex to include webappviewer:

/^https:\/\/([\w\.+]*)arcgis\.com\/apps\/(dashboards|mapviewer|Embed|View|webappviewer)\/(?:index\.html\?webmap=)?([\w\d\-]+)([\S]*)/

🐛 Bug report
Status

Fixed

Version

1.8

Component

Code

Created by

🇬🇧United Kingdom minirobot London

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024