All, New Version now available:Version 3.5.3 - 10/22/2013* Fixed issue With preload="minimized" and the dropdownlists.* Fixed issue with SubTypes and Domains assigned to subtypes.* Fixed issue with text qualify userlists and the 'all' option.
Dongxing, Is it possible for you to provide a sample of your data in a File GDB for testing?
<value prompt="Example: 20" isvaluerequired="false" autosubmit="false" >gamefish_weight > '[value]</value>
<value prompt="Example: 20" isvaluerequired="false" autosubmit="false" >gamefish_weight > [value]</value>
Dongxing, Well I have some bad news. It turns out that this is a documented ArcGIS Server issue. There was a bug logged NIM083086 and the Bug was rejected by the server development team "Known Limitation On Server End". The other user that had this same situation was told to remove the join or the Subtype field (not much of a resolution). I have added my name to the nimbus bug for this issue to see if it can be reopened and possibly get fixed without out a lame response from the development team, to just remove the join or the subtype field. I would recommend that you report the bug as well (make sure that you duplicate the issue using the OTB Search widget and not the eSearch, or they will just blame it on the custom widget).
I knew it only directly displays subtype value as number (code), can't automatically transfer code into description and display it, but it doesn't give a error, doesn't crash the search
can't automatically transfer code into description and display it
so I may have to use the 3.5 version eSearch instead of the latest version 3.5.3
Derek, Hmm... When did this start happening? You either have something really screwed up in your eSearchWidget.xml or you have found a bug no one else has seen. When you say the drop down is empty, is your drop down width extremely small?
Derek, Which version of the widget are you using? Are you specifying the width and height attributes in the widget tag of the main config.xml for the eSearchWidget?
<widget label="Search" right="15" top="209" preload="open" icon="assets/images/i_search.png" width="400" config="widgets/eSearch/eSearchWidget_Whiting.xml" url="widgets/eSearch/eSearchWidget.swf"/>
Derek, Ahh... That was what I was looking for. Just add a width attribute to the eSearch Widget in the main config.xmlThis is a new Bug in the 3.5.3 version. It will be addressed in 3.5.4.<widget label="Search" right="15" top="209" preload="open" icon="assets/images/i_search.png" width="400" config="widgets/eSearch/eSearchWidget_Whiting.xml" url="widgets/eSearch/eSearchWidget.swf"/>
Dongxing, This is strange as I get error 400 when using the standard esri search widget when using a joined layer that has a subtype. Actually That is the test case I shared with esri when reporting this bug. Also strange that you say esris search widget does handle subtype fine as long as there is no join as well.Whether you leave the Subtype field out of your eSearchWidget.xml field list or not does not matter as esri adds the subtype field automatically in the API when a query is done on a layer that has a subtype defined in its REST end point. The only way to get past that is to hide the Subtype field in the MXD before you publish the map service. Once you hide the SubType field in the MXD and republish the service (with the Join), then version 3.5.3 works just fine as well as older versions of the eSearch. Why?.. In 3.5.3 Subtypes works and joined tables has worked way back since the 2.x version of the widget.
I have been using the esearch widget for some time now, but I have just run across a problem and I am not sure what is causing the issue. I have published an X,Y event layer to our server on Amazon EC2 which is dynamically reading a SQL table that is updated nightly. But....When searching the event layer a)uniquevalsfromfield causes all of the search values to not workb)without the expression uniquevalsfromfield, the widget is only returning the first value it findsAny ideas? The widget works fine on our internal server(and internal SQL) but not when I transferred the widget. It also works fine on the server when the database was copied to the amazon.
<fields all="true">
width="400"
Ned, Actually the fix for what you are seeing will not be out untill the next release. But there is a simple workaround for this isse in 3.5.3. All you need to do is add a with attribute to the widget tag in the main config:width="400"
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.