I'd like to be have my shortlist story map update dynamically when I add new points to the underlying feature service but I can't seem to get that to work. The web map shows the new points but the shortlist only shows the original ones.
Solved! Go to Solution.
Hi Ben,
You will want to double check the TAB_NAME field values, it appears the second tab that is showing up is because those features TAB_NAME field values have one more space than the other features.
Mark
Hi Ben,
Which version of Shortlist are you using? The one hosted in AGOL (version 2.X), or the version you download and host yourself (possibly version 1.4.X)? Version 2.X does not currently support updating the Shortlist layer outside of the Shortlist builder, but is something we are looking to add in the near future. Version 1.4.X does support dynamic updates to the Shortlist layer(s) and updates will show up in the app.
-Mark
That probably explains the problem. I am using the version hosted on AGOL. I'll try switching to the downloadable version. Many thanks!
No problem Ben. This is the version you will want to use: Release v.1.4.9 · Esri/shortlist-storytelling-template-js · GitHub .
Cheers,
Mark
Excellent!
Thanks,
Ben
Hi Ben
Sorry about the issue. Any chance you could share the URL to a web map containing your feature service (assuming it is shared publicly) so we can have a look?
Rupert
Sure. These should be the links to everything:
CSV:
http://lookabout.maps.arcgis.com/home/item.html?id=6119d955e27b4bc1a0394f98e28384a0
Feature Service:
http://lookabout.maps.arcgis.com/home/item.html?id=88bae943edcb430bb24fa9f152aa24fd
Web map:
http://arcg.is/2jIaSoa
http://lookabout.maps.arcgis.com/home/item.html?id=e9dd73e61aec4722835e135633348f1b
Story map:
http://lookabout.net/test_agol_csv_fs_shortlist/
The original CSV used to create the feature service defined four locations. After creating the story map I used the "overwrite" option on the feature service to add six more locations. All show up on the web map but the story map only sees the original four.
Thanks!
I just noticed that I'm seeing what looks like new behavior this morning (or somehow missed this before). The story map is now showing the new locations, but it's putting them on a duplicate tab. There are two "ALL" tabs showing now, one with the original four locations and one with the five new locations. Note, although I added six new locations, only five of those were targeted at the "ALL" tab.
Actually, I think that when I ran my earlier tests I didn't have any tabs defined. Maybe the presence of the TAB_NAME field is somehow tied to the update process? Any ideas on how I can avoid duplicate tabs after an update?
Thanks!
As a side note, I tried sorting my updated CSV file by TAB_NAME but I still end up with two "ALL" tabs.