BLOG
|
Today we posted a Beta version of our new WAB based app. This is going to finally replace our ArcIMS app that has been used by thousands of people every day for about 13 years! Many thanks to the developers and resources here on GeoNet. We've incorporated a bunch of the customized widgets listed here including eSearch, eDraw, StreetView and URL tracker. We are probably going to add Tabbed Splash screen and Print+ in a few weeks as well. King County iMap I'll be at the DevSummit next week, hope to met some of you there! - Michael Jenkins
... View more
03-04-2015
11:48 AM
|
3
|
0
|
13672
|
POST
|
I figured out the answer to my own question. The config file name is based on the widget's label so that you can add more than one instance of the same widget. To add a second instance of the same widget, for example the draw widget, you have to give the second one a different name which is its label property. By having the config file named by label, then, the same widget can be used more than once with different configurations. I can imagine wanting to add more than one GeoProcessing widget, for example, with each pointing to a different GP service. This way you don't have to load two entire copies of the widget.
... View more
03-02-2015
05:36 PM
|
2
|
0
|
686
|
POST
|
This is great! Both custom draw widgets are an improvement over the out of the box widget, and combining your efforts is going to make this an awesome draw widget. Someday we will even be able to edit the shapes once they have been drawn, I have no doubt. Kudos! Jeremie Cornet and Larry Stout
... View more
02-27-2015
10:32 AM
|
0
|
0
|
2032
|
POST
|
Robert, Right, the widget folder doesn't change name, just the configuration json file for it. To clarify my question, the default config json file is in the widget folder, but as soon as you start changing the widget configuration, it writes a different json config file into the "configs" folder with a sub folder that has the widget name. That config file name is based on the widget's label. Using the "Coordinate" widget as an example, when you add the widget to your WAB application, there is no corresponding "coordinate" folder under the "configs" folder. (in fact there won't even be a configs folder yet). The widget is looking at the config.json file in the widget's own folder. Now click the edit icon on the widget and change the number of decimal places or add another coordinate system. Save the app and a "configs" folder gets created with a "Coordinate" folder and a file called "config_Coordinate.json". Next, click the edit icon again but this time change the widget's name to something different, like "DevSummitDemo" and the config_Coordinates.json file changes its name to "config_DevSummitDemo". This config file doesn't even contain the label for the widget. That is in the "config.json" in the root folder. When you change the name of the widget it changes the "label" and "config" attributes in that root config.json file, with the "config" attribute containing the path to the file I'm describing above. The same thing happens with other widgets, including eSearch so I guess it is built into the widget template. (Sorry to use the word "config" so many times in one post.)
... View more
02-25-2015
02:11 PM
|
0
|
1
|
686
|
POST
|
I have a question about widgets in the WAB. Why is the config file based on the widget's label instead of its name? If the widget is named "eSearch" and I change the label to something else that I think my users will better understand, like "Search & select", why does the json config file in the configs folder change to match the new label name? It seems to me that the label property should just be used for the text that is displayed to the user while the name attribute would be used by the code to identify the widget. This is not an eSearch question specifically, the out of the box widgets do this too. When this happens, your config file no longer matches the widget's folder name or name attribute.
... View more
02-25-2015
01:22 PM
|
0
|
3
|
4263
|
DOC
|
John, Nice addition! This sounds like the first step in a customization we'd like to do. We are using the WAB to build a web app to replace an existing one that has a long history of taking a parcel number through a very simple URL query string. For example http://www.abc.org/MapApp?parcelnum=0123456789 We've configured the eSearch widget with a parcel query, and it can execute queries based on URL strings if it is open, but we would like to maintain our easy to communicate query string of "parcelnum=0123456789" If do it the eSearch way they if we add another query, the expression number variable could change, an then dozens or more links from other organizations would break. So what I'd like to do is write some code for the WAB app that can take our simple query string that will never change and translate it behind the scenes to the user into a call to the eSearch query. This code you posted will come in very handy to help me get started.
... View more
02-23-2015
01:18 PM
|
0
|
0
|
5977
|
DOC
|
I have two questions for you. 1) Is it possible to get dropdown lists sorted alphabetically? 2) Is it possible to format the results list and popup window? For example, I have configured a search on a city layer and specified "CITYNAME (string) is Unique" as the expression. When I run the eSearch tool, the list of city names appears to be in a random order, even though when I look at the HTTP request that is made to populate the list it is clearly being returned sorted alphabetically. outFields=CITYNAME&orderByFields=CITYNAME (EDIT: Random order is not the right way to describe it. It is more like it is almost in alphabetical order but with occasion random mistakes, like a city that begins with "A" is inserted in between "L" and "M" city names. And upon reloading the site and creating the list again, it may be a different city name that is out of order. It is not consistently the same one in the same wrong position in the list.) When I run the search for the city of "Kent", the results panel shows: Kent : undefined The popup window for the result is then different from the popup widow for that actual map layer. Ideally we could somehow specify for the results tool to use the popup configuration from the webmap. I know the search tool is not using the webmap at all, but it would be nice to have a consistent display of popup windows for the actual map layer and the search results on that map layer. Even if I could just manually configure the result popup window, that would suffice. Thanks! Michael
... View more
01-15-2015
01:38 PM
|
0
|
0
|
7139
|
DOC
|
After you open the attribute table for the search results, select all the records in the attribute table and then the export to CSV option should become available. It would be nice to have a "select all" option to make that easier to do.
... View more
01-05-2015
04:50 PM
|
0
|
0
|
7139
|
DOC
|
I, too, greatly appreciate the work you've done here and that you are sharing this with us. I have downloaded the newest version of the eSearch and have tried it out. One thing that seems to be different from the previous version is that when Add Results as operational layer is chosen, the layer that is added to the operational layers list now seems to just be the layer name, but before it was "Search result: <layer name>". I think it is more clear to the user if the "search results" designation is retained. Thanks!
... View more
12-18-2014
12:03 PM
|
0
|
0
|
34758
|
POST
|
I got it here: https://betacommunity.esri.com/home.html https://betacommunity.esri.com/project/version/default.html?cap=56748504C94543EAA126319325FD2EC4&arttypeid={3338AB49-EA7A-4C47-8C55-3E4B67F53AB4} I may be wrong, but I think it is still considered Beta 3, so if they haven't released it from Beta yet, that might be the only place to get it.
... View more
12-05-2014
08:11 AM
|
0
|
0
|
640
|
POST
|
There are two different things you can download, one is called the webappviewer and the other is the "web Application Builder (Developer's Edition). The webappviewer gets you the unconfigured web application that is produced by the WAB. Because you said you want to develop a custom widget, I'm guessing you are wanting to use the Web Application Builder (WAB) If you want to develop a custom widget for the WAB, then you will want to download the WAB Developer's Edition (Beta 3), unzip it on your local drive and then run the startup.bat file. That will launch Node.JS and then you can run the WAB in your web browser via port 3344. Then you can create an application with the WAB and it will be saved in your local file system and you can look at the code and start developing your own widget. WAB can only be run with Node.JS it seems, but the applications that it creates can be run from any web server that you listed. I have mine running in IIS7. They definitely don't mean ArcGIS Server. That is for hosting services, not applications. Although you could host your app on the same server as AGS, but you would still need to use IIS or Apache. Hope this helps, and good luck!
... View more
12-04-2014
05:03 PM
|
0
|
2
|
640
|
POST
|
Answer found here: Dynamic Mapservice popups fail in webmap when default visibility is off and here: WAB Popup Issue and here: ArcGIS Online map popup fails to load in JSAPI v3.11
... View more
12-04-2014
09:18 AM
|
1
|
0
|
405
|
POST
|
We run our own AGS Services and add them to an ArcGIS Online webmap, configure the popups and other properties and then consume the webmap in a WAB app --- that's the goal anyway. If you add a specific layer from a dynamic map service, it is added to the webmap as a FeatureLayer (in JSAPI speak), so it is essentially a graphics layer with attributes that are displayed when you click a feature. However, if you add an entire dynamic map service to a webmap, then it uses an identify query task on the service when you click on the map. In the ArcGIS Online viewer, as I turn on an off individual layers it affects which popups are displayed (only for visible layers). But when I put that same webmap into a WAB app, the identify task doesn't seem to honor which layers are turned on and off. Is this just me? have a set something up wrong? Here's my example: ArcGIS Web Application When it first opens, two layers are visible and if you click on the map you will get the popup for each. However, turn those two layers off and then click on the map and the popup still displays. And if you turn on other layers, their popups do not begin to display.
... View more
12-03-2014
05:32 PM
|
0
|
1
|
942
|
Title | Kudos | Posted |
---|---|---|
1 | 02-14-2022 03:23 PM | |
1 | 08-28-2024 02:01 PM | |
2 | 08-19-2024 09:34 AM | |
1 | 08-16-2024 01:52 PM | |
1 | 08-14-2024 03:28 PM |
Online Status |
Offline
|
Date Last Visited |
2 weeks ago
|