So if I convert this table into a point layer and give each record the geometry of the related existing point, could I just turn off symbology in the map document and accomplish the same thing?
Thanks for the quick reply!!!Any plans to incorperate this into a future release?So if I convert this table into a point layer and give each record the geometry of the related existing point, could I just turn off symbology in the map document and accomplish the same thing?Thanks!
<definitionexpression> EXISTS (SELECT * FROM central2.GISADMIN.TRPD_Schdgrps_Schools WHERE central2.GISADMIN.MN_Schools_PUBLIC.ORGID_REL = central2.GISADMIN.TRPD_Schdgrps_Schools.School_Code) </definitionexpression> <enableexport>true</enableexport> <name>Minnesota Schools - Users</name> <url>http://[server]/ArcGIS/rest/services/swan/CRANE_alldata/MapServer/1</url> <expressions> <expression alias="All users" textsearchlabel="Search for all non-user schools" userlist="1=1">[value]</expression> <expression alias="All users by time period" textsearchlabel="Enter a year (2010) or a time period (2010 Q1)"> EXISTS (SELECT * FROM central2.GISADMIN.TRPD_Schdgrps_Schools WHERE central2.GISADMIN.MN_Schools_PUBLIC.ORGID_REL = central2.GISADMIN.TRPD_Schdgrps_Schools.School_Code AND central2.GISADMIN.TRPD_Schdgrps_Schools.TimePeriod LIKE '%[value]%')</expression> <expression alias="Multiple reservations" textsearchlabel="Enter a year (2010) or a time period (2010 Q1)"> gisadmin.MN_SCHOOLS_PUBLIC.ORGID_REL IN (SELECT tss.School_Code FROM central2.gisadmin.TRPD_SCHDGRPS_SCHOOLS tss WHERE tss.TimePeriod Like '%[value]%' GROUP BY tss.School_Code HAVING COUNT(*) > 1)</expression> <expression alias="Single reservation" textsearchlabel="Enter a year (2010) or a time period (2010 Q1)"> gisadmin.MN_SCHOOLS_PUBLIC.ORGID_REL IN (SELECT tss.School_Code FROM central2.gisadmin.TRPD_SCHDGRPS_SCHOOLS tss WHERE tss.TimePeriod Like '%[value]%' GROUP BY tss.School_Code HAVING COUNT(*) = 1)</expression> <expression alias="School Name" textsearchlabel="Search for schools by name"> SCHNAME Like '%[value]%'</expression> <expression alias="Type of School" textsearchlabel="Search for schools by type" userlist="ELEM,MIDD,HIGH,ALC,SECOND FACILITY COOP,CHARTER,COLLEGE,COOP, CORRECTIONAL,EDUCATION_DISTRICT,DISTRICT-OTHER, INDEPENDENT,INTERMEDIATE DIST,OFFICE,OTHER,SPECIAL">SCH_TYPE1 LIKE '%[value]%'</expression> <expression alias="School District Number" textsearchlabel="Search for schools by Schoo District Number"> SDNUM = [value]</expression> </expressions>
Hi Robert,What is the best way to make the check box for "add search tolerance to point selection" to be "checked" by default.The reason I ask is that i cannot get the point selection tool to actually select a point feature unless I check the box first. It seems kind of redudant, unless I am missing something. I have set the toleranceforpointgraphicalselection value to 100. If you set this value, would you not want the user to use this as the default.Thanks for any assistance or direction that you can provide.Mark
<links> <link includeinresults="false" field="WEB_URL" alias="School Website"> <linkprefix></linkprefix> <linksuffix></linksuffix> <iconfield></iconfield> <iconprefix></iconprefix> <iconsuffix></iconsuffix> </link> </links>
Hi Mark,Did you figure this out yet? I changed visible="true" to visible="false" in SearchWidget.mxml line 3653. After that, "add search tolerance to point search" was set to "checked" by default. <s:Group id="spatialInput" width="100%" height="100%" visible="false" visible.spatialInput="true"> <s:layout>HeenaVillage of Algonquin, IL
<tolerancebydefault>true</tolerancebydefault>
Robert,I have a question. I just switched one of my esearch widgets over to the new 2.5.0.7 XML format. This is how I setup the link:<links> <link includeinresults="false" field="WEB_URL" alias="School Website"> <linkprefix></linkprefix> <linksuffix></linksuffix> <iconfield></iconfield> <iconprefix></iconprefix> <iconsuffix></iconsuffix> </link> </links>I am NOT getting the default icon int he search results window. I do get the link in the popup and the link in the datagrid (I have that setup in fields).
<zoomscale usegeometry="false">10000</zoomscale>
Simon, I believe this is already possible in the current version... Try setting the :<zoomscale usegeometry="false">10000</zoomscale> for the layer that is being searched in the SearchWidget.xml. Let me know if that does not work and I will look into it.
<relates> <relate id="0" label="Hydrant Flush" enableexport="true"> <fields all="true" /> </relate> <relate id="1" label="Hydrant Repair" enableexport="true"> <fields all="true" /> </relate> </relates>
I get this error if I minimize the enhanced search widget and then click on a record within the data grid. [INDENT]Main Thread (Suspended: RangeError: Error #1125: The index 0 is out of range 0.) widgets.eSearch::SearchWidget/highlightDataGroupItem widgets.eSearch::SearchWidgetFixedDG/onItemRollOver widgets.eSearch::SearchWidgetFixedDG/__resultsGrid_itemRollOver flash.events::EventDispatcher/dispatchEventFunction [no source] flash.events::EventDispatcher/dispatchEvent [no source] mx.core::UIComponent/dispatchEvent [no source] mx.controls.listClasses::ListBase/mouseOverHandler [no source] mx.controls.listClasses::ListBase/mouseMoveHandler [no source][/INDENT] I'm not a flex / flash expert so I could use some help. I would also be interested in removing the onItemRollOver functionality in the DataGrid and making it clickRow instead so it would zoom and showInfoWindow. Having it bound to a click instead of using roll over would improve performance of larger sets of data in the current extent. Thank you for your help in advance. Dave Jenkins GISP jkindave@gmail.com
Dave, After looking into your error and the LOE for making the datagrid interaction with the widget results configurable, I was able to fix the error and add your enhancement request. Download version 2.5.1.1 and you will find that the grid widget interaction is now configurable, and that click results in the grid will both zoom to the results and show the popup.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.