how u did the query.where statement?, cuz the q.where statement works like
query.where = "NOMBRE='MADRID'";
And also the layer url has to have the parameter that u are asking for.
Telefonica,
Being able to see some of your code like where you define your query object and define what your outfields are etc would help.
Robert
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.