Hi Robert,
You have helped me with this tool a few times and I am completely stumped and need your help, again! I am using the compiled eSearch v.3.5 tool in one of our maps. It is working great, but I tried to add the tool in again to look at our leak features and I am having grief. The leaks are point features in a file geodatabase that are output from our DIMP model. I have this tool working on other output features from the same model. I have gotten some pop-ups to work on these features, so I don't think there's a problem with the feature itself. I am sure this is something really stupid, but I have spent a day and half now, trying to get it to work without any success. I am getting this error: [RPC Fault falutString="unable to complete operation." faultCode="400" faultDeatil =""] On the expression, I have tried every way possible to select the features by the 'ID' field, but can't seem to find something that works. [value], '[value]', 'value', ('[value]'), (%'[value]'%), with LIKE and =. I am guessing the problem is in the expression. If there's anything you can see in this that could cause the error, I would be so appreciative of your help. Thanks so much!
These are the fields I am using in the tool:
- ID ( type: esriFieldTypeDouble , alias: Leak ID )
- LEAK_CODE ( type: esriFieldTypeString , alias: Leak Cause , length: 2 , Coded Values: [50: Corrosion] , [52: Material or Welds] , [53:
Excavation] , ...4 more... ) - REPAIR_DATE ( type: esriFieldTypeDate , alias: Date Reported , length: 8 )
And here is what I have in the config. file:
<configuration>
<layers>
<layer>
<token/>
<definitionexpression>Leaks - Mains (Corrosion 2014)</definitionexpression>
<enableexport>true</enableexport>
<enableprintgrid>true</enableprintgrid>
<name>Main Leaks - Corrosion 2014</name>
<url>http://shrek:6080/arcgis/rest/services/MainLeaks/MapServer/1</url>
<expressions>
<expression alias="Leak ID" textsearchlabel="Search 2014 Main Corrosion Leaks">
<values>
<value prompt="Example: 44603" field="ID">UPPER(ID) LIKE UPPER([value])</value>
</values>
</expression>
</expressions>
<graphicalsearchlabel>Use one of the graphical search tools to select Main Leaks by ID</graphicalsearchlabel>
<spatialsearchlayer>true</spatialsearchlayer>
<titlefield>ID</titlefield>
<fields all="false">
<field name="ID"gridfield="true"/>
<field name="REPAIR_DATE"gridfield="true" dateformat="MM/DD/YYY"/>
<field name="LEAK_CODE" gridfield="true"/>
</fields>
<links>
<link alias="HUB Leak Data">
<![CDATA[http://beefy/qrs/dept/Leak/folder.php?recid={ID}&id=tab1]]>
<icon><![CDATA[assets/images/i_table2.png]]></icon>
</link>
</links>
<zoomscale usegeometry="true" zoompercent="2"></zoomscale>
<autoopendatagrid>false</autoopendatagrid>
<queryattachments>false</queryattachments>
<relates/>
<symbology>
<picturemarkersymbol width="20" yoffset="0" xoffset="0" height="20" url="assets/images/i_target.png"/>
</symbology>
</layer>
</layers>