Enhanced Search Widget Version 2.23.1 - 11/22/22

535945
2821
07-14-2014 03:57 PM
Labels (1)

Enhanced Search Widget Version 2.23.1 - 11/22/22

Live Preview Site

Web AppBuilder for ArcGIS | Help - Enhanced Search widget

 

List of the latest enhancements and changes:

  1. Fixed issue with Spatial Relationship settings

Older enhancements or changes

Check the "Older enhancements or changes.txt" in the download for a complete list.

 

Older Versions

Last 2.21 version

Last 2.17 version

Last 2.13 version

Last 2.12 version

Last 2.11 version

Last 2.9 version

Last 2.7 version

Last 2.6 version

Last 2.5 version

Labels (1)
Attachments
Comments

Tapas,

   Thanks for the info and feedback. I found the tab theme issue shortly after releasing 1.2.0.3. I have it fixed for 1.2.0.4. I will look into the other UI issue you bring up about the box theme. it comes down to the box theme setting the width much smaller than other themes, but this should be an easy fix. Testing in all these themes and styles is pretty labor intensive so thanks for your help spotting the issues I missed.

Hi Robert Scheitlin, GISP,

Your widgets are awesome.

I have a question about the eSearch widget that I hope you can answer.  Is there a way to show only the tabs in the attribute table that are defined in the 'Included Fields' configuration for the eSearch widget?

For example:

In the eSearch Configuration we have created a GPIN search and 'Included Fields' of PAR_GPIN as illustrated in the below screenshot.

The below screenshot is difficult to see:

Essentially we'd like to show the GPIN tab in the attribute window tab but not show any of the other tabs / field names.  Just show the tabs/fieldnames that were selected in the 'Included Fields' selection in the above screenshot in the Attribute Table as illustrated in the below screenshot.

I appreciate any help you can give me with this.

Kevin

Kevin,

   I am just using the Attribute Table Widget to display results from the eSearch. So I don't want to have the eSearch remove any layers that it did not put/enable in that widget. If you do not want other layers to appear in the Attribute Table widget then just configure the Attribute Table widget to not display those layers.

Thanks Robert.  That was an easy fix.

Is there any way that I can use the selection from my search By Shape and By Value in combination.  For example, if I pick an area using the search By Shape and then apple a query from my By Value then can I get only those that meet both search criteria?

Suzy,

   You can do this in the exact opposite of what you stated. You set your "by value" query on that tab (enter the search parameter do not click search) and then switch to the "by shape" and check the "Include text query in selection criteria" checkbox and do your map drawing. Hopefully in latter releases I will have an easier option for this.

hi Robert,

I would like notify you a small issue. If I try to change the configuration of the "Edit Default Buffer Properties", in particular the order of the Buffer Units, the change is not saved in the configuration file.

Thanks for your excellent work

hi Robert,

I may have just discovered something that should go in the documentation i think.

i have a pt layer that i have joined to an Oracle Materialized view in my ArcMap mxd.

i can see all the attributes just fine but i cannot build a esearch or esri query against the fields in the joined table.

i can create the query just fine but when i go to run it no values are returned and i get that 'search failed!' message in the big white box.

i have switched to an esri 'database view',  that does the same join in the arcmap mxd and it works fine.

not sure why arcmap join doesnt work when i can build the query. i have the materialized view in the arcmap toc.

I am trying to add a button to my selection results that would allow me to remove an individual record from the selection...has anybody accomplished this? I have created the button and can call a function from the onclick event, but I'm not sure what that function would need to do to remove the graphic from the map and remove the item from the list. Any help would be appreciated.

Eric,

   That is something that is done in the Identify widget and you can glean code from there.

Hello Robert,

a question. I need to hide the options that are in the TAB graphics. I modified the file widget.html and I put in style = "visibility: hidden" in the DIV tag. It is the only solution? you can enter the options in the config file? Thanks a lot.

Massimo,

  What options on the Graphics tab? Or are you talking about hiding the whole tab? If you are talking about hiding the whole tab then yes see the "edit disabled tab(s) link on the widgets config page.

Robert Scheitlin, GISP

Have you had any problems exporting results from the Attribute Table to .csv when using IE?  I assume this is an IE issue and not an Attribute Table or Enhanced Search widget issue as Firefox and Chrome work as they should (and I've tested all three browsers on five different machines with only IE11 not working), but just want to check with you on that.

If it is an IE issue, do you think in your next release you could have a piece of text, button, etc. available that lets the user know it is best to not use IE if the goal is to export results to .csv?  Or do you have a tip or two on how to add that to the widget?  Or is there a setting in the current widget I should change?

I can add more details later on what happens with IE if you need them.  For now I'm just curious to know if you've experienced any problems with IE and export to CSV.

Anonymous User

The Internet should have a button saying not to use I.E.

If IE was a machine I would like to take it out back and go Office Space on it. I am working on stuff with jQuery today and it's being ornery in IE and I am grumpy...

Also GeoNet should have "First Page" and "Last Page" links to navigate thread pages.

Adam,

   There is a thread that acknowledges that the Attribute Table widget has an issue with IE and export to csv and a code workaround that has to be done to the Attribute Table widget.

Re: Query widget - spatial filter and operational layer issue

I don't have any plans to add some warning to my widget. As WAB dev team is aware of this issue and likely have it fixed in the 1.3 release I would just wait or add something to website link page.

Hello Robert,

the TAB is By Shape and the items that I would hide are:

- Enable multi-part graphics

- Add search tolerance to point selection

- Includes text query selection criteria

For item Buffer Graphic i would set the default checked

Thank

Massimo

Massimo,

   OK, currently there is no configuration for the item you are wanting. I will look at adding these options to the "Edit Graphical Search Options" dialog in a future release.

Is there a way to make URLs show as links in the results?

For example could I change the following fields to show as links in the search results?

{

            "name": "cachegis.one.parcel_2016_base.owner_plat_1",

            "alias": "Recorder's Plat 1"

          },

          {

            "name": "cachegis.one.parcel_2016_base.owner_plat_2",

            "alias": "Recorder's Plat 2"

          },

          {

            "name": "cachegis.one.parcel_2016_base.owner_plat_3",

            "alias": "Recorder's Plat 3"

          },

          {

            "name": "cachegis.one.parcel_2016_base.owner_plat_4",

            "alias": "Recorder's Plat 4"

          },

Cameron,

   Sure have you seen the documentation on links?

I have not. Could you point me in the right direction to find it? I would appreciate it. Thank you.

I apologize I wasn't very clear. I have used that configuration and attached an image of how the results come across. The link still shows even if the field is null, however it is purple and just opens the Web App in a new tab. So I was wondering if I could change the results in the config so the field shows as a link.

Capture.JPG

Cameron,

   I am still not sure I follow 100% but if you don't want the Recoder's Plat 1: http://blah blah and a link in the record that links to the url then just remove the filed from the fields list and only have it in the links list. The is also the "Disable Link if Null" option in the link configuration dialog.

The Disable link if null is checked as well. The link turns purple if the field is null rather than removing the text link.

Cameron,

   Is your fields truely null? When you open ArcMap and look in the attribute table for that parcel is does the field show "null" or is it just blank?

Yes.

Capture2.JPG

Cameron,

   Hmm. I guess I need to look into this then. I will let you know what I find.

Thanks for your help. I apologize for not articulating it correctly at first. Thanks again.

Hi Robert, thanks for the update to WAB 1.2. I am busy with some migrations from 1.1.

I noticed that when I use the Unique option it takes a while to go through the list of features to get the unique list. Before this was pretty much instant. I remember something about a change make this faster. Has this changed in the new 1.2 version? Would it be possible to either change it back or to have an option of which method to use.

Thanks very much.

Julian.

Julian,

   I might have worked faster in older versions because it was inaccurate. It would only return unique vales of the servers max-records (which normally was 1000, based on server version). It also sometimes seemed to be faster because there was no indicator but if you tried to click on the drop down list to quick it would be empty. So bottom line is no.

Thanks for the feedback Robert.

Just a note on it, if someone is returning 1000 unique options in a dropdown list, they might need to have a re-look at their search .

We searching properties with around 100 000 features (and in another case around 240 000) and have a unique value on the area name (which is around 40 unique areas). I have noticed that if I search on a property number and hit search before it has returned all the unique values for my area names, it does not return anything. I presume this is normal as it cannot find the value for the second parameter in the search query.

It would be great if both options were available in the config for this.

If I misunderstood your reply, my apologies for that.

2015-10-01_160215.png

2015-10-01_160454.png

Julian,

   OK, I might better clarify. In the older version the unique values will only search the first 1000 records (or what ever the server max-records is) and only working with those 1000 it would look for unique values in those 1000. So in your case it would take the first 1000 records of the 100,000 and return the unique values for only the first 1000 records of your 100,000 (so it would only be sampling 0.01 of your data). Hope that is clearer now.

Julian,

I presume this is normal as it cannot find the value for the second parameter in the search query

Correct. I though about disabling the search button until it was done but I thought that the progress indicator was enough.

Cameron,

   I found the issue and it will be fixed in the next release.

Robert,

Is there additional configuration required for search URL?

I could export URL, but it does not zoom to the correct location.

Thank you for your time.

Keisuke

Keisuke,

   Did you see the widgets help documentation on the subject?

Web AppBuilder for ArcGIS | Help - Enhanced Search widget | URL Search

Robert,

I see one of your enhancements for v1.2.0.3 is Date searches have been fixed or Oracle DB users.  Can you give more information if anything has to be done differently on the configuration end?  I've got your widget set up and it runs for all queries except fails or date ones.  I am using a mapservice that originated from Oracle to a SDE feature class to a map service.  Any ideas?

Suzy,

   Can you share your enhanced search_config.json

Suzy,

   In version 1.2.0.4 you can now add and remove from the current search results using the Graphical or by value tabs.

Great – thank you! I am looking for the seach_config.json file to send your way. I suspect my problem is how I am setting up the queries. I am having trouble finding the search_config.json.

I can find a config.json file in the C:\Web AppBuilder\arcgis-web-appbuilder-1.2\client\stemapp\widgets\eSearch folder.

Please excuse my ignorance in this as this is my first foray into customization for ArcGIS Online.

Suzy Brunzell

O: 206.684.7961

Suzy,

   You will need to look for [install dir]\server\[app number]\configs\eSearch\config_Enhanced Search.json

Got it – I am not sure it is worth looking at as I don’t remember what state I left it in last night when I left. Unfortunately, I have little time to play with it this morning, but will have time to return to it this afternoon. Basically, if you could help me set up a query using the dates in my data, I am confident that I can replicate it.

The data is currently located at http://services.arcgis.com/ZOyb2t4B0UYuYNYH/arcgis/rest/services/Mapservice_PACTAgencyImpact/FeatureServer/0. It’s a hosted service until we can get a mapservice published.

Suzy Brunzell

O: 206.684.7961

Hi Robert,

Is there anyway the Operator in the Add Expression Value can be changed from AND to OR at will,

so that I can perform a specific query without having to provide a value for another in order to generate results? (see below)

For example I have FARE greater than and FARE less than. I would like to be able to provide a number on FARE greater than and have a result returned without having to provide a number for FARE less than and vise versa (hence, the OR Operator).

I hope I make sense.

Lara

Lara,

   If you use AND when you configure the widget and then then do not fill one of those expression values in the widget UI then the empty expression value will not be used in the final SQL string that is submitted to the server. In version 1.2.0.4 you can now require the expression value to be filled or you will be warned about not filling all required expression values.

Thanks for the quick response.

I am currently using version 1.2.0.3 and I am required to fill all the expression values. I am warned about not filling all the required expression values by the entry boxes turning red.

What I would like to do is be able to execute one query, even though I haven't filled all the other expression values.

Lara

I am warned about not filling all the required expression values by the entry boxes turning red.

But does it prevent you from executing the search?..

It doesn't prevent me from executing the search. It however doesn't return any result. (and the particular query should return a result)

The query is meant to return the following (ArcMap)

Lara,

   Can you look in your browsers web console and see what the SQL statement that is being submitted for this search is?

After creating a buffer, is it possible to leave the buffer graphic on screen when the widget closes so that it can be printed by the print widget?

Is it possible to have it create a buffer graphic without selecting any features if a user just wants to show a buffered area?

Version history
Last update:
‎11-22-2022 07:31 AM
Updated by: