Hi everybody,
I want to create a Story Map with Shortlist template and I need to use the "NUMBER" field for an exact sequence of my points.
I store my data in a feature class to a SDE database (Oracle more exactly) and I use a feature service to publish my app.
But I've got a problem with the sequence, indeed my points are not in the good order.
When I'm looking in the attribute table, "NUMBER" field is renamed in "NUMBER_"...
Can someone help please?
Thank you all.
Sylvain
Solved! Go to Solution.
Hi Sylvain,
Sorry for the troubles. It appears 'Number' is a reserved field with Oracle (Oracle SQL Reserved Words). A workaround for this would be to change the 'number' field the Shortlist app looks for to the one in your dataset. To do so, look at line 20 in the main.js file, and change:
var FIELDNAME_NUMBER = ["Number"];
to:
var FIELDNAME_NUMBER = ["NUMBER_"];
-Mark
Hi Sylvain,
Sorry for the troubles. It appears 'Number' is a reserved field with Oracle (Oracle SQL Reserved Words). A workaround for this would be to change the 'number' field the Shortlist app looks for to the one in your dataset. To do so, look at line 20 in the main.js file, and change:
var FIELDNAME_NUMBER = ["Number"];
to:
var FIELDNAME_NUMBER = ["NUMBER_"];
-Mark
Hi Mark,
Thanks a lot for your help and your consecrated time.
My problem is resolved now .
Have a good day.
Sylvain
Mark,
I am having an issue with the NUMBER field as well. I have a "NUMBER" field in my layers, but I cannot get shortlist app to use the "NUMBER" field, it's using the order the feature was added to the table. My data is SDE (SQL).
Thanks,
Nataliya,
Do you have a link or web map id that you could share so we can take a look? Feel free to message me with it if you don't want to share publicly.
Mark
Mark,
Here is the app and web map links:
http://dogis.org/HistoricPreservation/
http://omaha.maps.arcgis.com/home/webmap/viewer.html?webmap=15cfa2dc62ca470cb513e253fc7174b3
Thanks for your help.
Nataliya
Nataliya,
It looks like some of your features are missing a number attribute, so the app defaults to the order of the features as they are processed. Try filing in any missing numbers and let us know if that works.
Mark
That was it! I filled in the missing numbers, and it works now. Thanks.
Nataliya