Roberts Custom WAB Widgets

295484
475
12-31-2014 11:28 AM
RobertScheitlin__GISP
MVP Emeritus
475 Replies
RobertScheitlin__GISP
MVP Emeritus

Satish,

     You would have to re-code some to remove WAB dependencies from it, but you should be able to.

0 Kudos
NatashaManzuiga
Regular Contributor

Hi Robert, I just started to create a new widget.

This widget has a simple text box...

Is there a way to communicate with eSearch widget and pass parameters to make a search?

Thanks,

Naty

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Naty,

   Sure you just need to get a reference to the eSearch widget using WidgetManager and then call the _queryFromURL function.

_queryFromURL("your search term", 0, 0, false);

  1. is the search term
  2. the eSearch layer number
  3. the eSearch expression number
  4. close the widget after searching
0 Kudos
NatashaManzuiga
Regular Contributor

It perfectly works Robert.

Thanks.

I did a search on a polygon layer.

Why the map shows me (for the selected feature) the symbology of the layer and it hide me the Label?

Is there a way to customize the symbology for queried (selected features) with a yellow (almost trasparent) symbol?

and then is it possible to add show popupinfo right after I execute _queryFromURL?

Thanks again

Naty

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Naty,

Why the map shows me (for the selected feature) the symbology of the layer and it hide me the Label?

Labels have never been supported in eSearch as the search results are displayed using a FeatureLayer

Is there a way to customize the symbology for queried (selected features) with a yellow (almost trasparent) symbol?

Sure you can choose your search results symbology using the widget configuration UI using "from Server", "from Defaults", "from Layer"

is it possible to add show popupinfo right after I execute _queryFromURL

There is not a mechanism in place for this right now, as a search could result in one or more features

0 Kudos
NatashaManzuiga
Regular Contributor

it works like a charm

0 Kudos
Shauna-RaeBrown
Frequent Contributor

Robert, I miss the Lat/Long coordinates for a point that you had in the eDraw widget that was in the flex version.  Will you be bringing that back to your eDraw widget?  By the way, I'm a big fan of your widgets.  Thank you for all of your hard work from the bottom of my heart.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Shauna-Rae,

   There are two draw widgets out there by other developers already so I have not wanted to add another to the list.

eDraw widget

Enhanced Draw Widget

There is also this widget which ma be more of what you are looking for:

Location Widget

Shauna-RaeBrown
Frequent Contributor

Robert,

Sorry for the slow response.  Thank you for all of your help and hard work.

Shauna-Rae

0 Kudos
by Anonymous User
Not applicable

Jeremie Cornet's eDraw is awesome. It measures, can save drawings, it is the boss. Our users love it. We also use Tom Sellsted​ 's Measure Measure Widget 1.3.0 for Web App Builder  which is sweet because it updates measurements on the fly as you draw. Neither can measure lat/long for a Point though... We'd also love it if one or both can do that in the future.  

Jeremie ​& Tom Sellsted​.... any plans for Lat/Long measurement on Point? Thanks again, I can't recommend these two widgets enough. This is the only feature I can think of to add to either.

Then we can get hide ESRI's coordinate widget. It's ok, it works, but it's always nice having everything in one spot. Easier for user training.

0 Kudos