|
POST
|
David, LayerStructure getNodeById is the right path but once you have the node you need to use the getLayerObject() method on the node before you have an actual FeatureLayer. this.layerStructure = LayerStructure.getInstance();
var featureLayer = this.layerStructure.getNodeById(subLayerID).getLayerObject();
featureLayer.infoWindow = popupTemplate
... View more
08-05-2020
08:01 AM
|
0
|
5
|
4877
|
|
POST
|
Carsten, OK what is your end goal in doing this versus using the url as one normally would?
... View more
08-05-2020
07:23 AM
|
0
|
0
|
3401
|
|
POST
|
Carsten, In the 3.x API there is no group layer so there is No solution in 3.x that I am aware of.
... View more
08-05-2020
06:03 AM
|
0
|
4
|
3401
|
|
POST
|
Carsten, You can not. A FeatureServer url is a single layer url and can not be made to act like a MapServer url.
... View more
08-05-2020
05:23 AM
|
0
|
7
|
3401
|
|
POST
|
Lefteris, For 2.16 make this edit to the CSVUtils.js file in the jimu.js folder (lines 14 - 16 added): exports._getExportData = function(layer, options) {
var def = new Deferred();
var _outFields = null;
var _queryOutFields = [];
var data = options.datas;
var withGeometry = options.withGeometry;
var withExpressionFields = !!options.arcadeExpressions;
_outFields = options.outFields;
if (!_outFields || !_outFields.length) {
_outFields = layer.fields;
}
_outFields = lang.clone(_outFields);
_outFields = _outFields.filter(function(fld){
return fld.show
});
...
... View more
08-04-2020
01:18 PM
|
0
|
1
|
1455
|
|
POST
|
I have heard of this one other time and they said the same that they did not edit the config.json. It may be a bug. The fix is to manually edit the config.json though. Look in your apps config.json for the placeholderIndex of 1 and if it does not exist then add it.
... View more
08-03-2020
06:51 AM
|
0
|
0
|
1924
|
|
POST
|
Victor, This is normally a result of making some manual edits to the apps config.json file. Here is a snippet of a standard config.json: ....
{
"position": {
"left": 55,
"top": 45,
"relativeTo": "map"
},
"placeholderIndex": 1,
"id": "_5",
"name": "FLHover",
"version": "2.12",
"closeable": true,
"uri": "widgets/FLHover/Widget",
"config": "configs/FLHover/config__5.json",
"openAtStart": true
},
{
"position": {
"left": 105,
"top": 45,
"relativeTo": "map"
},
"placeholderIndex": 1,
"id": "_6",
"name": "myWidget",
"version": "2.16",
"closeable": true,
"uri": "widgets/myWidget/Widget",
"IsController": false
},
.... Notice placeholderIndex 1 has a position of left 55 and top 45.
... View more
08-03-2020
05:29 AM
|
0
|
2
|
1924
|
|
POST
|
Milaw, You can get the center of a circle polygon by getting the polygons extent and the extents center.
... View more
08-03-2020
05:27 AM
|
0
|
0
|
2167
|
|
POST
|
Milaw, Once a circle is created and edited it becomes a polygon and no longer has the properties of the circle class.
... View more
08-02-2020
07:04 PM
|
0
|
2
|
2167
|
|
POST
|
Martin, I have not tested this, but I am not surprised that they do not work. Maybe this will be supported in the future.
... View more
07-31-2020
07:03 AM
|
0
|
1
|
1974
|
|
POST
|
Mansi, 1) You have the wrong url in your portalUrl property in the config.json. You have "portalUrl": "http://desktop-37kodua:3344/webappbuilder/", When it should be: "portalUrl": "http://mansipatel42007.maps.arcgis.com" 2) I never use an appId in my deployments of WAB so remove those. You have "appId": "3TAZZEt6SLduldyb", change to: "appId": "", 3) proxy is only needed if you are using secure services in your webmap. You have: "httpProxy": { "useProxy": true, "alwaysUseProxy": false, "url": "proxy.js", "rules": [] }, Change to: "httpProxy": { "useProxy": false, "alwaysUseProxy": false, "url": "", "rules": [] },
... View more
07-31-2020
05:43 AM
|
0
|
0
|
2347
|
|
POST
|
Peter, Add this css rule to your apps theme common.css [install dir]\server\apps\[app#]\themes\[theme name]\common.css Here is a sample rule for hiding the close button on widget _5. #_5_panel.jimu-panel>.jimu-panel-title>.btns-container>.close-btn {
display: none
}
... View more
07-31-2020
05:35 AM
|
1
|
2
|
1913
|
|
DOC
|
Amy, that is configurable in the widgets general settings dialog (Initial View).
... View more
07-30-2020
02:21 PM
|
0
|
0
|
23748
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-14-2020 11:36 AM | |
| 17 | 05-17-2021 01:51 PM | |
| 1 | 07-06-2020 05:32 AM | |
| 1 | 07-10-2018 05:49 AM | |
| 9 | 01-28-2022 10:58 AM |
| Online Status |
Offline
|
| Date Last Visited |
06-08-2026
06:27 AM
|