Problem/Motivation

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

Steps to reproduce

Attempt to create ArcGIS media using the following example:
https://webapps.maps.arcgis.com/apps/instant/interactivelegend/index.htm...

Validation will fail.

Proposed resolution

Modify the regex to include instant:

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

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

minirobot created an issue. See original summary.

minirobot’s picture

Issue summary: View changes

minirobot’s picture

Status: Active » Needs review

marcoscano made their first commit to this issue’s fork.

marcoscano’s picture

Status: Needs review » Fixed

Fixed, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.