Having some trouble with the Enhanced Search Widget 2.1.7. I was using the old 2.1.6 and when i upgraded to the 2.1.7 i deleted the Esearch folder under widgets. I then cleaned my project and then copied over the new Esearch widget and followed all of the rest of the instructions. My problem is the hyperlink works in the grid for a few times, and then suddenly it stops working because the LINKPREFIX gets put in front of the url I have already built by the LINKPREFIX. Example of what it is doing.
http://server/t-assessor.asp?pid=http://server/t-assessor.asp?pid=352585475474
I see in the documentation that the "linkprefix in datagrid not getting cleared when new search results are issued" was fixed in 2.1.7. I've cleaned my project, REST services and even tried to build the project and run it on another server, but I still get this problem.In attempt to try to fix this i have redownloaded the 2.1.7 widget and copied over all of the files in the Esearch widget and slowly edited the xml to fit my data but it eventually appears again. here is a sample of the SearchWidget.xml<layer>
<name>Parcel ID</name>
<url>http://server/ArcGIS/rest/services/Parcels/MapServer/2</url>
<expression useforspatial="true">PARCELID like '%[value]%'</expression>
<textsearchlabel>Search by Parcel ID [ Example: 350736600508 ]:</textsearchlabel>
<graphicalsearchlabel>Use one of the graphical search tools to select a Parcel</graphicalsearchlabel>
<spatialsearchlabel>Select the two layers for spatial query</spatialsearchlabel>
<spatialsearchlayer>true</spatialsearchlayer>
<spatialrelationlayer>true</spatialrelationlayer>
<titlefield></titlefield>
<fields all="false">
<field name="PARCELID" alias="PARCEL ID" gridfield="true" gridfieldonly="true"/>
<field name="PHOTOS" alias="PARCEL INFORMATION" gridfield="false" gridfieldonly="false" hyperlinkgridfield="true" hyperlinkaliastext="Assessor Information" linkprefix="http://server/t-assessor.asp?pid=" linksuffix=""/>
<field name="SITUS" alias="SITUS" gridfield="true" gridfieldonly="true"/>
<field name="DEEDED_ACR" alias="DEEDED ACRES" gridfield="true" gridfieldonly="true"/>
<field name="TAXPAYER_N" alias="TAXPAYER NAME" gridfield="true"/>
<field name="MAIL_ADD_1" alias="C/O" gridfield="true" gridfieldonly="true"/>
<field name="MAIL_ADD_2" alias="MAILING ADDRESS" gridfield="true" gridfieldonly="true"/>
<field name="MAIL_ADD_3" alias="CITY/STATE" gridfield="true" gridfieldonly="true"/>
<field name="ZIP_CODE" alias="ZIPCODE" gridfield="true" gridfieldonly="true"/>
<field name="LINK_JPG" alias="PHOTO OF PROPERTY" gridfield="false"/>
</fields>
<linkfield>LINK_JPG</linkfield>
<icon isfield="true"></icon>
<zoomscale>10000</zoomscale>
</layer>
Does anybody have any ideas?Thanks.