|
POST
|
@AaronNash__GISP you can not currently as eSearch widget filters out these two field types. The proper way to do this is to create a unique field in your data.
... View more
05-26-2021
08:24 AM
|
0
|
1
|
1284
|
|
POST
|
@ines-mahmoud If you want to develop a custom widget then you should as Derek mentioned download WAB Developer edition and do your custom coding. Once your widget is developed then you can use it in a local portal (ArcGIS Enterprise) or your WAB Developer app that has been deployed to your own web server. You Can not use a custom widget in AGOL.
... View more
05-26-2021
08:20 AM
|
2
|
1
|
5906
|
|
DOC
|
@AndyWells OK it seems that you might have missed one of the most basic steps of setting up widgets that deal with a map. That is to set the map that the widget will interact with in the setting of the widget after you have added it to your app. In the right panel of EB once you click on the print widget you will see where you can specify the map widget that the print widget will use. This is something you need to get use to as EB can have one or more maps in an app.
... View more
05-25-2021
12:40 PM
|
0
|
0
|
28998
|
|
DOC
|
@AndyWells Can you share the webmap id or the public layer id or url from me to test? Also do you see any errors in the browser console?
... View more
05-25-2021
10:49 AM
|
0
|
0
|
29004
|
|
DOC
|
@AndyWells Does your webmap contain any secured layers? Have you tried with a different webmap in your app?
... View more
05-21-2021
12:57 PM
|
0
|
0
|
29068
|
|
DOC
|
@AndyWells the url would be "https://utility.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task". Do you not have your own print server (no Portal or ArcGIS Server)?
... View more
05-21-2021
12:16 PM
|
0
|
0
|
29072
|
|
POST
|
@AngularArchitect In 4.x it would look like this: <!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no">
<title>Layer List Widget 4.19</title>
<link rel="stylesheet" href="https://js.arcgis.com/4.19/dijit/themes/claro/claro.css">
<link rel="stylesheet" href="https://js.arcgis.com/4.19/esri/css/main.css" />
<style>
html,
body,
.container,
#viewDiv {
height: 100%;
width: 100%;
margin: 0;
padding: 0;
margin: 0;
font-family: "Open Sans";
}
#viewDiv {
padding: 0;
}
#layerListPane {
width: 25%;
}
.esriLayer {
background-color: #fff;
}
.esriLayerList .esriList {
border-top: none;
}
.esriLayerList .esriTitle {
background-color: #fff;
border-bottom: none;
}
.esriLayerList .esriList ul {
background-color: #fff;
}
</style>
<script>
var dojoConfig = {
parseOnLoad: true
};
</script>
<script src="https://js.arcgis.com/4.19/"></script>
<script>
var _operLayers, theMap;
require([
"esri/views/MapView",
"esri/WebMap",
"esri/widgets/LayerList",
"dijit/layout/BorderContainer",
"dijit/layout/ContentPane"
], function (
MapView,
WebMap,
LayerList
) {
var webmap = new WebMap({
portalItem: {
// autocasts as new PortalItem()
id: "f63fed3f87fc488489e27c026fa5d434"
}
});
var view = new MapView({
map: webmap,
container: "viewDiv"
});
view.when(()=>{
view.map.layers.map((lyr)=> {
lyr.watch('visible', function(visible){
if(visible){
view.map.layers.map((layer, index) => {
if(layer.title !== lyr.title){
layer.visible = false;
}
});
}
//console.info(visible, lyr.title);
}, lyr.title);
if (lyr.title === "World Transportation") {
lyr.visible = true;
} else {
lyr.visible = false;
}
});
var layerList = new LayerList({
view: view,
container: "layerList"
});
});
});
</script>
</head>
<body class="claro">
<div class="container" data-dojo-type="dijit/layout/BorderContainer"
data-dojo-props="design:'headline',gutters:false">
<div id="layerListPane" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'right'">
<div id="layerList"></div>
</div>
<div id="viewDiv" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'center'"></div>
</div>
</body>
</html>
... View more
05-21-2021
12:12 PM
|
0
|
0
|
4520
|
|
DOC
|
@GeoguichetGeoguichet , Each version of Portal uses a different version of WAB. https://enterprise.arcgis.com/en/web-appbuilder/latest/create-apps/about-versions.htm for example Portal 10.8.1 uses WAB 2.16. You should try to download the latest version of this widget.
... View more
05-21-2021
11:21 AM
|
0
|
0
|
19678
|
|
IDEA
|
Enhance the Sketch widget to include the ability to sketch text using a TextSymbol.
... View more
05-19-2021
11:59 AM
|
4
|
3
|
2451
|
|
POST
|
@GWReid The code you provided works fine. Once you click on the Draw button then you just click on the map to start drawing the polygon.
... View more
05-19-2021
10:25 AM
|
0
|
1
|
3676
|
|
POST
|
@MichaelLev , sorry I don't have an answer for that.
... View more
05-19-2021
10:17 AM
|
0
|
1
|
2225
|
|
POST
|
@VictorTey I just looked at the available properties for the tool in the documentation. https://developers.arcgis.com/javascript/3/jsapi/summarizenearby-amd.html#properties
... View more
05-18-2021
07:50 AM
|
0
|
0
|
2178
|
|
POST
|
@GWReid I do this using the SketchViewModel instead of the Sketch widget. https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch-SketchViewModel.html
... View more
05-18-2021
07:29 AM
|
2
|
0
|
3727
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-14-2020 11:36 AM | |
| 16 | 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
|