Eamonn,I think you can use one or the other but not both at the same time,RegardsAnthony
<floatorfixed>fixed</floatorfixed><!-- possible values are fixed and float -->
<!-- UI elements --> <widget left="0" right="0" bottom="0" url="widgets/eSearch/SearchWidgetFixedDG.swf" config="widgets/eSearch/SearchWidgetFixedDG.xml"/>
<value prompt="Example: SMITH JOSEPH">upper(CURRENT_GIS_OWNER_ADDRESS.NAME1) like upper('%[value]%')</value>
<value prompt="Example: SMITH JOSEPH">upper(RuthLIS.DBO.CURRENT_GIS_OWNER_ADDRESS.NAME1) like upper('%[value]%')</value>
<layer> <definitionexpression/> <enableexport>false</enableexport> <enableprintgrid title="Selected Parcels">true</enableprintgrid> <name>Parcels</name> <url>http://maps3.murfreesborotn.gov/mboro/rest/services/GIS/PARCELS/MapServer/1</url> <expressions> <expression alias="OWNER NAME" textsearchlabel="Search by Owner Name:"> <values> <value prompt="Example: SMITH JOSEPH">upper(RuthLIS.DBO.CURRENT_GIS_OWNER_ADDRESS.NAME1) like upper('%[value]%')</value> </values> </expression> <expression alias="GISLINK" textsearchlabel="Search by Parcel GISLINK Number:"> <values> <value prompt="Example: 091N C 00900">RuthLIS.DBO.Parcels.GISLINK = '[value]'</value> </values> </expression> </expressions> <graphicalsearchlabel>Use one of the graphical search tools to select Parcels</graphicalsearchlabel> <spatialsearchlayer>true</spatialsearchlayer> <titlefield>RuthLIS.DBO.Parcels.GISLINK</titlefield> <fields all="false"> <field name="RuthLIS.DBO.Parcels.GISLINK" visible="true" gridfield="true"/> <field name="RuthLIS.DBO.CURRENT_GIS_OWNER_ADDRESS.NAME1" alias="PROPERTY OWNER" gridfield="true"/> <field name="RuthLIS.DBO.CURRENT_GIS_OWNER_ADDRESS.ADDRESS1" alias="OWNER ADDRESS" gridfield="true"/> <field name="RuthLIS.DBO.CURRENT_GIS_OWNER_ADDRESS.CITY" alias="OWNER CITY" gridfield="true"/> <field name="RuthLIS.DBO.CURRENT_GIS_OWNER_ADDRESS.STATE" alias="OWNER STATE" gridfield="true"/> <field name="RuthLIS.DBO.CURRENT_GIS_OWNER_ADDRESS.ZIPCODE" alias="OWNER ZIPCODE" gridfield="true"/> <field name="RuthLIS.DBO.Parcels.STREETNO" alias="STREET NUMBER" gridfield="true"/> <field name="RuthLIS.DBO.Parcels.STREETNAME" alias="STREET NAME" visible="true" gridfield="true"/> <field name="RuthLIS.DBO.CURRENT_GIS_OWNER_ADDRESS.ACCOUNTNO" linkprefix="http://rutherfordcounty.org/apps/propertydata/REALRESULTS.ASPX?acct=" linksuffix="&version=20121231999&taxyear=2012" hyperlinkaliastext="ASSESSOR LINK" visible="true" hyperlinkgridfield="true"/> </fields> <links/> <zoomscale usegeometry="true" zoompercent="1.6"/> <autoopendatagrid>true</autoopendatagrid> <relates/> <queryattachments>false</queryattachments> </layer>
<layer> <definitionexpression></definitionexpression> <enableexport>true</enableexport> <enableprintgrid>true</enableprintgrid> <name>Parcels</name> <url>http://maps3.murfreesborotn.gov/mboro/rest/services/GIS/PARCELSONLY/MapServer/0</url> <expressions> <expression alias="GISLINK" textsearchlabel="Search by Parcel GISLINK Number:"> <values> <value prompt="Example: 091N C 00900">GISLINK = '[value]'</value> </values> </expression> </expressions> <graphicalsearchlabel>Use one of the graphical search tools to select a Parcel</graphicalsearchlabel> <spatialsearchlayer>true</spatialsearchlayer> <titlefield>GISLINK</titlefield> <fields all="false"> <field name="GISLINK" visible="true" gridfield="true" /> <field name="STREETNO" alias="STREET NUMBER" visible="true" gridfield="true"/> <field name="STREETNAME" alias="STREET NAME" visible="true" gridfield="true" /> </fields> <links/> <zoomscale usegeometry="true" zoompercent="1.6" /> <autoopendatagrid>true</autoopendatagrid> <relates /> <queryattachments>false</queryattachments> </layer>
<expressions> <expression> <values> <value></value> </values> </expression> </expressions>
Gerald, This is very strange indead... I have watched the query that is sent to the server through Fiddler and can see the issue is the outfields has "PARCEL_TYPE" tacked on to the end of the outfields list and I have gone though my code top to bottom and examined the FeatureLayers outfields and the Querys outfields and can not find where that is coming from. So My next step is attempt to reproduce this issue just using the Flex API and if I can, then submit a bug to the API Team.
"PLOT IN ('[value]')"
PLOT IN ('7SFG','I-27')
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.