Yes,
But as 3.7 was the last release of the ArcGIS Viewer for Flex I will not be putting out another version of the eSearch unless that is some major bug in the widget.
I my memory serves me right it was when I updated to 3.7 that it began happening. Originally, it worked fine.
Hi Robert,
I'm on esearch 3.6.8.
Is there a way to customize the search results similar to how we can customize a normal pop-up. Specifically, I would like to concatenate some text with the field name in the titlefield like this:
<titlefield>"some text"{FIELDNAME}</titlefield>
I tried the following syntax which works in a pop-up but no luck:
<titlefield><![CDATA[<b>Asset: </b>{ENERGYASSETTYPE}<br/>]]></titlefield>
My workaround will be to add a field to the gdb with the exact text specifically for use as a title but I prefer not to have redundant data if possible.
Thank you,
Glenn
Glenn,
No you can not do that with fields like the titlefield.
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:
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>
Julie,
The first thing I see and likely the issue is this line:
<definitionexpression>Leaks - Mains (Corrosion 2014)</definitionexpression>
A definitionexpresssion is a valid SQL string that limits the search. What you have looks more like some text you want to use as a label.
Hi Robert!
Oh my gosh! I told you it was probably something stupid! I removed that and it works!! Thank you, so, so much! I really appreciate your help. We love this tool and use it a lot in all of our maps! Thanks, again, and have a great weekend!
Julie