POST
|
When we click on map in WebApp Builder the infowindow is triggered. As per my understanding it is the click event on the map which performs the infowindow visibility. Correct me if am wrong. I wanted to know the map click event in which js file it is in webapp builder so that on click of map i can open a custom widget. Appreciate your help
... View more
07-05-2021
01:52 AM
|
0
|
1
|
677
|
POST
|
@RobertScheitlin__GISP I don’t want to show infowindow and popup panel widget at the same time . My query is instead of default info window how should I call the custom popup panel widget from my custom widget to display the content .
... View more
06-30-2021
05:26 AM
|
0
|
4
|
1476
|
POST
|
In my custom widget i have a datagrid and on row click i am showing the location and infowindow on map. Whereas When popupPanel is set to openAtStart: true then the infowindow is not displayed. This issue is happening with Query widget also when we search and click on location the infowindow is not displayed. What code changes needs to be done to display the Infowindow content in PopupPanel from all custom widget and query widget. Appreciate your help in Advance. Regards, Kafil
... View more
06-30-2021
01:24 AM
|
0
|
6
|
1533
|
POST
|
Hi Robert, In my custom widget i have a datagrid and on row click i am showing the location and infowindow on map. Below is my code used. this.map.infoWindow.SetTitle(title); this.map.infoWindow.SetContent(Content); this.map.infoWindow.show(featureSet.features[0].geometry,this.map.getInfoWindowAnchor(featureSet.features[0].geometry)); Whereas I have Popup Panel widget set for enabling the widget to open at startup. Where this.map.infoWindow is not displayed. What code i need to replace the above code so that content will be displayed in Popup Panel. Regards, Kafil
... View more
06-29-2021
12:46 AM
|
0
|
0
|
2567
|
POST
|
Try this it might help in resolving the issue. windows icon -> Right click -> command prompt(Admin) In command prompt window the type C:\Windows\system32>cd .\drivers\etc and enter C:\Windows\system32\drivers\etc>notepad hosts A notepad of Hosts opens. Add the dns entry in the file like 10.11.11.11 maps.org.com
... View more
03-15-2021
12:28 AM
|
0
|
0
|
2245
|
POST
|
Hi RandallClark, For LayerList Widget to achieve the requirement you need you have to modify the LayerListView.js You need to maintain a flag for each layer and pass that to drawListNode function. for example in my case i have done like below hope that helps for you. I am passing window.sessionStorage to this function.The values would be 0 and 1. if(window.sessionStorage.getItem('PrivilageParam') !== ''){ var sessionParams; sessionParams = window.sessionStorage.getItem('PrivilageParam') ; var Layer1 = "Layer1_123"; var Layer2 = "Layer2_456"; var paramOutput = []; if (sessionparam != "" && sessionparam != null){ var sNumber = sessionparam.tostring(); for (var i=0, len=sNumber.length; i < len; i += 1){ paramOutput.push(+sNumber.charAt(i)); } var strLayer1; var strLayer2; strLayer1 = paramOutput[0]; strLayer2 = paramOutput[1]; if (strLayer1 ! = 1) { if(layerInfo.id ==Layer1){ layerInfo._visible = false; return; } } if (strLayer2 ! = 1) { if(layerInfo.id ==Layer2){ layerInfo._visible = false; return; } } } Hope this helps.
... View more
03-14-2021
09:37 PM
|
0
|
0
|
1809
|
POST
|
Yes, we can call an external REST API from custom widget. I have done in my custom widget. For Example the code looks like as below. FetchData: function () { var apiUrl = "https://myservername/myApiname/MyMethodName"; var resultDataItems; $.ajax({ async: false, type: "GET", url: apiUrl, data: {"strParams": strParams}, success: function (result){ resultDataItems = JSON.parse(result); } }); } Now you can bind the result in whatever display component you need in your application , for example Gridview, ListView... Additionally Add the jquery.min library in your libs folder and reference that in index page.
... View more
03-14-2021
09:18 PM
|
1
|
0
|
2252
|
POST
|
Hi , I want to control the visibility of the layers in arcgis portal map based on the user privileges. for example a user has only privilege to see point of interest layer and not street layer. When the webappbuilder application loads the map I want to control this . Is this possible to do. Please suggest. Thanks in advance
... View more
02-14-2021
03:05 AM
|
0
|
1
|
599
|
POST
|
I want to add a button in webappbuilder so that when user clicks all the graphics added on the map is cleared and all widgets are closed . Is there any solution to achieve this requirement .
... View more
10-20-2020
08:15 AM
|
0
|
0
|
317
|
POST
|
Hi Robert, I am using Enhanced Search Widget by passing the Url paramters like esearch=1&slayer=0&exprnum=0 This points to one layer at a time. Is there a possibility where we can query more than one layer at a time? Eg : I have a point layer and polygon layer we want to show the result at the same time. Please let me know what changes we need to do to achieve this requirement. Thanks in Advance.
... View more
10-13-2020
08:51 PM
|
0
|
1
|
470
|
POST
|
I am unable to highlight the polyline geometry retrieved from my service . Also is the code correct what am doing or should I modify anything
... View more
09-03-2020
01:47 PM
|
0
|
1
|
757
|
POST
|
I have data with start x and y values and also have distance - 1000 meters and degree values in table . I want to calculate the end x and y point based on the distance and degree values . Then draw the line between the start and end points values . Please let me know how this can be achieved in custom widget of webappbuilder
... View more
09-03-2020
12:28 PM
|
0
|
0
|
344
|
POST
|
In my custom widget i have a datagrid and on row click i am showing the location and infowindow on map. For Point and polygon the infowindow shows correctly but for polyline it doesn’t show infowindow or draw the polyline for the geometry returned . It blanks out the map. Please guide me if am doing something wrong. Please find the code below. Var polylinesymbol = new SimpleLineSymbol(SimpleLineSymbol.STYLE_SOLID, new Color([0,255,0]), 5), new Color([255,255,0,0.25])); var clickPointGraphics = new Graphics(featureSet.features[0].geometry, polylinesymbol); clickPointGraphics.setInfoTemplate(InfoTemplate); this.map.graphics.add(clickPointGraphics); this.map.infoWindow.SetTitle(title); this.map.infoWindow.SetContent(Content); this.map.infoWindow.show(featureSet.features[0].geometry, this.map.getInfoWindowAnchor(featureSet.features[0].geometry)); var stateExtent = featureSet.features[0].geometry.getExtent().expand(5.0); this.map.setExtent(stateExtent);
... View more
09-03-2020
12:12 PM
|
0
|
3
|
794
|
POST
|
I have created an application with DartTheme using the webappbuilder embedded with Arcgis Portal 10.7. When i download the application and host it on IIS then try to change the styling it doesn't point to the correct file such as https://myapplication/themes/DartTheme/widgets/DartController/css/style.css Also widget.html is missing in https://myapplication/themes/DartTheme/widgets/DartController/widget.html When i try to check for styling it just shows as <style></style> in Elements -> Styles Whereas i don't find this issue when working with standalone WebAppBuilder. Please let me know if anyone have faced this issue.
... View more
08-09-2020
02:54 AM
|
0
|
0
|
868
|
POST
|
Hi All, I have added third party library (Devextreme) in webappbuilder. The path i have added is folder of library is given below. Myapplication/libs(folder)/dvextreme These files i have referenced in init.js file in the resource = resource.concat ({ window.apiUrl + 'dojo/resources/dojo.css', window.apiUrl + 'dijit/themes/claro/claro.css', window.apiUrl + 'esri/css/esri.css', window.apiUrl + 'dojox/layout/resources/ResizeHandle.css', window.path + 'jimu.js/css/jimu-theme.css', window.path + 'libs/caja-html-sanitizer-minified.js', window.path + 'libs/moment/twix.js', window.path + 'libs/Sortable.js', window.path + 'libs/cropperjs/cropperjs.js', window.path + 'libs/cropperjs/cropper.css', //because we have jimu/dijit/GridLayout dijit, so we import this css here window.path + 'libs/goldenlayout/goldenlayout-base.css', window.path + 'libs/goldenlayout/goldenlayout-light-theme.css', window.path + 'libs/dvextreme/scripts/jquery-min.js', window.path + 'libs/dvextreme/scripts/cldr.min.js', window.path + 'libs/dvextreme/scripts/cldr/event-min.js', window.path + 'libs/dvextreme/scripts/cldr/supplemtnet-min.js', window.path + 'libs/dvextreme/scripts/cldr/unresolved-min.js', window.path + 'libs/dvextreme/scripts/globalize-min.js', window.path + 'libs/dvextreme/scripts/globalize/message-min.js', window.path + 'libs/dvextreme/scripts/globalize/number-min.js', window.path + 'libs/dvextreme/scripts/globalize/currency-min.js', window.path + 'libs/dvextreme/scripts/globalize/date-min.js', window.path + 'libs/dvextreme/scripts/dx.all.js', window.path + 'libs/dvextreme/scripts/jszip-min.js', window.path + 'libs/dvextreme/scripts/dx.common.css', window.path +'libs/dvextreme/styles/dx.dark.css' }); first it loads correctly all the components of the devextreme but sometimes it gives error in console that it dint load the resource. Again when i do ctrl + F5 it loads correctly. Is there any other place i need to add the reference of third party library so that it works correctly. Please guide me on this issue. Thanks in Advance
... View more
07-28-2020
08:45 PM
|
0
|
1
|
1166
|
Title | Kudos | Posted |
---|---|---|
1 | 03-14-2021 09:18 PM | |
1 | 03-23-2020 02:56 AM | |
1 | 03-18-2020 08:55 PM | |
1 | 08-30-2019 04:25 AM | |
9 | 05-08-2019 09:24 AM |
Online Status |
Offline
|
Date Last Visited |
08-09-2021
08:48 PM
|