Cascading combo boxes in HTML5 viewer..
Folks,
has anyone else had issues with cascading items with combo-boxes in the HTML5 viewer? The same search is working in the SLV.
The first filter works... Road Name -> Road Type (where clause ADD_ROAD_NAME = '{0}')
second filter does not: Suburb (ADD_LOCALITY_NAME) - Based on Road Name and Road Type (ADD_ROAD_NAME = '{1:AutoCompleteBox1}' AND ADD_ROAD_TYPE = '{1:ComboBox1}')
it just comes up with a blank...
fiddler reports the following request.
http://xxxxxx/arcgis/rest/services/mapscape/MapServer/4/query?f=json&where=ADD_ROAD_NAME= '{AutoCompleteBox}' AND ADD_ROAD_TYPE = '{1:ComboBox1}'&returnGeometry=false&spatialRel=esriSpatialRelIntersects&outFields=ADD_LOCALITY_NAME
is this a known restriction between the two viewers?
cheers
Gareth
-
Yes, this is not working in the HTML5 viewer...
0 -
This was a known issue prior to v2.3. I just checked v2.3.2 and it seems to be working...sorta.
/customer/servlet/servlet.FileDownload?file=00P6000000elzLUEAY
/customer/servlet/servlet.FileDownload?file=00P6000000elu1lEAA
0 -
@Nico, @Brian,
thanks for the speedy reply guys - I've also had our local distributor confirm for us also that it's not populating the query request being sent as it does in the SLV...
I don't think it likes the syntax such as {1:AutoCompleteBox1}. Straight field substitutions seem to be fine, but not the more 'fancy' variety.
I'm stuck with 2.2 Brian for this fire season so there's no way I can go to the latest viewer - not on a 'sorta' output if you can understand my predicament ; )
cheers
GF
0 -
WE've been asking support for this syntax also within HTML5 viewer too since last summer, but we didn't get an official answer yet. We had to develop step-by-step workflows with different forms for each query parameter...
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
4 Kommentare