|
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
|
729
|
|
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
|
1266
|
|
DOC
|
I assume it is just something about our organization. We've had problems using ArcGIS Online with IE in the past when accessed from our work network but not when accessed from other (public) networks. Thanks!
... View more
12-03-2014
09:24 AM
|
0
|
0
|
44676
|
|
DOC
|
This is really great, Robert, thanks! I appreciate the live demo site that you've added, but it is not working for me in IE10. It works fine in Chrome. I'm having the same issue with my own locally hosted copies of WAB applications, but I can use WAB created apps in IE10 when they are hosted on ArcGIS.com <edited> I wrote a comment that you should include the Query tools 'add as operational layer' option because when I looked at your sample site it did not show that option, but I have downloaded the widget and now realize that option is there, but it is configured when you create the query, not when you execute it. I think that's great! One less thing for the user to have to think about. </edited> Your addition of multi-part graphics to the search is awesome!
... View more
12-02-2014
02:49 PM
|
0
|
0
|
44676
|
|
POST
|
From I've been able to understand about NodeJS, the WAB is probably using it because of all of the file writing it has to do. It must me easier or somehow more efficient for them to use nodeJS rather than figuring out and documenting all the web server settings they would need on apache or IIS. As for hosting the resulting App on IIs, I have tried this and it works in Chrome and FF but not in IE10 on my machine. For some reason the URL paths to jsapi files is messed up. If When I figure this out, I will post a message here in case anyone else has the same problem. I think it is strange that it works in Chrome but not IE.
... View more
11-25-2014
02:28 PM
|
0
|
1
|
953
|
|
POST
|
Pretty basic question, but I've been able to get the WAB Developer Edition to run locally on my machine, but I find the NODE.js web server it uses to be pretty slow and cumbersome. Can we just use IIS as the server instead? And a related question, once we create an app with the WAB and save it, we have a JavaScript web application in the "app" folder. Can I then move that web app out of the WAB file structure and place it in IIS for users to access?
... View more
11-25-2014
12:11 PM
|
0
|
3
|
1483
|
|
POST
|
OK, that was it. I was calling that method directly as the callback function of query.execute, but I understand now why that would make this.map our of context to the called function. Using lang.hitch instead fixed it. I found a pretty good page that describes JavaScript variable scope and the times to use lang.hitch here: Making Functions with hitch and partial - The Dojo Toolkit
... View more
11-21-2014
12:53 PM
|
0
|
1
|
756
|
|
POST
|
Nope, _displayCity is not called until the user has selected from the dropdown list, which is not only well after startup, it is called right after _zoomToCity which access the map properly. In my console screenshot above you can see the order. Whenever it shows [object object] then it is the map object. when it hits _displayCity it changes to a DIV called map.
... View more
11-21-2014
11:11 AM
|
0
|
3
|
756
|
|
POST
|
I know, it is strange. I can get this.map to be the esri map object in all of my methods except the one that actually will use it. I must have a syntax error or something. I will keep digging until I find it.
... View more
11-21-2014
10:57 AM
|
0
|
5
|
2685
|
|
POST
|
I have a related follow-up question. Do I need to do anything special or include something that I haven't in order to access the map object? Similar to my OP, when I reference this.map I am getting the HTML element with id="map", not the esri map object.
... View more
11-20-2014
04:49 PM
|
0
|
7
|
2685
|
|
POST
|
I found that in in the WAB documentation, so kudos to Esri for putting that in there and thanks again Robert for helping me out. Define the template—Web AppBuilder for ArcGIS (Beta) | ArcGIS
... View more
11-20-2014
03:00 PM
|
0
|
0
|
2685
|
|
POST
|
Great! It helped me gain some basic understanding of the process and it is essentially a "Hello World" example.
... View more
11-20-2014
09:27 AM
|
0
|
0
|
1821
|
|
POST
|
That was it, thanks a lot! For anyone else reading this, the CustomTemplateWidget provided with the WAB doesn't include that line, and it seems to me it probably should. Robert, would you say that _WidgetsInTemplateMixin will always be needed in that return statement when building custom widgets?
... View more
11-20-2014
09:25 AM
|
0
|
2
|
2685
|
|
POST
|
I am trying to make my first custom widget for the WAB 3 (developer's edition). I started with the CustomWidgetTemplate, moved it to the appropriate folder and I can now see it in my app. It is a simple in panel widget with some text. So far so good. Next I want to add a Select dijit and populate it with a list of city names. I examined the DRAW widget because it uses some select dijits. I followed the HTMl and JavaScript patterns from the DRAW widget to add my Select dijit, but when I run the widget in the app, it shows as a regular HTML select and I can't treat it like a dijit. I think I have all the necessary Dojo requires. What am I missing? My widget's HTML <div data-dojo-attach-point="selectCity" style="display:block;height:30px;margin-bottom:7px;"> <div style="float:left;height:30px;;line-height:30px;padding-left:17px;">Select City</div> <select data-dojo-attach-point="citySelect" data-dojo-type="dijit/form/Select" style="float:right;width:50%;height:30px;"></select> </div> My JavaScript. In this code, I get an error if I uncomment the 'citySelect.addOption' line because it says this.citySelect is undefined. If I access this.citySelect from the console, it shows as an HTML select, not a dijit.
... View more
11-19-2014
04:11 PM
|
0
|
14
|
6702
|
|
POST
|
Have you watched this one yet? Customizing and Extending Web AppBuilder for ArcGIS | Esri Video
... View more
11-19-2014
03:50 PM
|
3
|
4
|
1821
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-17-2023 03:38 PM | |
| 1 | 10-15-2025 09:48 AM | |
| 1 | 10-15-2025 10:49 AM | |
| 3 | 08-19-2025 01:27 PM | |
| 1 | 06-03-2025 12:57 PM |
| Online Status |
Online
|
| Date Last Visited |
11 hours ago
|