<widget label="Enhanced Search" left="80" top="100" preload="open" icon="assets/images/i_search.png" width="400" config="widgets/eSearch/eSearchWidget.xml" url="widgets/eSearch/eSearchWidget.swf"/>
<spatialsearchlayer>true</spatialsearchlayer>
<values> <value prompt="Species e.g. AC RU">maximo_production.dbo.GIS_Balances.speciescode = '[value]'</value> <value prompt="Height e.g. 8" isvaluerequired="false" operator="AND">maximo_production.dbo.GIS_Height.height >= [value]</value> <value prompt="Diameter e.g. 2" operator="AND" isvaluerequired="false">maximo_production.dbo.GIS_Diameter.diameter >= [value]</value>--> </values>
maximo_production.dbo.GIS_Balances.speciescode = 'AC SA' AND "maximo_production.dbo.GIS_Height.height" >= 5
Simon, Maybe this is just a type but what is the end comment doing in here (what I have in red)? <values> <value prompt="Species e.g. AC RU">maximo_production.dbo.GIS_Balances.speciescode = '[value]'</value> <value prompt="Height e.g. 8" isvaluerequired="false" operator="AND">maximo_production.dbo.GIS_Height.height >= [value]</value> <value prompt="Diameter e.g. 2" operator="AND" isvaluerequired="false">maximo_production.dbo.GIS_Diameter.diameter >= [value]</value>--> </values>
Simon, Does the (simpler) "Row search" work?
Simon, OK can you generate a short life token for me then?
Simon, The token is not working for me...
Simon, Not sure which method you are using to generate the token but neither of them have worked for me. Are you choosing IP, HTTP Referrer or Request IP?
Hiran, No that is not an option at this time.
<expression alias="Species Code Search" textsearchlabel="Search by species code"> <values> <value prompt="Species e.g. AC RU">maximo_production.dbo.GIS_Balances.speciescode = '[value]'</value> <value prompt="Height e.g. 8" isvaluerequired="false" operator="AND">maximo_production.dbo.GIS_Height.height >= [value]</value> <value prompt="Diameter e.g. 2" operator="AND" isvaluerequired="false">maximo_production.dbo.GIS_Diameter.diameter >= [value]</value> </values> </expression>
Simon, Not sure I understand why (right now) but when I removed the > and just used the greater than symbol in the XML it worked. <expression alias="Species Code Search" textsearchlabel="Search by species code"> <values> <value prompt="Species e.g. AC RU">maximo_production.dbo.GIS_Balances.speciescode = '[value]'</value> <value prompt="Height e.g. 8" isvaluerequired="false" operator="AND">maximo_production.dbo.GIS_Height.height >= [value]</value> <value prompt="Diameter e.g. 2" operator="AND" isvaluerequired="false">maximo_production.dbo.GIS_Diameter.diameter >= [value]</value> </values> </expression>There was also an issue with one of your fields (physcnt) attributes not have a space between it and the next attribute making it invalid xml syntax.
What query did you try?
I am not sure what the issue with my physcnt field is, could you elaborate?
<field name="maximo_production.dbo.GIS_Balances.physcnt" visible="true" alias="Physical Count"gridfield="true" gridfieldonly="true"/>
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.