Dear All,
I am using Enhance Search widget 3.0.16 flex, i have one Layer "TEST_PRJ" and "regional_command,Province,Shape,ObjectId,Category)fields in this layer, i want to search with different field for example i want to search with regional_command i have six regional_command(RC-East,RC-Capital,RC-West...) i put these regional command in drop down list when i select one regional command from dorp down list it shows the correct result in data grid but in map it show all regional command,i want to see the regional command which i selected from drop down list, in ArcMap when i run the query"regional_command='RC-East' it shows just East but in interface it cannot show.
------------------------------
<layer>
<definitionexpression/>
<enableexport>true</enableexport>
<enableprintgrid title="Select Regional Command">true</enableprintgrid>
<name>Cashing CERP Projects(8631)</name>
<url>http://10.10.1.3:2012/arcgis/rest/services/Cashing/CERP_Web_Zia01_Dec11/MapServer/0</url>
<expressions>
<expression alias="Regional Command" textsearchlabel="Search Regional Commnad:" isvaluerequired="false">
<values>
<value prompt="Example: RC-Captial" userlist="RC-East,RC-West,RC-North,RC-Southwest,allu" isvaluerequired="false">regional_command= '[value]'</value>
</values>
</expression>
</expressions>
<graphicalsearchlabel>Use one of the graphical search tools to select Zoning</graphicalsearchlabel>
<spatialsearchlayer>true</spatialsearchlayer>
<titlefield>province</titlefield>
<fields all="false">
<field name="objectid" gridfield="true"/>
<field name="regional_command" gridfield="true"/>
<field name="province" gridfield="true"/>
<field name="category" gridfield="true"/>
<field name="mgrs" gridfield="true"/>
<field name="shape" gridfieldonly="true" gridfield="false"/>
</fields>
<linkfield>regional_command</linkfield>
<zoomscale usegeometry="true" zoompercent="2">2400</zoomscale>
<autoopendatagrid>true</autoopendatagrid>
<queryattachments>true</queryattachments>
<relates/>
<symbology>
<simplefillsymbol color="0x0000ff" alpha="0.5">
<outline color="0x00ffff" alpha="0.8" width="2"/>
</simplefillsymbol>
</symbology>
</layer>
I am using Enhance Search widget 3.0.16 flex, i have one Layer "TEST_PRJ" and "regional_command,Province,Shape,ObjectId,Category)fields in this layer, i want to search with different field for example i want to search with regional_command i have six regional_command(RC-East,RC-Capital,RC-West...) i put these regional command in drop down list when i select one regional command from dorp down list it shows the correct result in data grid but in map it show all regional command,i want to see the regional command which i selected from drop down list, in ArcMap when i run the query"regional_command='RC-East' it shows just East but in interface it cannot show.
------------------------------
<layer>
<definitionexpression/>
<enableexport>true</enableexport>
<enableprintgrid title="Select Regional Command">true</enableprintgrid>
<name>Cashing CERP Projects(8631)</name>
<url>http://10.10.1.3:2012/arcgis/rest/services/Cashing/CERP_Web_Zia01_Dec11/MapServer/0</url>
<expressions>
<expression alias="Regional Command" textsearchlabel="Search Regional Commnad:" isvaluerequired="false">
<values>
<value prompt="Example: RC-Captial" userlist="RC-East,RC-West,RC-North,RC-Southwest,allu" isvaluerequired="false">regional_command= '[value]'</value>
</values>
</expression>
</expressions>
<graphicalsearchlabel>Use one of the graphical search tools to select Zoning</graphicalsearchlabel>
<spatialsearchlayer>true</spatialsearchlayer>
<titlefield>province</titlefield>
<fields all="false">
<field name="objectid" gridfield="true"/>
<field name="regional_command" gridfield="true"/>
<field name="province" gridfield="true"/>
<field name="category" gridfield="true"/>
<field name="mgrs" gridfield="true"/>
<field name="shape" gridfieldonly="true" gridfield="false"/>
</fields>
<linkfield>regional_command</linkfield>
<zoomscale usegeometry="true" zoompercent="2">2400</zoomscale>
<autoopendatagrid>true</autoopendatagrid>
<queryattachments>true</queryattachments>
<relates/>
<symbology>
<simplefillsymbol color="0x0000ff" alpha="0.5">
<outline color="0x00ffff" alpha="0.8" width="2"/>
</simplefillsymbol>
</symbology>
</layer>