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
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.