Enhanced Search Widget Version 2.23.1 - 11/22/22

688255
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
AmyKnight
Occasional Contributor

Thank you Robert!  All this work you do is amazing. I am excited to work with Version 1.2 next week.

SebastianRoberts
Frequent Contributor

Hi Robert,

Quick work!  I'm wondering if you tested the "show in attribute table widget" with the zoning or SF 311 data?  I noticed you don't have the option checked on in your sample site for those two layers.  When I try to enable those two layers to show results in attribute table in a test application I don't get any results in the attribute table.  I do get the results to show for the camera data just as in your sample site.

Thanks,

Sebastian

RobertScheitlin__GISP
MVP Emeritus

Sebastian,

   I just tested both and they work fine. You might have hit those sample servers when they were having a hiccup (they do that some times, sample server 3 more often than others).

SebastianRoberts
Frequent Contributor

I get results in the results list, but can't get results for those two services to show up in the attribute table in my deployment of your widget.  You don't have the results going to the attribute table for the zoning and 311 data in your live sample, that's why I was asking. But if you are able to see them in the attribute table, I'll try debugging my test deployment to see what is going on.

thanks again,

Sebastian

SebastianRoberts
Frequent Contributor

Robert,

  I just figured out why I wasn't getting results I expected.  It looks like you need to have the "add result as operational layer" box checked as well if you want results to show in the attribute table.  The results are added to the attribute table if the following condition is true:

if (layerConfig.shareResult && layerConfig.addToAttrib) {      //in widget.js

RobertScheitlin__GISP
MVP Emeritus

Sebastian,

   In the previous versions you would be presented with a warning message about need to have both options selected when using the widgets configuration UI. I see that this logic is not working in 1.2 version. I will get this fixed for the next release.

DAVIDDAS1
Frequent Contributor

Hi Robert,

You have once again done an absolutely amazing job with version 1.2 of your Enhanced Search Widget. The integration with the Attribute Table now works like a dream.

Moxie and his team did a complete overhaul of the Attribute Table in version 1.2 of the Web AppBuilder. It is now rock solid. The original issue with the spinning busy cursor and erratic load times have been fully addressed in this release.

This makes it a joy to use your Enhanced Search Widget in WAB 1.2

I tested your Widget on six different themes.

Foldable Theme:

http://www.tapasdas.com/Maps/Phones/app41

pic01.jpg

I like how the Attribute Table now opens up and populates the selected records immediately. There is no lag.

The foldable theme is ideal for viewing on Tablets and Smartphones. The GUI collapses gracefully as you reduce the size of the window.

I came across one minor issue.

I want to display a numeric field with 0 decimal places.

However, in the results pane and popup it shows up with 2 decimal places.

pic10.jpg

When I attempt to edit the Field Format, I see that the Precision option is grayed out.

It is setting a default precision of 2 decimals places that I cannot change from the GUI.

pic11.jpg

These are the map services I am using.

Schools:

http://gis.maricopa.gov/arcgis/rest/services/WAB/Schools/MapServer/0

Zipcodes:

http://gis.maricopa.gov/arcgis/rest/services/WAB/Zipcodes/MapServer/0

Places:

http://gis.maricopa.gov/arcgis/rest/services/WAB/Places/MapServer/0

County:

http://gis.maricopa.gov/arcgis/rest/services/WAB/County/MapServer/0

Here is the ZIP file of this Web App which you can import in WAB 1.2 to test this behavior right away.

http://www.tapasdas.com/Maps/Phones/app41.zip

Launchpad Theme:

http://www.tapasdas.com/Maps/Phones/app42

pic02.jpg

The Launchpad Theme is ideal for Laptops & Desktops. It allows you to have multiple widgets open at the same time. You can resize and move the widgets. You can minimize the open widgets to reduce screen clutter.

It only takes one click of a mouse to convert the Foldable Theme to the Launchpad Theme. We will be publishing both versions, one optimized for Smartphones, and the other optimized for the Desktop.

The Launchpad Theme gets closest to mimicking the Flex apps.

However, I found a minor issue with the Launchpad Theme. I expected the Attribute Table to open the moment I got back the Search Results. It did not open automatically.

As a workaround, I had to open the Layer List Widget and select Open Attribute Table.

pic03.jpg

Then the Attribute Table showed up. This behavior is peculiar to just this theme.

It works fine on the other themes.

pic04.jpg

Dart Theme:

http://www.tapasdas.com/Maps/Phones/app43

pic05.jpg

The Enhanced Search Widget GUI looks very stylish in the Dart Theme.

However the Results Pane can be hard to read. This theme would need some CSS tweaks.

pic06.jpg

Tab Theme:

http://www.tapasdas.com/Maps/Phones/app44

The Tab Label "By Attribute" is too long. It does not fit.

I would be replacing this with "By Text" or "By Data" in the \widgets\eSearch\nls\strings.js file.

pic07.jpg

Box Theme:

http://www.tapasdas.com/Maps/Phones/app45

pic08.jpg

I like how the Enhanced Search GUI is simplified when there is just 1 search expression. This gives it a cleaner look.

Jewelry Box Theme:

http://www.tapasdas.com/Maps/Phones/app46

pic09.jpg

Everything is working beautifully. You have made a solid release in record breaking time!

Thanks a million!!

RobertScheitlin__GISP
MVP Emeritus

Tapas,

   All issue addressed in version 1.2.0.1.

DAVIDDAS1
Frequent Contributor

Hi Robert,

You are faster than the wind!

You have set the benchmark of how ideal software development should be.

I have no clue how you are able to get so much work done on creating these custom widgets when you have a full time work load as the GIS Manager.

We are so grateful for all your contributions!

Tapas

Sent from my iPad

glennhazelton
Deactivated User

thanks from me too Robert, all is working well.

i have a related question.

there are grey transparent placeholders for the widgets. is there an easy way in the config files to change the transparency of these and perhaps the color. i am finding it hard to see the esearch and other icons when the basemap is an image. this goes for the "+" and home buttons as well. i tryed changing the colors fo the icons but they are pretty small.

2015-08-24_133302.png

RobertScheitlin__GISP
MVP Emeritus

Glenn,

  See this thread. Widget Icon Color/Alpha

LeiZhou1
Regular Contributor

Hi, Robert,

Thanks a lot for your hard work! It works great!

I just have one similar thing about attribute table like TAPDS DAYS in his post for Launchpad Theme.  We also use Launchpad Theme, and when I checked both result option as below “Add Result as Operational Layer” and “Show Attribute Table Widget”,

The attribute table did pop up automatically, but the attribute window is empty (as below): 

If I uncheck the "Add Result as Operational Layer” and run it, then open the Layer List Widget and select Open Attribute Table, everything is fine.  Is there any method I can adjust this to have a pop up automatically after searching with all the results inside?  Thanks!

DavidColey
MVP Regular Contributor

Hi Robert-

In the current build, are others experiencing any issues with related records not displaying in the Attribute Table after clicking show related either in the popup or from the attribute table results?

Thanks-

David

RobertScheitlin__GISP
MVP Emeritus

Lei,

  I am not seeing this when I test version 1.2.0.1.

LindseyStone
Frequent Contributor

Has anyone came across an issue with the image not showing on point searches?  The default image for a point search is binoculars and when you do a search an image of the binoculars shows on the map at each result and on the results pane list.   When I do a search instead of the binoculars image I get an image placeholder image both on the search results pane and on the map.

RobertScheitlin__GISP
MVP Emeritus

Lindsey,

   Thanks for reporting this. There seems to be an issue resolving the full url for the image. It can easily be fixed by opening the config_Enhanced Search.json and scrolling to the bottom and finding the symbols/picturemarkersymbol and removing the forward slash in front of the  "/widgets/eSearch/images/i_search.png" (i.e. "widgets/eSearch/images/i_search.png").

LeiZhou1
Regular Contributor

Here is the message from my Chrome when I run.  The Attribute table just can not pop up; or I open the attribute table, and then search, the attribute table does not contain any information.  Thanks!

glennhazelton
Deactivated User

i am by far not an expert on this sort of thing but i have spend much time on the phone with esri tech support regarding these sort of blocked items.

nothing was every really solved.

what i did find is that if i use IE for the wab-dev builder i get further.

it also seem that on the server where i have the wab installed if i try to use chrome or firefox the map never draws and i see lines like you are showing.

however if i try the same url  on a different pc (my desktop instead of the server) then it works just fine.

all tech support could figure out was that there was some configuration on the server that was odd.

RobertScheitlin__GISP
MVP Emeritus

Glenn,

   My recommendation is that WABdev not be installed on the server. The way I look at WABdev is that it is a tool that is deployed on a workstation (with a web server installed like IIS) to develop a web app and then once the web app is ready then you download and deploy the downloaded app to your web server. Following this practice I have no issue running WABdev from all the browsers (IE, Chrome, FF).

RobertScheitlin__GISP
MVP Emeritus

Lei,

   Those errors you are showing as normal CORs error that you and me and everyone else will get because sampleserver1 and sampleserver3 are not CORs enabled. Nothing in the console window that you are showing gives any indication why the Attribute Table widget is not displaying.

LeiZhou1
Regular Contributor

Yes, you are right. These errors are not the reasons.  I will reset the whole thing and reinstall it in a new folder and test it.  Thanks!

DAVIDDAS1
Frequent Contributor

Hi Robert,

Thanks a million for upgrading all your Custom Widgets so promptly to make them work with Web AppBuilder Developer Edition 1.2.

You are a one man army and you have set an example of how a customer driven software development should happen.  You have fixed every issue that I brought up.

I have no idea how you could achieve such fast turnaround times.

I created six new web apps using the latest versions of your Custom Widgets:

  • Enhanced Search Widget 1.2.0.1
  • Identify Widget 1.2
  • Google Street View Widget 1.2
  • Enhanced Basemap Gallery Beta 1.1

Foldable Theme

http://www.tapasdas.com/Maps/Phones/app47

I like how your UI controls matches the style color that is picked.

p01.jpg

The shorter "By Value" label is a clever substitution for "By Attribute" which gives it more breathing room.

p02.jpg

I can now format numbers with zero decimal places.

p03.jpg

Attribute Tables get populated without any delay. This is one of the best enhancements in WAB 1.2.

p04.jpg

Your Identify Widget 1.2 works very well in WAB 1.2.

However, it seems the Identify is taking a wee bit too long. Maybe this is my imagination.

I am identifying the Schools layer using the Extent Tool.

p05.jpg

I am getting this busy gif for a long time.

It was much faster in version 1.1.2

p06.jpg

Eventually, the results do show up.

p07.jpg

All hyperlinks work as expected.

p08.jpg

I can Edit the Default Identify Symbology and select my Polygon Symbol.

p09.jpg

However, when I select my Point Marker Symbol, it reverts back to the default blue dot.

p10.jpg

So, when I run an Identify, I get a tiny blue dot. It is hard to differentiate this from the green symbols I already have on the map. I was expecting to see a large yellow donut.

p11.jpg

Google Street View 1.2 works very well.

p12.jpg

I like how you can open this window on a second monitor.

p13.jpg

Launchpad Theme

http://www.tapasdas.com/Maps/Phones/app48

p14.jpg

I like how the Attribute Table opens the moment I run a search. You have fixed this issue.

p15.jpg

We will be using this theme on Desktops. I like how you can open multiple widgets, resize them, reposition them, and minimize them.

p16.jpg

Dart Theme

http://www.tapasdas.com/Maps/Phones/app49

p17.jpg

All the results are now readable. You have fixed this issue with the eSearch Widget 1.2.0.1 in this theme.

p18.jpg

However, some results are hard to read in your Identify Widget 1.2.

p19.jpg

Also, there are no visual clues to tell which tool is active. They all have the same gray shade.

p20.jpg

It would be ideal if the active tool has a background color that matches the style color. This would really make it stand out.

It would be nice to have this color match happen on both your eSearch and Identify Widgets.

p21.jpg

Tab Theme

http://www.tapasdas.com/Maps/Phones/app50

p22.jpg

Can you please provide a way to remove the Export Search URL button from the Results Pane? This will give it a cleaner look for cases where the user will not be using this function.

p23.jpg

Box Theme

http://www.tapasdas.com/Maps/Phones/app51

p24.jpg

It would be nice if the background color of the active tool matches the style color.

p25.jpg

Jewelry Box Theme

http://www.tapasdas.com/Maps/Phones/app52

p26.jpg

When I click on a Tool in the Identify Widget, I expect the background to turn gray.

It does not. So the user has no feedback to tell which tool is currently active.

p27.jpg

I like how in your Identify Widget when you hover your mouse over a result, the corresponding feature is highlighted with a blue border. This makes it very easy to identify the feature from the results.

p28.jpg

However, would it be possible to use a light cyan color to make it stand out even more?

Perhaps something like this.

p29.jpg

Robert you have done an amazing job with your Custom Widgets for the Web AppBuilder. It is a miracle the way you are porting your Custom Widgets for the Flex API to the JavaScript platform and giving us constant updates with every new release from ESRI.

We would be designing all our web apps leveraging your Custom Widgets!

glennhazelton
Deactivated User

i too am having trouble getting the Point symbol to stick on what i set it to.

glennhazelton
Deactivated User

i have question on date and date ranges.

i am working with oracle data so the dates are strange.

what format should i set the dates to in the webmap that is being used by the wab?

i have tryed a couple and i get a failure when i search, not just a 'no data found' but a 'search failure!' message in a big white box.

i will keep experimenting to see if it does it with other data layers.

this one is extra odd as it is an XY event.. maybe that is the issue...

ideas, thoughts...??

i have been doing a bit more digging on this.

the default query tool will do a date range without a problem on the same mapservice layer.

so i am guessing there is something amiss.

RobertScheitlin__GISP
MVP Emeritus

Glenn,

  This is a known issue I have with 1.2 update and will be addressed in Version 1.2.0.2.

As far as the oracle dates thing I don't use Oracle so I am not much help there.

RobertScheitlin__GISP
MVP Emeritus

Tapas,

   Great feed back I will take everything in consideration.

glennhazelton
Deactivated User

i figured you already knew.

dates are so messy, i wish you luck and clear thinking

DavidColey
MVP Regular Contributor

Hi Robert-

Is anyone reporting any issues with the display of coded value domain descriptions as returned in the eSearch when the search layer url is pulling from an endpoint that contains subtypes?  I have a simple habitat-type layer that returns codes only in both the results dgid and popup.  Is there any other configuration steps I can take to enable attribute values to display the domain descriptions when the seach layer has subtypes?

Thanks-

David

RobertScheitlin__GISP
MVP Emeritus

David,

   Are you talking about using the latest 1.2.0.1 version and the widget results are the only thing that is not displaying correctly?

MassimoBisogno
Deactivated User

Hello Robert,

I have a request for you. Should I make a search like this: Select the street name from the layer of the roads and then populate the range of house numbers with only the civic of the roads selected. In summary, the option Unique of the search on Civic should be affected by the road code selected in the previous step of the search. Do you have any suggestions? Thanks a lot

DavidColey
MVP Regular Contributor

Robert: yes I believe so.  Version 1.2.0.1 dated 8/24/15.  Yes, the widget results and widget popup do not display the descriptions, just the code. For this particular layer, the subtypes do begin at 0 - could that be causing an isssue?

Here is the rest endpoint if you have time to take a look . . .

Layer: ScrubJ ay Habitat (ID: 3)

David

DavidColey
MVP Regular Contributor

Robert -  In testing with another layer containing subtypes 1-n (ie no 0 value) I am finding that the results panel and popup both display coded value descriptions.  However, the subtype value is displayed as it's integer value and not its description in both panel and popup...

David

RobertScheitlin__GISP
MVP Emeritus

David,

   Thanks for reporting the issue it is a simple issue in the code evaluating a  0 as false and thus not continuing in the code block. I will have this fixed in the 1.2.0.2 release.

RobertScheitlin__GISP
MVP Emeritus

Massimo,

   I am not sure how to handle this workflow. I will have to think about it.

DavidColey
MVP Regular Contributor

Sure Robert, thanks

glennhazelton
Deactivated User

one more little graphic thing if it is not too hard ..

the 'hint'  under the box where you put the value for the search is really hard to read as it is very grayed out.

would it be possible to make this darker? in the image below it says 'Pick a Town'.

2015-09-02_135333.png

MassimoBisogno
Deactivated User

hello Robert,

I can get sorted search results, based on a field, as for the widget Query?

Thank you

RobertScheitlin__GISP
MVP Emeritus

All,

   There is a new version available now that addresses all the latest issues people have brought up here.

RobertScheitlin__GISP
MVP Emeritus

Massimo,

   I will add it to the enhancement list for the next release.

DAVIDDAS1
Frequent Contributor

Hi Robert,

Thanks so much for releasing your new version 1.2.0.2 so quickly with all the enhancements!

I will test them out this weekend.

glennhazelton
Deactivated User

Hi robert

i just swapped the esearch in the client\... \widgets folder

launched the wab and duplicated my map

i then opened it and made an edit in the esearch widget.

seems to work fine but i am not seeing any difference in the 'hint' text transparancy.

and date queries are not working.

do i need to do something else to get your new changes to take effect?

RobertScheitlin__GISP
MVP Emeritus

Glenn,

   The hint text is several shades darker and I think you misinterpreted one of my previous posts to mean that there was an issue with date searches. I and several others have date searches working fine. I don't use Oracle and thus have no way to help you there. You can check the web console and see the exact SQL that is being submitted to your web service. maybe that will give you a clue.

glennhazelton
Deactivated User

ok

thanks

if i figure out the date thing i

'll let you know.

i appreciate you taking the time to respond.

have a good day.

RobertScheitlin__GISP
MVP Emeritus

Glenn,

   If the hint is not dark enough for you then you can adjust it in the CSS. In the eSearch widgets style.css change the color:

.widget-esearch-single-parameter .hint {

  font-style: italic;

  font-size: 12px;

  color: #8996a0;

  margin-top: 5px;

}

NathanielRoth1
Occasional Contributor

HI David, Robert,

I am experiencing this too. I'm using the new version of eSearch released on 9/3/2015 with WAB 1.2.

I can go back to my older version of eSearch with WAB 1.1 and it works correctly. It continues to work if I update WAB 1.1 with the new version of eSearch.

Any thoughts? Changes in the way that WAB deals with tables related to a newly added operational layer?

Robert Scheitlin

RobertScheitlin__GISP
MVP Emeritus

Nathaniel,

   So you are saying that you are still experiencing this?

Is anyone reporting any issues with the display of coded value domain descriptions as returned in the eSearch when the search layer url is pulling from an endpoint that contains subtypes?

NathanielRoth1
Occasional Contributor

Yes, but I'm not convinced that it's eSearch's fault because I can toss the new version of eSearch into WAB 1.1, and it works as expected. It seems as if it's a WAB 1.2 change, though other methods of selecting records and pulling related records still works as before.

RobertScheitlin__GISP
MVP Emeritus

Nathaniel,

   Do you have a public service I can test against? I used Davids service and it tests fine in 1.2.0.2.

NathanielRoth1
Occasional Contributor
RobertScheitlin__GISP
MVP Emeritus

Nataniel,

   I don't think we are talking about the same thing. There is not a single layer in that map service that uses type id. Can you explain in detail what issue you are experiencing?

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