JavaScript to query attribute

3 weeks ago
Occasional Contributor II

Hello all, 


I am quite new to JavaScript and ArcGIS REST API and looking for some help on creating JavaScript that works for querying attribute with feature services. I hope to pull out relevant information through hosted feature layer instead of CSV pull data function. I tried the sample with intersect with geometry, but I'd like to achieve this by using attribute values.


For example, there is a store database which has store names, address, operating hours and type of store. Once I select store name from the dropdown in the survey, store address, hours, type in the feature layer would be entered automatically. 



0 Kudos
0 Replies