<layer> <useamf>false</useamf> <definitionexpression></definitionexpression> <enableexport>true</enableexport> <name>Parcels Join Test</name> <url>http://gislap183/arcgis/rest/services/ParcelTest/MapServer/1</url> <expressions> <expression alias="Parcel ID" textsearchlabel="Search by Parcel ID:"> <values> <value prompt="Example: 1998">Parcels3.PPIN = '[value]'</value> </values> </expression> </expressions> <graphicalsearchlabel>Use one of the graphical search tools to select parcels</graphicalsearchlabel> <spatialsearchlayer>true</spatialsearchlayer> <titlefield>Parcels3.PARCEL_NUMBER</titlefield> <fields all="false"> <field name="Parcels3.PPIN" alias="Parcel Id" /> <field name="Parcels3.PARCEL_NUMBER" alias="Parcel Number" /> <field name="Parcels3.NAME" alias="Owner Name" /> </fields> <links /> <zoomscale usegeometry="true" zoompercent="1.2"></zoomscale> </layer>
Casey, I am not sure that you have the latest version in your testing environment. Can you hold down the Alt key and click on the eSearch widgets title bar and check the dialog that pops up says 3.3.2? Also can you try switching the eSearchWidget.xml floatorfixed to float<floatorfixed>float</floatorfixed><!-- possible values are fixed and float -->and test again? MAKE SURE you clearing your browsers cache.The reason for my asking this is I HAVE been able to duplicate you blank map situation with the popup in the upper left corner, but only when the relate is not getting the:<zoomscale usegeometry="true" zoompercent="1.6" /> and in version 3.3.1 I added a change to the SearchWidgetFixedDG.swf to hard code a value if one is not found in the xml.
<floatorfixed>float</floatorfixed><!-- possible values are fixed and float -->
<zoomscale usegeometry="true" zoompercent="1.6" />
<expressions> <expression alias="Agree with incident" textsearchlabel="Search Incidents that are agreed to:"> <values> <value prompt="Example: True" field="agree_with_incident" usedomain="true">agree_with_incident = [value]</value> </values> </expression> <expression alias="Incident date" textsearchlabel="Search Incidents on or after date:"> <values> <value prompt="Example: 2012/04/16">datetime >= '[value] 00:00:00'</value> </values> </expression> </expressions>
Thomas,What I don't see listed in your specs is the ArcGIS Server Version and Service Pack. The uniquevalsfromfield requires an ArcGIS Server 10 or greater. You can use Fiddler or some other http traffic inspector/analyzer to see if you are getting any 400 errors from that server.
�?�GET/ArcGIS/rest/services/hsip/mapserver/5/query returnGeometry=false&test=%&f=json&returnIdsOnly=true &spatialRel=esriSpatialRelIntersects 443 �?? 22.50.xyz.xyz Mozilla/4.0+(compatable;+MSIE+7 . . . . . . . /bin-debug/index.swf 200 0 0 479
Thomas, Can you do queries from the rest end point of that server without issue?
Thomas, I would recommend trying version 3.3.3 as I found that ArcGIS Server can return a query error "Unable to complete query" quite often when the server is hit with multiple requests in rapid succession. I have put four more attempts in the uniquevalsfromfield requests before it fails.
Robert,Thank you for responding so quickly. I really appreciate it.Yes, I am running ArcGIS 10 Server Advanced Enterprise SP5 (10.05) but I cannot set up an �??http traffic inspector/analyzer�?� because it's on a SECRET network. Any ideas what would cause the different results of the same code?I looked at the IIS logs at the time I opened and clicked the pulldown that did not work, (This may help???)This is a hand jam, so let me know if you need more.�?�GET/ArcGIS/rest/services/hsip/mapserver/5/query returnGeometry=false&test=%&f=json&returnIdsOnly=true &spatialRel=esriSpatialRelIntersects 443 �?? 22.50.xyz.xyz Mozilla/4.0+(compatable;+MSIE+7 . . . . . . . /bin-debug/index.swf 200 0 0 479 Thanks again Robert.
<Msg time='2013-06-10T13:36:31' type='INFO3' code='4006' target='hs_wm.MapServer' machine='xyz' user='UNET\brophyt' thread='7440' elapsed='0.03100'>Server Context created.</Msg> <Msg time='2013-06-10T13:36:31' type='INFO2' code='100001' target='hs_wm.MapServer' methodName='MapServer.QueryData' machine='xyz' user='UNET\brophyt' process='8364' thread='2536'>String request received. Request size is 173151 characters.</Msg> <Msg time='2013-06-10T13:36:31' type='INFO2' code='10106' target='hs_wm.MapServer' methodName='MapServer.QueryData' machine='xyz' user='UNET\brophyt' process='8364' thread='2536'>QueryData has started.</Msg> <Msg time='2013-06-10T13:36:36' type='INFO3' code='10107' target='hs_wm.MapServer' methodName='MapServer.QueryData' machine='xyz' user='UNET\brophyt' process='8364' thread='2536' elapsed='4.38601'>QueryData has completed.</Msg> <Msg time='2013-06-10T13:36:36' type='INFO2' code='100002' target='hs_wm.MapServer' methodName='MapServer.QueryData' machine='xyz' user='UNET\brophyt' process='8364' thread='2536' elapsed='4.39902'>String request succesfully processed. Response size is 45108 characters.</Msg> <Msg time='2013-06-10T13:36:36' type='INFO3' code='4007' target='hs_wm.MapServer' machine='xyz' user='UNET\brophyt' thread='4220' elapsed='4.43000'>Server Context released.</Msg>
<Msg time='2013-06-10T13:36:31' type='INFO3' code='4006' target='hs_wm.MapServer' machine='yyyyyy' user='?' thread='120460' elapsed='0.01600'>Server Context created.</Msg> <Msg time='2013-06-10T13:36:31' type='INFO2' code='100001' target='hs_wm.MapServer' methodName='MapServer.QueryData' machine='yyyyyy' user='?' process='121360' thread='121304'>String request received. Request size is 173151 characters.</Msg> <Msg time='2013-06-10T13:36:31' type='INFO2' code='10106' target='hs_wm.MapServer' methodName='MapServer.QueryData' machine='yyyyyy' user='?' process='121360' thread='121304'>QueryData has started.</Msg> <Msg time='2013-06-10T13:36:31' type='ERROR' code='10837' target='hs_wm.MapServer' methodName='MapServer.QueryData' machine='yyyyyy' user='?' process='121360' thread='121304'>Geodatabase error: Logfile not found.</Msg> <Msg time='2013-06-10T13:36:31' type='ERROR' code='10837' target='hs_wm.MapServer' methodName='MapServer.QueryFeatureData' machine='yyyyyy' user='?' process='121360' thread='121304'>Genaral GeoDatabase Error.</Msg> <Msg time='2013-06-10T13:36:36' type='INFO3' code='10107' target='hs_wm.MapServer' methodName='MapServer.QueryData' machine='yyyyyy' user='?' process='121360' thread='121304' elapsed='0.22043'>QueryData has completed.</Msg> <Msg time='2013-06-10T13:36:31' type='ERROR' code='100005' target='hs_wm.MapServer' methodName='MapServer.QueryData' machine='yyyyyy' user='?' process='121360' thread='121304' elapsed='0.23043'>Method failed.HRESULT = 0x80041530 : This is a FACILITY_ITF error that is specific to the interface that returned the error. See documentation of the interface that returned this error for information about this HRESULT.</Msg> <Msg time='2013-06-10T13:36:36' type='DEBUG' code='100000' target='hs_wm.MapServer' methodName='MapServer.QueryData' machine='yyyyyy' user='?' process='121360' thread='121304'>ERROR INFO = Error processing server request.</Msg> <Msg time='2013-06-10T13:36:36' type='INFO3' code='4007' target='hs_wm.MapServer' machine='yyyyyy' user='?' thread='118788' elapsed='0.28000'>Server Context released.</Msg>
if (fieldInfo.label == " ") { label = new Label(); htmlText = '<a href="' + htmlText + '" target="_blank">' + "<b>Click to view past updates" + "</b></a>"; } else if (fieldInfo.label == " ") { label = new Label(); htmlText = "<a href='http://gis.stlouiscountymn.gov/PW/WebForm1.aspx?FirstName=" + FlexGlobals.topLevelApplication.firstName + "&LastName=" + FlexGlobals.topLevelApplication.lastName + "&email=" + FlexGlobals.topLevelApplication.email + "&ConstId=" + htmlText + "'target='_blank'><b>Click to subscribe to updates</b></a>"; } else { label = new Label(); }
<field name="NEWS_RPT" alias=" " hyperlinkgridfield="true" hyperlinkaliastext="Click to view project history" /> <field name="PROJNUM" alias=" " hyperlinkgridfield="true" hyperlinkaliastext="Click to subscribe to updates"/>
<value prompt="ADDRESS Number (e.g. 300)" isvaluerequired="false">(PARADRNO) LIKE [value]%</value> <value prompt="ADDRESS Street (e.g. Washington St)" isvaluerequired="false" operator="and">(upper(PARADRSTR)) LIKE upper('%[value]%')</value>
<enablemultigraphicssearch>true</enablemultigraphicssearch> <multipartgraphicsearch>true</multipartgraphicsearch>
Bo, Once you check the "enable multi-part graphics" checkbox then you will see a search button appears to the right of that chanckbox and then you choose a draw tool and draw on the map (multiple times) and once complete you click the search button.
<field name="PicForwardLink" alias="Pic Forward" visible="false"/> <field name="PicRightLink" alias="Pic Right" visible="false"/> <field name="PicBackLink" alias="Pic Back" visible="false"/> <field name="PicLeftLink" alias="Pic Left" visible="false"/> </fields> <links> <link alias="FRA Rail Crossing Site" disablelinksifnull="false" disableinpopups="false"> <![CDATA[http://safetydata.fra.dot.gov/OfficeofSafety/PublicSite/Crossing/Crossing.aspx]]> <icon><![CDATA[assets/images/FRA.png]]></icon> </link> <link alias="Looking Forward" includeinresults="true" field="PicForwardLink" disablelinksifnull="true" disableinpopups="false" > <![CDATA[{PicForwardLink}]]> <icon><![CDATA[assets/images/w_link_U.png]]></icon> </link> <link alias="Looking Right" includeinresults="true" field="PicRightLink" disablelinksifnull="true" disableinpopups="false" > <![CDATA[{PicRightLink}]]> <icon><![CDATA[assets/images/w_link_R.png]]></icon> </link> <link alias="Looking Back" includeinresults="true" field="PicBackLink" disablelinksifnull="true" disableinpopups="false" > <![CDATA[{PicBackLink}]]> <icon><![CDATA[assets/images/w_link_D.png]]></icon> </link> <link alias="Looking Left" includeinresults="true" field="PicLeftLink" disablelinksifnull="true" disableinpopups="false" > <![CDATA[{PicLeftLink}]]> <icon><![CDATA[assets/images/w_link_L.png]]></icon> </link> </links>
Bo, Give it a test in the Live Preview Site:http://gis.calhouncounty.org/FlexViewer3.3/index.html?config=config-eSearch.xml
Bo, Thanks for reporting this. It use to work just fine so I am not sure which version it broke in...Update: I have found the issue in the code and it will be fixed in the next version.
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.