ehtroyas-esri-ireland-ie-esridist

Problem using test search for tags in ArcGIS JavaScript API

Discussion created by ehtroyas-esri-ireland-ie-esridist on Mar 6, 2014
Hi All!

I have the next problem with a query using the ArcGIS Javascript API, when I execute this code:

     portal.queryItems({
             q: queryGroup+' AND tags:"' + tagsInserted+ '" ',
             num: 100
         })

The query is executing in a very strange way.if I the tags of the webmap are  "A, B, C"

These inputs are not working in the textbox: "C,B" "A,C" but "B,C" "A,B" "A" "B" or "C" are working.

More information here http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Search_reference/02r3000000mn000000/

Thanks!!!

Outcomes