POST
|
Hi Robert, I tried to implement this code but no result. Please let me know where exactly I need to place this code to work . I don’t want to click the button of layer widget. It should automatically disable on startup . Sent from my iPhone
... View more
03-25-2020
10:11 AM
|
0
|
1
|
563
|
POST
|
I have few custom widget in my application. I want to show and hide based on the permissions. Is this possible ? If yes please guide me to specific page and also guide me which place i need to add the code to work. Thanks
... View more
03-24-2020
04:24 AM
|
0
|
1
|
222
|
POST
|
Can we disable or enable layers in Layer list widget programmatically. I have a RestAPI where permissions are checked and based on that i need to disable or enable layers in Layer List Widget. I tried adding below code in showLayers function but it dint work. this.config.layerOptions["roads_5062"].display = false Is there any other place i need to set this, Please guide me on this. Thanks in Advance.
... View more
03-24-2020
04:06 AM
|
0
|
3
|
671
|
POST
|
I have fixed this by adding the code in startup and it worked perfectly as i wanted. if (window.sessionStorage.getItem('urlparam') == null) { PanelManager.getInstance().closePanel(this.id + '_panel'); } Thanks
... View more
03-23-2020
02:56 AM
|
1
|
0
|
231
|
POST
|
Hey Robert, I have used your eSearch widget 2.13 and customized few things as per my requirement. I have disbaled all tabs except result tab as the widget data is getting filled from other application and we dont have to query anything in search tabs. I have configured the slayer and exprnum. From other application it is called from the querystring. for example https://myapplication.local.com/index.aspx?esearch=22&slayer=0&exprnum=0 As the default behavior of the widget is OpenAtStart. When there is no query send from other application then in GIS application the widget is opened and the result will be blank. Can we open the widget only when there is data or else close it. Please comment can we achieve this.
... View more
03-23-2020
12:14 AM
|
0
|
1
|
287
|
POST
|
Thanks for help Noah. I took the few fonts packaged with Enterprise 10.7 and hosted in my server and pointed the https://static.arcgis.com/fonts to https://myserver.com/fonts . It worked for me. Hope this helps for people who working in offline environment.
... View more
03-18-2020
08:55 PM
|
1
|
3
|
2069
|
POST
|
How to change webappbuilder 2.8 widgets icons size when the widget is open . Actually it shows a dot below the opened widget but I want to increase the size of widget icon . thanks in advance
... View more
03-12-2020
06:00 AM
|
0
|
0
|
130
|
POST
|
My map is in arcgis portal and there I have configured pop ups for all layers . When I click on map I get the pop up template .On one of the layer pop up template I have to open a custom widget by passing the parameter. Is this achievable or is there any other method to do this please guide me how we we can achieve this . Thanks in advance
... View more
03-12-2020
05:50 AM
|
0
|
1
|
188
|
POST
|
I am having issues on arcgis fonts . The arcgis api 4.x has a JavaScript file init.js where the fonts path is provided as https://static.arcgis.com/fonts where I am on the isolated environment with no internet access . When I try to add labels on the feature layer it gives error that fonts not found . I tried accessing the https://static.arcgis.com/fonts to download all the fonts to my local machine so that I can change the path in init.js file but I get error as page not found. Please guide me where i can download all the fonts .
... View more
03-10-2020
08:10 AM
|
0
|
5
|
2220
|
POST
|
I have created 2 custom widgets for retrieving data from oracle database. First widget is retrieving data and binding in dgrid. Here i have a column on click of that i am opening second widget. It is working perfectly as needed for first time I am facing problem is when i close the second widget and then click a column in first widget the second widget doesn't open. Can anyone please guide me what needs to be done to resolve this. this is my code which i calling to open a widget. toOpenWidget: function() { var widgets = this.appConfig.getConfigElementsByName('WidgetA'); var widgetId = widgets[0].id; this.openWidgetById(widgetId).then(lang.hitch(this, function(widget){ })); }
... View more
11-14-2019
01:05 AM
|
0
|
1
|
290
|
POST
|
Thanks for the help Robert. You Rock. I have created a new widget and am successful in getting the data. I am trying to add this data to dgrid but no luck in displaying the grid in widget. Please help me where am going wrong in binding the grid. Please find attached widget for your reference. Thanks in advance.
... View more
10-20-2019
03:03 AM
|
0
|
1
|
213
|
POST
|
Hi Robert, Sorry to bother you again and again. Now that error is not coming as a.hasChildNode. But getting other error as esriRequest.Then is not a function. I tried many options with no luck but couldn't resolve the error of esriRequest.then is not a function. Please help me to get this issue resolved. I am using webappbuilder developer edition 2.11 for which arcgis javascript api is 3.27. Please find attached error snapshot and widget.js file. Thanks in advance for your help. Regards, Kafil
... View more
10-17-2019
02:46 AM
|
0
|
3
|
843
|
POST
|
On the button click am calling the function"fnGetxy" . I am getting the error in console as typeError "a.haschildnode". Please find attached complete widget for your reference. Also i tried the same code in html page with EsriRequest and WebApi there i get results but not in widget. In this am using 4.12 javascript api but in widget it is 3.27 The below code works fine for me . <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no"> <title>Find Task - 4.2</title> <style> td { padding: 4px; } #loading { visibility: hidden; } </style> <script src="https://js.arcgis.com/4.2/"></script> <script> require([ "esri/request", "esri/config", "dojo/json", "dojo/dom", "dojo/on", "dojo/domReady!" ], function(esriRequest, esriConfig, JSON, dom, on) { esriConfig.request.proxyUrl = "https://gislap183/js/proxy/proxy.ashx"; function doRequest(){ var url = "https://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/layers?f=json"; esriRequest(url, { responseType: "json", callbackParamName: "callback" }).then(function(response){ showResults(response); }); } var resultsTable = dom.byId("tbl"); // Executes when the promise from find.execute() resolves function showResults(response) { var results = response.data; // Clear the cells and rows of the table to make room for new results resultsTable.innerHTML = JSON.stringify(results); } // Executes each time the promise from find.execute() is rejected. function rejectedPromise(err) { console.error("Promise didn't resolve: ", err.message); } // Run doRequest() when button is clicked on(dom.byId("execBtn"), "click", doRequest); }); </script> </head> <body> <input type="button" value="Execute" id="execBtn" /> <br> <br> <table id="tbl"></table> </body> </html> Thanks in advance for your help
... View more
10-16-2019
12:19 AM
|
0
|
5
|
843
|
POST
|
Hi Robert, I have created a webservice and trying to access in zoomgrid widget with no success. Can you please check the code and help me out where there is a mistake . Please find attached zoomgrid widget altered by me.
... View more
10-13-2019
11:46 PM
|
0
|
1
|
843
|
POST
|
We are creating MMPK for the basemap using arcgis pro 2.4 . That is working fine. We want to network dataset we have. Could any one help in creating the mmpk with network dataset for offline use.
... View more
10-01-2019
03:03 AM
|
0
|
1
|
543
|
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 | |
7 | 05-08-2019 09:24 AM |
Online Status |
Offline
|
Date Last Visited |
08-09-2021
08:48 PM
|