Roberts Custom WAB Widgets

283134
475
12-31-2014 11:28 AM
RobertScheitlin__GISP
MVP Emeritus
475 Replies
DAVIDDAS1
Occasional Contributor II

Kyle,

You are correct.

There was a problem with Google Chrome Version 51.0.2704.63m (64-bit). This version had issues with the ArcGIS API for JavaScript. This was the cause of your issues with the Web AppBuilder.

However, with Google Chrome Version 51.0.2704.79m (64-bit) this issue has been resolved.

We are all good!

0 Kudos
TimHayes1
Occasional Contributor III

For your eSearch Widget 2.0.1.4, is there a way to have the search results window not cover up the feature that was searched for? Example, I search for a meter and the results window opens covering up the meter the user needs to see.

The initial results displayed here:

2016-06-02_7-52-22.jpg

Then I click inside the grey box where the red X is located and get this:

2016-06-02_7-59-15.jpg

This is after I moved the Enhanced Search Box. Is there a way to change the default behavior so the Enhanced Search Box does not cover up the feature that was searched for?

2016-06-02_7-53-24.jpg

Also, is there a way to get the Layer Name to display inside the gray box where the red X is?

2016-06-02_7-53-25.jpg

The eSearch Widget works great, but I am thinking from the end user standpoint where the less clicks the better.

0 Kudos
DAVIDDAS1
Occasional Contributor II

Tim,

The solution to the first part of your problem is to use Robert's Popup Panel Widget.

Once opened, all the results from the Enhanced Search Widget and Identify Widget will be shunted to the Popup Panel, thereby preventing the selected graphics from being obstructed.

For the second part, you can add an attribute to your data layer that shows the layer name. Then you can configure this field to show up as the Title in the Results Pane and Popup Window.

TimHayes1
Occasional Contributor III

Tapas,

The second part I got it with your help. Thanks.

For the first part, I did what you suggested and the Enhanced Search Window still blocks the selected feature. I add the Robert's Pop Up Widget to the Header Widget Bar. Before I used the eSearch I opened the Pop Up. Here is what I see:

2016-06-02_22-31-35.jpg

0 Kudos
NasirYilmaz
New Contributor II

Robert,

Thank you for updates and all of your widgets

Im using identify and share widgets

How to upgrade widgets to latest version and keep old settings ?

Thank you

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Nasir,

As the widgets configs are stored in a separate folder the the widget itself all you need to do is overwrite the widgets folder.

0 Kudos
DAVIDDAS1
Occasional Contributor II

Hi Tim,

I am glad you got the 2nd part solved!

To solve the 1st part, let's try a simple example.

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

This is using Enhanced Search Widget 2.0.1.4, and Popup Panel Widget 2.0.1 within the Foldable Template of WAB 2.0

p01.jpg

Open the By Shape Tab.

Engage the Rectangle Tool.

Lasso a School represented by a green circle.

p02.jpg

Click on the result.

The popup window opens right next to the selected School.

p03.jpg

Zoom to the selected School

Change the Basemap to Imagery.

The popup is obstructing the view.

This is a problem!

p04.jpg

The solution is to open the Popup Panel Widget.

p05.jpg

Notice how the Popup information immediately shows up in the Popup Panel.

p08.jpg

To get a better view of the School, first disengage any active drawing tools under the By Shape Tab.

p07.jpg

Now you will be able to pan around the map.

Drag the map so you can see the entire School.

Move the Enhanced Search Widget out of the way by dragging the header to get a better view of the School.

p08.jpg

This is how it works for point features.

Next, try selecting a polygon feature.

Open the By Value Tab.

Set Search Layer = ZIP Codes

Accept the default ZIPCODE = 85007

Press Search

p09.jpg

Click on the Result

p10.jpg

The attributes are displayed inside the Popup Panel.

This comes very handy when you need to display a long list of attributes.

The graphic is not obstructed.

p11.jpg

Notice, you cannot move the Popup Panel in this configuration.

To get more flexibility, use the Launchpad Theme.

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

In this theme you can freely move and resize the widgets.

I am selecting a City - a Polygon feature.

The long list of attributes are displayed in the Popup Panel.

You get an unobstructed view of the City boundary.

p12.jpg

JaromHlebasko
Occasional Contributor III

Robert,

I have been following you for a while and appreciate all the hard work you put into all of these enhanced widgets. I was wondering if you might consider in the development of a widget that will enable disconnected editing in a browser environment on a mobile device Using ArcGIS for Server feature services? I would imagine there would need to be new libraries created and some hard work but I would almost pay someone to help develop it for my team.

I'm aware of the capabilities of Collector for ArcGIS and have used it in a disconnected environment. However, I am wanting those same capabilities in a browser environment.

Thanks,

Jarom

0 Kudos
MichaelUrciuoli
New Contributor II

Hello Robert,

I had a couple questions and hoping you could help out if you get the time. I'm using your latest enhanced search widget. I have my date field using the "Short Day Long Time" format and I have "Use UTC" unchecked. However, when results come back, the date is correct but the time is always 4 hours earlier than it should be.

Below are screenshots for this. The 1st one shows you the 2 dates in the raw SQL format. Below that are the results for those same 2 records. You can see for both results, the time is 4 hours earlier than the correct times in the SQL table. This tells me that the esearch widget is trying to use UTC.

Is this a known bug or is there a workaround that you know of so that I can show the correct times and not use UTC?

Additionally, in the 4th screenshot below, the date format in the attribute table does not match the format of the dates in the results window (2nd screenshot). It's only showing the date & not the time. Do you know how I can configure the attribute table to show the date/time in the same format as the results format?

Thank you in advance,

Mike

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Michael,

  It is ArcGIS Server that returns all dates in UTC. Do you not get the proper date when you check use UTC? The AT widget does not have anything for field formatting to show time.

0 Kudos