|
POST
|
Thanks, Adam. You know, when I add "visible": false to the \client\builder\predefined-apps\default2DApp\config.json, I can't get ANY service added using your widget to display in the WAB app. { "uri": "widgets/LocalLayer/Widget", "visible": false }
... View more
02-02-2015
02:55 PM
|
0
|
2
|
2718
|
|
POST
|
Ok, I think I have discovered what is preventing sublayers of dynamic layers being turned on and off individually, AND what is preventing legends of dynamic layers from displaying. Case 1: A service is published in which the top layer is On in ArcMap: Note that the top-most "Landsat 7 ETM+..." layer is On. When this service is added as a dynamic layer using widget 1.2, its legend will NOT display in the WAB app, and its sublayers CANNOT be turned on and off individually. All sublayers are always on, and can only be turned off when the entire layer is turned off in WAB layer menu. Since multiple sublayers are on, WAB doesn't know which sublayer to display a legend for: Case 2: A service is published in which the top layer is Off in ArcMap: Note that the top-most "Landsat 7 ETM+..." layer is Off. When this service is added as a dynamic layer using widget 1.2, its legend WILL display in the WAB app, and its sublayers CAN be turned on and off individually: Is there a way to fix this so that sublayers of dynamic layers can be toggled on and off normally whether the top-most layer in the service is on or off when published? Best regards, Barnaby
... View more
02-02-2015
02:24 PM
|
0
|
4
|
3745
|
|
POST
|
Awesome, Robert! I'll try that out now. I assume that I should still add this item to widget version 1.2? Cheers, Barnaby Edit: Robert, the lOptions.outFields = ['*']; code is already in the widget.js for version 1.2. Edit 2+: Yep, in widget version 1.2, now all checked fields are displayed for pop-ups in a Feature service!!!!! So issues 3 and 4 in my post are now solved. Great work! I haven't yet added the "visible": false" line to \client\builder\predefined-apps\default2DApp\config.json, and the widget appears to work perfectly in WAB DEV. Are you sure I need that? What is it for? I do want the widget to be visible in WAB when editing apps... Sublayers of a dynamic layer can now be turned on and off individually as in Flex for Regional Studies service, but not for other, simpler dynamic layers (Landsat 7, Landsat 8, and ASTER). Pop-ups do not work for any of these dynamic layers, as they contain mainly thematic rasters (same as Flex). The Legends display for sublayers of the Regional Studies dynamic layer, but not for the Landsat and ASTER dynamic layers. This behavior is the opposite of that of widget v1.1. Can you get the Legend to display for this service if it is added as a dynamic layer? I cannot. http://cmerwebmap.cr.usgs.gov/arcgis/rest/services/usminmap/Landsat7_West/MapServer The legend displayed normally in widget v1.1. ??? The weird thing is, the Legend is displayed normally for individual sublayers of the Regional Studies dynamic layer http://cmerwebmap.cr.usgs.gov/arcgis/rest/services/usminmap/Regional_Studies_pub/MapServer I am completely confused by that... Edit 3: Note that a tiled service (a geodatabase of nationwide vectors in this case) added as a Feature layer using the widget draws very slowly. The same tiled service draws instantly when it is part of an AGOL Web Map added to a WAB Dev app.
... View more
02-02-2015
09:43 AM
|
0
|
5
|
3745
|
|
POST
|
Hi Robert, The functionality of your widget is substantially different than that of Adam's widget. Will your widget supersede Adam's? Will his github page go away and be replaced by yours? I hope so. Having two similar widgets is very confusing. And this thread is a real mess, difficult to read, as it contains about 5-6 mini threads, each with its own set of replies. Perhaps I should start a new discussion.... Issues with WAB app built using your widget: 1) The attribute widget does not work at all with the services added using your widget. No attributes are displayed from any layer. All my services are unsecured. 2) Sublayers of a dynamic service cannot be turned on and off individually. If one is turned on, they all come on. Only way to turn them off is by turning off entire dynamic layer. This is the same with Adam's widget. I have several hundred sublayers and sub-sub-layers in my service, so there is no way I can add each layer individually as a feature layer. 3) Install instructions need to be modified as I wrote in post above. default2DApp\config.json entry for widget should be thus: { "uri": "widgets/LocalLayer/Widget" } after renaming widget directory in \client\stemapp\widgets directory to "LocalLayer." 4) Feature layer "fieldinfo" pop-ups don't work properly. This code in config_Local Layer Widget.json { "type": "Feature", "url": "http://myserver/arcgis/rest/services/usminmap/SGMC_March2014_Geology/MapServer/1", "name": "Geology (State Geologic Maps)", "opacity": 0.55, "visible": false, "popup": { "title": "State Geologic Map Compilation", "fieldInfos": [ { "fieldName": "State", "label": "State", "visible": true }, { "fieldName": "Generalized_Lithology", "label": "Generalized lithology", "visible": true } ], "showAttachments": false, "tr": null }, produces this pop-up Note that there is no value for the State attribute displayed. I assume other attributes added to the pop-up will also not have values displayed. Note that this Feature layer is a tiled (cached) service. 5) It looks like Feature layers are always on top no matter what. I need to have dynamic layers overlying a feature layer, and this seems to be impossible. I realize that some of these issues may be caused by Server 10.3 and/or WAB Dev itself, not the widget. I've only added a few services so far using your widget. As I add more, I'll post back if I find any issues with them. Best regards, Barnaby
... View more
01-30-2015
02:38 PM
|
0
|
9
|
3745
|
|
POST
|
Robert, I couldn't see the screens shown in your pdf when I added the widget to my WAB app. Either I did the install wrong, there was a conflict with Adam's v1.1 widget which was already installed, or your app is not ready to test. I tried removing Adam's widget, and that didn't help. I keep getting a copy widget error when I start WAB after installing the widget ("copy widget error. LocalLayerWidget null"). I will keep trying. Do you recommend that we use the current version of your widget to test, or should I wait? Best regards, Barnaby EDIT: I got it. After the widget is copied to \client\stemapp\widgets directory, the widget directory must be renamed to "LocalLayer" so that it matches the data in the manifest.json. Then the widget loads into a new app perfectly, and I can see the screens from your pdf. This step should be added to your the widget install instructions. EDIT2: Whoa. This is a HUGE step in the right direction. There are issues, but overall it's looking very good. Robert, could you make a new thread in which to discuss your new widget? This thread is getting very cluttered and confusing.
... View more
01-30-2015
11:29 AM
|
0
|
11
|
3745
|
|
POST
|
Hi Robert, Which page will be the main place we should check for new versions of custom widgets? Is it this "discussion"/thread (for your widgets), and/or this page: Esri/arcgis-webappbuilder-widgets-themes · GitHub Thanks, Barnaby
... View more
01-28-2015
09:19 AM
|
0
|
10
|
2707
|
|
POST
|
Adam, Attributes aren't working with unsecured dynamic services added using your widget. When I edit settings of attribute widget, that gui just hangs ("Loading..."), and no layers are shown. Is this a Server 10.3 issue? The WAB attribute function apparently only works for vector layers anyway, which is completely bogus and will hopefully be fixed in the future by ESRI. Many people use raster-based thematic maps that have attributes! Regards, Barnaby
... View more
01-20-2015
10:51 AM
|
0
|
0
|
2491
|
|
POST
|
Robert, From my post to Adam above: I'm running Server 10.3, Web Adaptor, and WAB Dev 1.0 on Win Server 2012 R2 Standard x64. Portal has not been installed. I have two ArcGIS for Server 10.3 patches installed: Patches and Service Pack - Esri Support Cheers, Barnaby
... View more
01-20-2015
08:53 AM
|
0
|
0
|
2718
|
|
POST
|
Hi Robert, As I wrote to Adam (see above), all my services are dynamic with no tile caches. They are mainly rasters (ERDAS Imagine .img) with pyramid files. Cheers, Barnaby
... View more
01-20-2015
08:12 AM
|
0
|
2
|
2718
|
|
POST
|
That looks great, Robert! It looks like it will have everything I need. Excellent work, as usual. Cheers, Barnaby PS: it looks to me that this widget incorporating Adam's and Robert's ideas will be a very important one which will significantly enhance WAB Dev capability. When done, it should be frontpaged on WAB web page. Robert is the Godzilla of widgets. Nothing can stop him, and he has all of our best interests at heart. Godzilla 2014 - Movie CLIPS - YouTube
... View more
01-20-2015
08:09 AM
|
1
|
0
|
4442
|
|
POST
|
Hi Adam, I'm running Server 10.3, Web Adaptor, and WAB Dev 1.0 on Win Server 2012 R2 x64. Portal has not been installed. All my services are indeed dynamic with no tile caches. None of the services are secured. Hopefully Robert's widget will include capability for setting initial visibility (like in Flex Builder). I am trying to duplicate functionality available in this Flex web viewer which includes several of Robert's widgets: National Map of Surficial Mineralogy For a service that has many layers and sublayers that are not "on" by default (as set in mxd), such as the "Regional Studies" service shown in that image posted above, when one of the layers is turned on, the top sublayer of ALL layers will become visible, and they cannot be turned off individually. Only when the Regional Studies service itself is turned off will these sublayers become invisible.
... View more
01-20-2015
08:07 AM
|
0
|
0
|
2718
|
|
POST
|
Adam, do you have any ideas regarding my questions? I am dead in the water using your widget until I can figure those things out. Any help would be appreciated. Regards, Barnaby
... View more
01-16-2015
10:02 AM
|
0
|
21
|
4442
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-27-2016 12:48 PM | |
| 1 | 04-05-2017 09:52 AM | |
| 1 | 10-29-2015 12:59 PM | |
| 1 | 03-31-2017 12:33 PM | |
| 1 | 04-07-2016 10:08 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:24 AM
|