All Questions
38 questions
1
vote
1
answer
703
views
Couldn't access MapView from Experience Builder Widget
My widget requires MapView and it needs use through out the application. However, I am not able to get it. The problem is activeViewChangeHandler is not executed at all. I followed this documentation.
...
0
votes
1
answer
45
views
Web AppBuilder Developer Edition - "this" Keyword Conflict with Button Element
I created a button element with an onclick handler using the following method:
domConstruct.create('button', {
...
value: someValue,
onclick: this.onBtnClick
});
The onBtnClick method uses the ...
0
votes
0
answers
148
views
ArcGIS API for JavaScript 4.23 : Cannot use SQL CAST function with layer.definitionExpression but it work fine with query builder
I'm working with features which needs to be filtered.
I need to use the definition expression : https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-SceneLayer.html#definition...
...
1
vote
1
answer
715
views
Mouse-over event behavior problem when browser window is in focus
I have an ESRI Web Appbuilder web app with custom widgets and am having a weird issue when trying to register mouse-over events on a feature layer. I noticed that when the Chrome Dev Tools are closed ...
0
votes
2
answers
971
views
lang.hitch use in ArcGIS API for JavaScript [closed]
Can someone explain lang.hitch() function use in ArcGIS API for JavaScript?
0
votes
1
answer
441
views
In ArcGIS Web appbuilder widget, how can i use a variable what is declared in another widget file?
In Edit widget, i modified the RelatedRecordsEditor.js to automatically upload input fields with data like webMapId.
var mapid=dijit.byId("dijit_form_ValidationTextBox_1").attr("value");
...
1
vote
1
answer
91
views
Determining invalid parameters for geoprocessing service
I have a loop that feeds the parameters to execute syncronymous geoprocessing services.
When the loop runs it gives me the results when it receives valid params, and I get a generic error for the ...
1
vote
1
answer
306
views
Web AppBuilder Custom Widget - Function Executing Sequence
I am having a weired issue that func1(), which is coded in front of func2(), is executed after func2() in my custome widget.
The widget draws a buffer on a click event, and when a "Show Results" ...
1
vote
1
answer
1k
views
Turn certain layers on and off in ArcGIS Web AppBuilder Developer Edition
Does anyone know a way in ArcGIS Web AppBuilder Developer edition that I can create a button or a link that turns certain layers on or off?
For example, if I have three layers
[1] Homes
[2] Rivers
...
1
vote
1
answer
178
views
Changing order of attribute data in InfoWindow on click of multiple features
I have an Esri Web AppBuiler 2.7 standalone web application where it is required that we are able to control the order of attribute data appearing in an InfoWindow on clicking multiple features.
For ...
1
vote
1
answer
91
views
Placing symbol at map extent center
I am using ArcGIS Web AppBuilder (Version 2.13 August 2019).
I have a widget, and on button click, I need to place a symbol at the centre of the map.
I tried using :
selectFeatureService: function (...
2
votes
2
answers
2k
views
Using field from another table in popup of ArcGIS Web AppBuilder
I have an Web AppBuilder application, in popup windows it shows up to 10 fields.
For one field of it, can I get a value from another service/SQL table by customizing application.
I tried to ...
0
votes
2
answers
615
views
ArcGIS API JavaScript error to add layer
I'm developing a custom widget for WebApp Builder.
The widget calls a Geoprocessing service and the result must be added to map, but when I call a function this.map.addLayer() I receive the error ...
2
votes
1
answer
754
views
Web AppBuilder custom widget how to add third party node modules?
I know that ArcGIS Web AppBuilder Desktop is built using Node.js
Is there any way we can add the third party node.js modules in Web AppBuilder Desktop using the npm command and then access these ...
2
votes
0
answers
220
views
Issues with ArcGIS Web AppBuilder creating custom widget by inheriting existing widget
I am trying to extend the inbuilt Select widget in the ArcGIS Web AppBuilder for Desktop using dojo. According to the documentation by ESRI we always inherit the 'dijit/_WidgetBase' module to create ...
0
votes
1
answer
207
views
No manifest.json or widget.html file for WAB app
I want wanted to configure a select widget in my WAB code on my local to have only the selectBy Polygon instead of the out of the box SelectBy square settings. So I created a new WAB app with those ...
2
votes
0
answers
36
views
Added time layer doesn't show
I'm adding a layer with time control through the widget "add Data"
But this layer doesn't show in map. Could someone give me a clue as to why this happens?
0
votes
1
answer
47
views
Basemap widget to access map layers from ArcGIS Server?
Can a basemap widget retrieve a list of map layers from an ArcGIS server instead of ArcGIS Online or Portal? If not, how can I get or build a similar widget?
2
votes
0
answers
69
views
Editing related records for layer that has been added using ArcGIS Web AppBuilder?
In our web application we add layers programatically when a user with editing permissions logs in.
However when the layers are added using this method (map.addLayer(Layer)), the related records are ...
1
vote
1
answer
520
views
Couldn't change ArcGIS Web App Builder application spatial reference (wkid 102100)
I couldn't change ArcGIS Web App Builder application spatial reference (wkid 102100) to wkid 4326 even though I changed it in the configuration.
Is there anywhere else where I have to make changes to ...
1
vote
1
answer
95
views
Strange Polygon Shape Rendering in ArcGIS JavaScript API 3.22
When I upload a shapefile using the existing WAB Geoprocessing widget Shapefile uploader. Below is the screenshot. What could be the cause of the problem?
The image below was supposed to show the ...
0
votes
0
answers
172
views
how focus a widget on screen?
I'm open a lot of widgets programmatically. So I need focus a widget when it's opened. The first time that widget it's open, automatically set focus, but the second time it doesn't.
updated
Code to ...
1
vote
0
answers
629
views
Using Secure WFS Layers in AGOL/ArcGIS Web App Builder
I am working on an ArcGIS WAB app that needs to reference proprietary lightning strike data which is only provided through the vendor as a secured WFS service. Ideally, this would be a layer inside a ...
2
votes
1
answer
155
views
How show a new feature layer in map?
I'm creating a new feature layer like that:
createNewFeature: function (layer, geometry, layerInfo) {
var loJsonFS = {
"displayFieldName": layer.displayFieldName,
"fieldAliases": ...
0
votes
1
answer
457
views
ArcGIS Javascript, add headarrow in the end of line?
Ok so I'm planning to add arrow in the last coordinate point.
var line = new Polyline(wgs84);
var b = 0;
var a = 0;
// console.log(hasilarray);
arrayUtils....
0
votes
1
answer
330
views
Layer definitions for Web app builder layer list widget
Built a layer list widget using web-app builder and integrated it with our Spring application.
I'm trying to pass state parameter to layer definitions through the following code:
this....
1
vote
2
answers
2k
views
How open Web AppBuilder widget programmatically?
I'm trying open a widget from other widget:
_open: function () {
var config = WidgetManager.getInstance().appConfig.getConfigElementById("widgets_IdentifierRed_Widget");
WidgetManager....
0
votes
1
answer
135
views
client-side geometry in Esri Web AppBuilder
I have two csv files one contains lon/lat for a set of points, and the other one contains the links between those points (each row represents a link by the Object ID of the origin and destination of ...
2
votes
1
answer
452
views
Selected features disappear from map from ArcGIS API for JavaScript?
I am working with the Javascript API version 3.19. I have a feature layer used to display aerial images footprints. This feature layer is configured to fetch all the features to display at once based ...
1
vote
0
answers
340
views
Large Legend doesn't appear on print task
I am having a problem displaying a large Legend (with more than 60 items) on the print task, it appears that the legend doesn't appear at all at the printed template.
It does print fine if there are ...
2
votes
0
answers
40
views
ArcGIS layers not scaling when attribute table is open
I've recently discovered an issue in Chrome and I'm wondering if anyone else has had this issue or if anyone can tell me how to fix it. Basically, when I zoom in and out on my map when the ...
0
votes
1
answer
228
views
Web Application and ArcGIS server are two different machines and unable to load layers using rest services
ArcGIS 10.2 server is installed in one machine which doesn't have public ip. My web application is hosted in another machine and IIS7 is configured and it has public ip. Both the machines are in LAN ...
1
vote
1
answer
275
views
Intranet GIS app with JS web app builder?
Is there a work-around for building an intranet GIS app with ESRI JS web app builder (without sharing data to the public)? Does it mean that I have to create a web map in ArcGIS com or is there an ...
0
votes
1
answer
219
views
S-JTSK projected incorrectly in JS API
I use a method based on the "project a point" sample to project points from S-JTSK (wkid 102067) to Web Mercator (wkid 102100) and they are ~100m away from their correct position. This happens when I ...
2
votes
1
answer
1k
views
Can't close custom Web AppBuilder widget programmatically
I am creating a custom widget in ArcGIS Web AppBuilder.
This page shows how you can use the WidgetManager to close a widget programmatically, saving the user from having to click the X button ...
1
vote
3
answers
582
views
Create non-GIS Front End to ESRI Server Web Map
I have a webmap that I have created using the ESRI ArcGIS Javascript API / Web App Builder. It manages City projects. The departments that manage this data would like a web-interface to manage the ...
2
votes
1
answer
1k
views
Modifying WebAppBuilder "LayerList' widget to use radio buttons instead of checkboxes? [closed]
I've downloaded the developer version of the Web app builder and installed in on my machine.
I can open up the widget '\LayerList\LayerListView.js', and I have been exploring the source code.
I would ...
4
votes
1
answer
4k
views
ArcGIS Web AppBuilder widget config?
I downloaded a webapp builder template (javascript) that I've placed on my own web server and is running fine.
However, I am not able to modify the widgets in the config.json file to the settings ...