a.id.match is not a function error

3494
5
Jump to solution
08-27-2015 08:11 AM
EricMoody
New Contributor III

Getting  an "a.id.match is not a function" error when I use my data in the sample CSV file from the Shortlist template. When I leave the existing data in the table and add mine also, everything works fine, displays fine and accesses as it  should, but when I delete the original and leave just my data, it bombs with that error message.....

0 Kudos
1 Solution

Accepted Solutions
MarkCooney
Occasional Contributor III

Hi Eric,

Sorry about the problems you are experiencing.  Looks like we had a bug that would error out when tab names were numbers.  We have found a fix and published an updated release that can be found here:

Release v1.4.5 · Esri/shortlist-storytelling-template-js · GitHub

Thanks,

Mark

View solution in original post

5 Replies
RupertEssinger
Frequent Contributor

Hi moodye

Sorry about the issue. When you added your CSV file into your web page in the ArcGIS Online map viewer, did you get any error messages? So does your point data draw OK in the ArcGIS Online map viewer? Could you make your web map public and share the URL with us so we can take a look. Also if your Shortlist's URL is publicly accessible, could you give us that URL too so we can have a look.

0 Kudos
EricMoody
New Contributor III

No issues in bringing the CSV files into AGOL, both the original sample file with our data added in (Points_for_multiple_tabs_original.csv) and the file with just our data (Points_for_multiple_tabs_revised.csv) can be added with no errors.

Original sample file with our data added in:

AGOL - http://mceo.maps.arcgis.com/home/webmap/viewer.html?webmap=8889b9fa9d204492ae5e306252e1cb80

External - http://engineer.gomvo.org/apps/shortlistRevised/

File with sample data deleted and just our data:

AGOL - http://mceo.maps.arcgis.com/home/webmap/viewer.html?webmap=02bc4198a24f48aaabf5fa2156bfe7a5

External - http://engineer.gomvo.org/apps/shortlistMOTCIP/

I did try using the Points feature class also, and ended up with the same error message…

Let me know if you need any other information on the procedures.

Thanks,

Eric

Eric A. Moody, P.S., GISP

Land Records Manager

Montgomery County Engineer’s Office

451 West Third Street

PO Box 972

Dayton, Ohio 45422-1260

937.496.6618

0 Kudos
MarkCooney
Occasional Contributor III

Hi Eric,

Sorry about the problems you are experiencing.  Looks like we had a bug that would error out when tab names were numbers.  We have found a fix and published an updated release that can be found here:

Release v1.4.5 · Esri/shortlist-storytelling-template-js · GitHub

Thanks,

Mark

EricMoody
New Contributor III

Awesome! Thanks for the quick response, I’ll go back and update everything!

Thanks,

Eric

0 Kudos
EricMoody
New Contributor III

Success!!!

http://engineer.gomvo.org/apps/shortlistMCEOCIP/

Thanks again!