AnsweredAssumed Answered

JavaScript Sample to widget

Question asked by D.Orlando on Oct 28, 2015
Latest reply on Oct 30, 2015 by rscheitlin



I'm trying to build my first widget (while teaching myself JavaScript at the same time) and I'm using this JavaScript sample to perform a simple query Query data without a map | ArcGIS API for JavaScript


I've got the query working alright, I put the code in the startup function. I can see the data is being returned by using alert(resultItems) but I can't wrap my head around how to get the results into a list in the side-panel. right now the panel only contains the mapIdNode example and I've hardcoded query.where so I'm just hoping to the results to display as a list or list box, combo box, anything


Of course the sample is using one file and the widgets use multiple and this is where I don't know how to connect the two.


one successful example will get me off to the races, I've self taught myself every other language ESRI has thrown at us (aml, avenue, python, xaml.....)



GISr turned developer