POST
|
Hi Robert, Yes, I have created a JS API version with sample data and my own and it works as expected. This is why I find the WAB difficulties particularly confusing.
... View more
02-17-2015
12:55 AM
|
0
|
1
|
744
|
POST
|
I had a thought. I have noticed that I get similar behaviour from a popup opening and closing when I click on the map where there is no data, except that the popup message says "No information available". Could there be a setting that closes non-map layer data popups quickly in that manner?
... View more
02-16-2015
05:44 AM
|
0
|
3
|
744
|
POST
|
Hi Robert, I had a go with the setInfoWindowOnClick, but no luck. Interestingly, I set the boolean value to false just to test that it was working, but there was no change in behaviour. The popup still opened for 1 second and then closed. I should just be able to place the setInfoWindowOnClick call anywhere inside the widget.js file right? I am not sure why I was unable to turn off the onlick. Thanks for your help as always.
... View more
02-16-2015
01:24 AM
|
0
|
4
|
744
|
POST
|
Hello, I am currently using the ClusterLayer.js file to create clustered points as in the example here. I am very happy with the results within a the JavaScript Api, but I am now trying to use it within a custom widget in the Web AppBuilder. It works almost perfectly except for one problem, the popup window closes on its own within about a second of opening it. I can't find any errors and have done everything I can think of to single out the issue with no luck. Has anyone experienced something similar before? I was thinking that potentially there was an issue with between the infowindow popup and the PopupTemplate that is used in the demo, but I tried using the InfoWindow popup instead, but that didn't fix it either. I have posted my code for the widget.js file here, however, I am currently unable to post a link because the firewall set-up that we have in our company. Thanks, Nat
... View more
02-13-2015
07:59 AM
|
0
|
11
|
5390
|
POST
|
I was wondering if anyone else is having a problem with the Layer List widget in both the Out of the box version and Web AppBuilder developer version. When I turn sublayers on and off within the LayerList widget, the graphics act correctly, but the click event does not work correctly, layers that have been turned off get selected and I cannot select layers that are newly turned on. See images below: This image shows the top layer being added and selected correctly because it was turned on when the map loaded. This image shows that the Global Biodiversity Areas layer is still being selected, even though it has been turned off. And the new Key Biodiversity Areas layers are not being selected even though they have been turned on. Note: These errors do not occur within ArcGIS Online or Portal in the web map. The popups have been correctly configured and saved in the webmap. This error seems to appear in all of our map services regardless of the specific layer.
... View more
02-12-2015
01:21 AM
|
0
|
5
|
4634
|
POST
|
Hi River, I know this doesn't totally answer your question, but what I have done is added JQuerythrough the init.js page under resources "resources = resources.concat([" - you can then point to a local file or to the external link for JQuery. The reason that I do it this way instead of in the widget is because I end up using JQueryin a few of my widgets in the same application and therefor don't want to add it in individually each time. As far as where to insert the code inside of widget.js, inside the "startup: function (){" works fine for me. Yes, you are able to insert the popupdiv and the btnShowModalDialog button inside of Widget.html. -Nat
... View more
02-10-2015
02:34 AM
|
0
|
1
|
831
|
POST
|
Hi Robert, Thanks for that, very helpful. Using your advice, what I ended up doing was using the publishData function, so "this.publishData" within my widget (widget_a) and then within the BaseWidget.js file, in _onReceiveData function, I have an if then statement to target the correct widget by name (this.name - widget_b), change a property in widget_b, then run the startup function in widget_b (this.startup()), which looks at the changed property and fires off the correct function. I am sure this is not the most elegant way of doing it, but I couldn't figure out how to trigger a function simply from the listenWidgetsId property change value. I am open to a better solution than this, but in the time being this method might help someone with the same issue. Thanks, Nat
... View more
01-15-2015
02:49 AM
|
1
|
0
|
1142
|
POST
|
Hello, Does anyone know how to call a function from a seperate widget? I have created a simple search tool, which will run a query, and return graphic results on the map. But I also want these results to display in a different custom table app. I can pass the results to the infowindow features: this.map.infoWindow.setFeatures(features); which is fine, but I have no way telling the table app to now display the results. The best way I can think of is using some arbitrary map event listener (see here). Something like 'update-end' and have that listener registered in my table app. But obviously, the best way would be to simply call the function. There are also the publishData and fetchData methods which are very briefly described here 'Communitcation between widgets', but I am not sure how I am supposed to use them. Anyone had this issue before? thanks, Nat
... View more
01-13-2015
01:40 AM
|
0
|
4
|
7053
|
POST
|
Hi Steve, If I am not mistaken, web map settings like layers being turned on or off and extent of the map can only be saved in the web map (arcgis online/ portal). Where when you save using Web AppBuilder, you are saving the widgets that will be used, the theme, colors, logos, yadda yadda. So therefore, saves inside of Web AppBuilder will not affect layer visiblity when running the application in the future. At least, that is the impression that I get. -Nat
... View more
01-13-2015
01:24 AM
|
2
|
2
|
428
|
POST
|
Hello, Does anyone know if clustering is coming to ArcGIS Online/ Js Api / Web AppBuilder and if so, when. I thought that I heard that this would be happening in Q1 of 2015, but I am not sure. Otherwise, the ClusterFeatureLayer by Odoe seems to be pretty good (obviously this doesn't work for AGOL but could be a work around for Web AppBuilder potentially). But I wanted to make sure that I wasn't making more work for myself when ESRI was going to provide it out of the box. Thanks, Nat
... View more
01-06-2015
03:17 AM
|
0
|
0
|
4444
|
POST
|
Hi Robert and Jeremie, Thanks for the help on this one. I have mostly resolved this issue now after being pointed in the right direction by you two. Instead of stopping the infowindow from popping up, like I originally intended, have left it alone and put a condition in my version of the AttributeTable widget to open if there is more than one feature selected in the selected feature length: on(this.map, "click", lang.hitch(this, function (e) { all(this.map.infoWindow.deferreds).then(lang.hitch(this, function () { try { var selectedLength = this.map.infoWindow.features.length; if (selectedLength > 1) { this._openTable(); } else { //check to see if the attribute table is open, if so close it this._closeTable(); } } catch (err) { //console.log('less than two selected '+err); } })); })); Then I have configured the AttributeTable widget to only display the selected features. It took a bit of work to configure it correctly, but the AttributeTable widget has all the tools to display the all selected features in the manner that I wanted it. Thanks again, Nat
... View more
12-31-2014
01:18 AM
|
1
|
1
|
508
|
POST
|
Hi there, I am trying to configure my Web AppBuilder application to only display fields in my popups that have content. This particular application has hundreds of layers, so going in by hand within my ArcGIS Webmap, is not really an option. Ideally, I would like to be able to edit the infowindow settings similar to this post but I can't seem to find the infowindow settings within "2D" version of the map. WIthin MapManager.js one can edit the "3D" version. Anyone know another way of getting access to the info window? thanks, Nat
... View more
12-30-2014
01:41 AM
|
0
|
2
|
4626
|
POST
|
I just wanted to clarify exactly what I am asking. When there are multiple items selected at once, instead of displaying the arrows to navigate through the selections like below, I would like to show the results in an attribute table Does anyone know what functions get called when multiple features are selected or anything that could point me in the right direction? thanks, Nat
... View more
11-26-2014
07:51 AM
|
0
|
1
|
508
|
POST
|
Hi there, I am hoping to find out how to turn on pop-ups for all layers and sublayers within ArcGIS Online. I have a couple of webservices that I am using with over 100 sublayers in them, and in order to enable pop-ups for ever sublayer, I am currently going through one by one and it takes absolute ages. Which is ridiculous. Is there a better way? I found think link on the ideas page, which worries me that it is not possible: ArcGIS Idea - Global setting for Enabling pop-ups for all layers (ArcGIS Online) thanks, Nat
... View more
11-26-2014
05:27 AM
|
0
|
0
|
2378
|
Title | Kudos | Posted |
---|---|---|
1 | 03-25-2015 04:12 AM | |
1 | 01-15-2015 02:49 AM | |
1 | 12-31-2014 01:18 AM | |
1 | 05-29-2015 01:24 AM | |
2 | 01-13-2015 01:24 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|