Select to view content in your preferred language

Cascading Search Widget WAB v 2.1

929
2
10-05-2016 06:41 AM
Labels (1)
ImranMohammad
New Contributor

I am trying to figure out a WAB Query Widget in ver 2.1  that could help me in achieving the following.

1) Search based on two fields in a layer.

2) These two fields are dependent on each other

Ex: Field1 : Cross Street 1

       Field 2:  Cross Street 2

When you select Cross street 1 the next drop down should list all the related Cross Streets 2? When you hit Submit it should show results based on combination of both these selections.

Does anyone have any suggestions?

Tags (1)
0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus

Imran,

   The query widget does support cascading queries, but what you are asking for is cascading spatial relationship and that is not possible.  What the cascading is capable of doing is say you have a layer with a state attribute and a county attribute and this is a national data set. If you specify state as the first portion of the Query Widget criteria and then county as the second and make it dependent (cascading) on the state then the second drop down will only list the counties in that state chosen in the first portion of the query criteria.

0 Kudos
ImranMohammad
New Contributor

Thank You Robert for the suggestion and time. I will give the Query Widget a try and see if that serves the need.

0 Kudos