Select to view content in your preferred language

Enhanced-Search-Widget-for-FlexViewer Part III

147134
776
04-30-2013 03:58 PM
RobertScheitlin__GISP
MVP Emeritus
All,

   Here is a new thread to post questions and discuss the Enhanched Search Widget. The old thread was getting too long.
Tags (2)
776 Replies
WarwickAttree
Emerging Contributor

Robert, basically for a second portion of an And Clause..

Existing Syntax:
...esearch=Berea&slayer=3&exprnum=0&showdatagrid=true

To:

...esearch1=R1&esearch2=R2&slayer=3&exprnum=0&showdatagrid=true

This would enable a query like:

upper(ZONING_CODE) = upper('R1') and YEAR ='R2'

??

Thanks

Warwick

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Warwick,

   OK That is what I thought. I like the idea and will add it to the enhancement list.

Robert

WarwickAttree
Emerging Contributor

Great, Thanks

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Warwick,

   Here in the new GeoNet community there are new ways to help MVP like myself when we help you. You will see an actions menu at the bottom of each post if my post was helpful then click on the actions menu and choose "Mark as Helpful". Here is a link with other ways to help on the new GeoNet community.

How to help in the new GeoNet Forums.

Robert

0 Kudos
WarwickAttree
Emerging Contributor

Robert, the Action Menu, as I have it only has One Menu Item of : 'Report Abuse'

(IE11)

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Warwick,

   OK, I am still trying to figure out when people have that ability and when they don't. So I quess the only thing you can do is click the "Like" link then. Thanks.

Robert

0 Kudos
TerryHiggins
Deactivated User

Let me apologize up front if this has already been answered - I'm having difficulty searching this forum for questions. I am trying to apply field name aliases to the fields that are presented in the popup window when I do a search with the Extended Search Widget. I'm using version 3.6 of Viewer for Flex Application Builder, and the most recent version of your Extended Widget. I want to list only certain fields within the popup and show their alias names.

I see where one might add field names under the spatial search layer but I am trying to do this for a regular layer. Can you advise how to perform this task?

Thanks in advance

Terry

0 Kudos
RhettZufelt
MVP Notable Contributor

You should just have to put the <fields> info inside the <layer> tag for each specific layer and make sure you set an alias="desired name":

<fields all="false">

<field name="ZONING_CODE" alias="Zoning Code"/>

<field name="ZONING_NAME" alias="Zoning Name" sort="asc|1|string"/>

<field name="ZONING_TYPE" alias="Zoning Type"/>

</fields>

Look at example on page 1 and info on page 4 of the Enhanced Search Widget XML Configuration.pdf that Robert has supplied with the download of the eSearchWidget.  This should give you all the info you need.

R_

0 Kudos
TerryHiggins
Deactivated User

Thanks – Actually I tried that but it did not appear to work. This is what I have now – I want the fields to be listed for the Canyon Hill Cemetery Layer when I do the expression search on Last Name for example.

0 Kudos
RhettZufelt
MVP Notable Contributor

Is you FV or the cemetery layer visible somewhere?

R_

0 Kudos