Trying to add my own map service to the provided example but having no luck getting it to work. any help would be appreciated. I really just need a few fields from my service returned. i.e. Name, Docket_Number, PRM_Pre_App_Meeting
esri example https://developers.arcgis.com/javascript/jssamples/query_nomap.html
my map service http://services1.arcgis.com/1vlgiUCSf9FiT4I0/arcgis/rest/services/Subdivisions_Proposed/FeatureServer/0
Thanks in advance
Ryan,
You need to add Where property on Querying your map service. I have added your map service and I pointed the field Name from your service like,
query.where = "Name = '" + dom.byId("stateName").value + "'";
I have added that sample.
Sorry if i am over reaching. Is there a simple way to display the date fields in the query result as a an actual calendar type date?
Thank you Sir! I see what you did there. I am obviously ignorant when it comes to js, but I am trying to change that. thanks again.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.