|
POST
|
This problem can be caused by if your WAB is Developer Edition1.1 or Embedded Edition Portal10.3.1, and you have never opened the setting page of Edit Widget (add more than one widgets at once time will not open setting page). This issue had been fixed in Developer Edition1.2. As a workaround, please reopen setting page of Edit Widget and make sure that all layers have been checked, then saved setting page.
... View more
09-24-2015
01:51 AM
|
1
|
3
|
2937
|
|
POST
|
Widget config appears in /configs folder, that means the widget has been configured and saved(by save app), otherwise widget will use default config in /server/apps/appId/widgets/widgetName/config.json.
... View more
09-10-2015
07:46 PM
|
1
|
1
|
740
|
|
POST
|
Sorry for the inconvenience caused. We have fixed it in Online3.9, for Developer Edition, we will fix it in the next release(v1.3). As a temporary solution for Developer Edition v1.2, please use attached file to instead of "arcgis-webappbuilder\client\stemapp\widgets\Edit\Widget.js" If you want to continue edit the feature after searching, you just need to click Edit Widget again to activate it.
... View more
09-08-2015
11:46 PM
|
2
|
1
|
2256
|
|
POST
|
So far, edit widget does not support editing related records, but I have recorded this feature to WAB new features list, after further evaluate by the PE of WAB, maybe can support it in the next release. Thank you Tim for the nice feedback.
... View more
08-12-2015
06:04 AM
|
4
|
0
|
638
|
|
POST
|
The older apps sill work fine because of the webmap of that app is hosted on Portal, not hosted on AGOL, AGOL has updated js-api to 3.14, but Portal10.3.1 use 3.13 yet.
... View more
07-30-2015
08:11 PM
|
0
|
0
|
1317
|
|
POST
|
Matthew, I not sure that is a bug or not, would you mind share your webmap as public and share the itemId if that does not concern some confidential matters, or just share a editable feature layer url, let me test again.
... View more
07-27-2015
01:46 AM
|
0
|
1
|
2164
|
|
POST
|
WAB develop edition 1.2 will release in Early August.
... View more
07-23-2015
08:16 PM
|
1
|
1
|
868
|
|
POST
|
This problem is caused by ArcGIS JS-API upgrade to js-api3.14 on AGOL3.8, but WAB develop edition 1.1 use js-api3.13, the issue will resolve automatically in WAB develop edition 1.2(release in early August). As a temporary resolution, use &apiurl=//js.arcgis.com/3.14 query parameter to access WAB develop edition 1.1, for example: http://localhost:3344/webappbuilder/?id=5&apiurl=//js.arcgis.com/3.14
... View more
07-22-2015
08:32 PM
|
2
|
2
|
1903
|
|
POST
|
I am sorry Daniel, I have fix the bug in fist code snippets(update the line #35 from this._layerinfos to this.layerInfos), I test this code snippet on new version of WAB at before, now I have tested it on WAB1.1. Please try again. So far, does not support dynamic layers, maybe can support it in next release.
... View more
07-22-2015
07:31 PM
|
0
|
0
|
3655
|
|
POST
|
Marvin, Yes, this is a known issue in WAB issue list, ENH-000085884 When a layer is configured for popups in map viewer, and loaded into Web AppBuilder to be used with the Edit widget, all of the fields are visible when the layer is being edited, not just those configured in the pop up. #2771 Edit widget does not respect the settings of webmap popup, we will fix it in next release. Sorry for any inconvenience caused. I think there is a workaround can solve this problem temporary, steps as below: (assume your app name is wabApp) 1, backup your wabApp use saveAs in WAB, avoid damage your app. 2, go to MyContent, find wabApp, enter to the wabApp item page, click Edit, enter edit item page: 3, change the 'Purpose' drop box to Configurable: for now, maybe you cannot see 'Configuration Parameters' text box, this is a bug of online, you have to click 'Save' button and enter this page(edit page) again by click 'Edit' button. and now you will see 'Configuration Parameters' text box. 4, use itemData REST URL to get configuration of your wabApp from browser: http://arcgisOnline---/sharing/content/items/ed1d7039b4a64dd5a0484ecfc302571f/data (1,you need to share your app as publish, else you have to use token parameter to access itemData. 2, please disable any 'JSONFormat' plugin of you browser, such as Json Viewer in chrome) 5, copy the wabApp's confguration from browser to you text editor, point to the part of editWidget, find the layer, find the field config witch you want using 'Rich Text', for example the field name is 'Emergency Facility ID', and then add "stringFieldOption": "richtext" property to configuration. 6, copy configuration and paste to the 'Configuration Parameters' text box, click 'Save' button, 7, try to access your app, open edit widget, add a new feature, you will see rich box for 'Emergency Facility ID' attribute:
... View more
07-22-2015
03:09 AM
|
1
|
1
|
1473
|
|
POST
|
For develop version 1.2, LayerList has provide a way that can add some Feature layers as a FeatureCollection(FeatureLyaersGroup), I think this function can achieve your goal, but develop version 1.2 will release in early August, if you using this function urgent, you can add some code as follows: Add addFeatureCollection function to stemapp/jimu.js/LayerInfos/LayerInfos.js: addFeatureCollection: function(featureLayers, title) {
//var id = this._getUniqueTopLayerInfoId(title);
var id = title;
var featureCollection = {
layers: []
};
// set layer id
array.forEach(featureLayers, function(featureLayer, index) {
featureLayer.id = id + '_' + index;
featureCollection.layers.push({
id: featureLayer.id,
layerObject: featureLayer
});
}, this);
this.map.addLayers(featureLayers);
var newLayerInfo;
try {
newLayerInfo = LayerInfoFactory.getInstance().create({
featureCollection: featureCollection,
title: title || id,
id: id
}, this.map);
newLayerInfo.init();
} catch (err) {
console.warn(err.message);
newLayerInfo = null;
}
if(newLayerInfo) {
this.layerInfos.push(newLayerInfo);
this.update();
this.emit('updated');
}
},
In the stemapp/widgets/LayerList/Widget.js, add comments code to startup() as shown below: if (this.map.itemId) {
LayerInfos.getInstance(this.map, this.map.itemInfo)
.then(lang.hitch(this, function(operLayerInfos) {
this.operLayerInfos = operLayerInfos;
// ***begin*** added code in startup() of LayerList/widget.js
var featureLayer1 = new esri.layers.FeatureLayer("http://sampleserver6.arcgisonline.com/arcgis/rest/services/NapervilleShelters/FeatureServer/0");
featureLayer1.title = "featureLayer1";
var featureLayer2 = new esri.layers.FeatureLayer("http://sampleserver5.arcgisonline.com/arcgis/rest/services/Energy/Geology/FeatureServer/6");
featureLayer2.title = "featureLayer2";
var featureLayers = [featureLayer1, featureLayer2];
this.operLayerInfos.addFeatureCollection(featureLayers, "myGroupLayes");
// ***end*** added code in startup() of LayerList/widget.js
this.showLayers();
//this.bindEvents();
this.own(on(this.operLayerInfos,
'layerInfosChanged',
lang.hitch(this, this._onLayerInfosChanged)));
dom.setSelectable(this.layersSection, false);
}));
} else {
var itemInfo = this._obtainMapLayers();
LayerInfos.getInstance(this.map, itemInfo)
.then(lang.hitch(this, function(operLayerInfos) {
this.operLayerInfos = operLayerInfos;
this.showLayers();
//this.bindEvents();
this.own(on(this.operLayerInfos,
'layerInfosChanged',
lang.hitch(this, this._onLayerInfosChanged)));
dom.setSelectable(this.layersSection, false);
}));
}
... View more
07-21-2015
09:05 PM
|
1
|
10
|
3655
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12-18-2024 02:02 AM | |
| 1 | 12-09-2024 10:18 PM | |
| 1 | 12-03-2015 06:30 PM | |
| 1 | 06-01-2015 07:34 AM | |
| 1 | 06-11-2015 07:52 PM |
| Online Status |
Offline
|
| Date Last Visited |
04-14-2025
01:51 AM
|