|
POST
|
Hi Adam, I tested it in WD 2.0, and it works perfectly so far. The various files under jimu.js directory and the Att. Table settings.js files are unedited. Excellent work. Unfortunately, I doubt I will use WD 2.0-based apps at all until the issue with the Attribute Table widget layer names is addressed by esri. Cheers, Barnaby
... View more
04-14-2016
10:35 AM
|
0
|
5
|
1463
|
|
POST
|
Derek, Nice updates! WAB 2.0 has some nice new tech, especially the little tab that opens at lower right asking user if they want to return to previous session. Have you checked this out? WAB Dev 2.0: How to get layer names for Attribute Table widget to be read from config file I'd be very interested on any thoughts you or other esri WAB developers may have on that. Best regards, Barnaby
... View more
04-11-2016
12:19 PM
|
0
|
0
|
1584
|
|
POST
|
// utils.readConfigLayerInfosFromMap(this.map, true, true) utils.readConfigLayerInfosFromMap(this.map, false, true) .then(lang.hitch(this, function(layerInfos) { this._layerInfos = layerInfos; this._processDelayedLayerInfos(); utils.readSupportTableInfoFromLayerInfos(this._layerInfos) .then(lang.hitch(this, function(tableInfos) { this._tableInfos = tableInfos; if (this.config && this.config.layerInfos && this.config.layerInfos.length > 0) { // settting page should sync with webmap var configInfosFromMap = utils.getConfigInfosFromLayerInfos(this._layerInfos); utils.merge(configInfosFromMap, this.config.layerInfos, 'id', lang.hitch(this, function(mci, cli) { // mci.name = cli.name; mci.show = cli.show; mci.layer.url = cli.layer.url; if (lang.getObject('layer.fields.length', false, mci) && lang.getObject('layer.fields.length', false, cli)) { utils.merge(mci.layer.fields, cli.layer.fields, 'name', function(d, s) { lang.mixin(d, s); }); mci.layer.fields = utils.syncOrderWith( mci.layer.fields, cli.layer.fields, 'name'); } else { mci.layer.fields = cli.layer.fields; } })); Above is a part of settings.js in \WABdev_2.0\server\apps\#\widgets\AttributeTable\setting Edit shown in red is for LocalLayer widget, "Changing that first 'true' to a 'false' will tell the menu to read all layers from the map as normal, instead of just ArcGIS Online layers." GitHub - cmndrbensisko/LocalLayer: The LocalLayer Widget for ArcGIS Web AppBuilder is intended to allow the direct addit… Part shown in blue is responsible for layer name edits in Attribute Table widget config file not being shown in the widget editing GUI. If that line is uncommented, edits will be shown. However, such edits will not be saved when editing GUI is closed. I haven't figured out (yet?) how to make the edits be saved so that corrected layer names will show up in the Attribute Table. Parts shown in orange are new to WAB 2.0 as compared to 1.3.
... View more
04-07-2016
10:08 AM
|
1
|
0
|
3488
|
|
POST
|
Hi Adam, I agree, and made another post to my WAB question thread showing the issue in an app that doesn't use LL widget but calls an AGOL Web Map. Cheers, Barnaby
... View more
04-05-2016
10:47 AM
|
0
|
0
|
1463
|
|
POST
|
Here is a shot of another WAB Dev 2.0 app, this one calling an AGOL Web Map. Note that problematic layer name in Attribute Table (shown in red) is on another layer than the one shown in map in previous post. All services are the same as shown in shot in previous post. This looks like a new "feature" (bug?) in WD 2.0 Attribute Table widget. The Attribute Table config file is always synced with layer name from service, and thus edits of the attribute table config file are not read. There were no such issues in WD 1.3 and older, and I could edit Attribute Table layer names in the config file.
... View more
04-05-2016
08:56 AM
|
0
|
1
|
3488
|
|
POST
|
Hello, In WAB Dev 2.0, how can I get names for layers shown in Attribute Table widget to be read from the Attribute Table config file: \WABdev_2.0\server\apps\#\configs\AttributeTable\config_Attribute Table.json Now, I apparently have no control over the names of layers in Attribute Table widget. For some layers, but not all, unwanted strings (usually consisting of one or more instances of the layer "id") are appended to layer names (shown in red on attached image). Even for layers without this erroneous name, I must change the layer names for the Attribute widget for various reasons. The app in the image uses the custom LocalLayer widget to add layers, but the same issue occurs when AGOL Web Maps are called instead. The same issue occurs in WAB apps made in AGOL (without using WAB Dev edition). Any help or ideas would be appreciated. My services are published using ArcGIS for Server 10.4. Thanks in advance.
... View more
04-04-2016
12:16 PM
|
0
|
8
|
9550
|
|
POST
|
Adam, There appears to be a relatively minor issue related to the Attribute Table for layers added via LL widget. I just sent you an e-mail describing it. Cheers, Barnaby PS: I see now that the same issue occurs in WD 2.0 apps that DO NOT use the LL widget, but call AGOL Web Maps. So the issue may have nothing to do with LL widget... WAB Dev 2.0: How to get layer names for Attribute Table widget to be read from config file
... View more
04-04-2016
09:31 AM
|
0
|
2
|
1463
|
|
POST
|
Hoo boy, WAB Dev 2.0 was just released, one day after I finally went operational with my WAB 1.3 apps that use LocalLayer widget and lots of Robert's widgets. I guess I will start testing all of the 1.3 widgets with WAB Dev 2.0 and see that happens. I'll bet 2.0 has cool new functionality. Edit: My first WAB Dev 1.3 app imported in a snap and seems to work perfectly so far!!!!!
... View more
04-01-2016
08:56 AM
|
0
|
0
|
1407
|
|
POST
|
Argh! I just went operational with my WAB Dev 1.3 apps yesterday, along with LL widget 1.3.1, and today WAB Dev 2.0 was released! Edit: Initial testing suggests that LL widget 1.3.1 works perfectly in a WAB Dev 1.3 app imported into WAB Dev 2.0. Good job, Adam and Robert! More testing ahead...
... View more
04-01-2016
08:53 AM
|
1
|
0
|
1463
|
|
POST
|
Excellent! Thank you, Adam. I will install 1.3.1 today. Best regards, Barnaby P.S.: It appears to work perfectly so far!
... View more
03-29-2016
08:39 AM
|
0
|
0
|
1482
|
|
POST
|
Adam, Adding those 2 lines back fixes the issue. Will your new version be named 1.3.1? Cheers, Barnaby
... View more
03-25-2016
09:37 AM
|
0
|
2
|
1482
|
|
POST
|
Hi Adam, Thank you very much for the info. Cheers, Barnaby
... View more
03-25-2016
08:53 AM
|
0
|
0
|
1482
|
|
POST
|
Unfortunately, yes. It appears that the changes you added since we last communicated prevent my "problematic" dynamic layers (thematic rasters, etc.) from showing up in the Layer List. Those layers appear normally in the LL widget editing GUI. If I use the Widget.js you made a few months ago (the one not including recent changes), everything works perfectly using Server 10.4. Note that you have double quotes around these defines at the top: 'esri/symbols/jsonUtils', 'esri/symbols/TextSymbol', 'esri/layers/LabelClass', 'esri/Color', But changing them to single quotes, as shown above, doesn't fix my issue.
... View more
03-22-2016
12:52 PM
|
0
|
5
|
1482
|
|
POST
|
Adam, Did you test the new widget version using ArcGIS for Server 10.4 by any chance? Cheers, Barnaby
... View more
03-22-2016
12:36 PM
|
0
|
7
|
1482
|
|
POST
|
Hi Adam, Congrats on v1.3 release! 😄 I'll install it now. Thank you for your hard work! Cheers, Barnaby
... View more
03-22-2016
09:42 AM
|
0
|
0
|
1482
|
| 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
|