Select to view content in your preferred language

Launch and zoom to a particular feature or coordinate

1637
10
Jump to solution
08-20-2014 01:48 PM
GregSnelling
Regular Contributor

Does anyone have a way to open the flex viewer and have it automatically search and zoom to a feature?  I'd like our IT staff to be able to launch our flex viewer from a property details web page and zoom to the subject parcel.  Any ideas?

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Greg,

   Sure this ability is part of the eSearch. Url searches is covered in the Enhanced Search Widget URL Search Configuration.pdf.

View solution in original post

0 Kudos
10 Replies
RobertScheitlin__GISP
MVP Emeritus

Greg,

   Sure this ability is part of the eSearch. Url searches is covered in the Enhanced Search Widget URL Search Configuration.pdf.

0 Kudos
GregSnelling
Regular Contributor

Thanks for the quick response Robert! I'll have a look at the documentation.

0 Kudos
DerekHunter1
Deactivated User

Robert,

Have you been able to get the widget to pass the url parameters through (past login) to a secured service?

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Derek,

   I have not tested a secure service search using eSearch but I will and let you know the results.

0 Kudos
DerekHunter1
Deactivated User

Thanks as always Robert.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Derek,

   I just tested with a secure service and it woks fine after you log in (it completes the url search after login).

0 Kudos
DerekHunter1
Deactivated User

Thanks Robert.  My issue was I am using a config named other the config.xml......./index.html?config=url_search_parameter_test.xml?esearch=CN-A&slayer=0&exprnum=0&showdatagrid=true.  I assume the eseach parameter can't be preceded by any other paramter?

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Derek,

  If you already have a url parameter in the url then you just use the & symbol not the ?

So here is how it works, the FIRST url parameter gets a ? and all subsequent parameters get a &

./index.html?config=url_search_parameter_test.xml&esearch=CN-A&slayer=0&exprnum=0&showdatagrid=true.

0 Kudos
DerekHunter1
Deactivated User

duh.  to much going on.  sorry and thanks

0 Kudos