|
POST
|
I spent numerous hours trying to figure out why I couldn't install my packages (like arcgis) using the ArcGIS Pro python package, only to find out that I had to disable the security first. So, in python commnad window type: conda config --set ssl_verify false Then you will have no problems.
... View more
09-13-2017
02:39 PM
|
0
|
3
|
3538
|
|
POST
|
Robert, why going directly to the configs/AttributeTable and changing the setting "hideExportButton" to false in the config_AttributeTable.json will not have any effect? It will still hide it the Export option. Thanks.
... View more
09-08-2017
08:48 AM
|
0
|
1
|
3289
|
|
POST
|
Robert, I just did just that and I checked the config for the attribute table that has the: "hideExportButton": false, but still the export is not present
... View more
09-01-2017
10:58 AM
|
0
|
5
|
3289
|
|
POST
|
I have a number of config.json files under the config folder of the app and I was wondering if I can select the config.json file based on the user's action at runtime. In other words, can I use something like this.config="configA.json"? If yes, what is the proper path syntax to point to the correct json file? I know another way is to use the custom config as a url parameter but this app is not possible. Ideas? Thank you.
... View more
07-19-2017
04:34 PM
|
0
|
0
|
765
|
|
POST
|
Look at the code under the folder named "editors" of the ESRI's geoprocessing widget. You will see how they handle post with url or files (csv, shapefiles)....
... View more
06-27-2017
08:50 AM
|
2
|
0
|
6622
|
|
DOC
|
The local browser cache has been very problematic for me. I stripped out the code and in the modified version you can save the current session to the download folder. It works well and saves the basemap as well. The modified widget is part of https://community.esri.com/thread/195193-app-with-modified-widgets-and-buffer-tool
... View more
06-02-2017
09:37 AM
|
0
|
0
|
17875
|
|
DOC
|
Hello. I modified the savesession script to just store the current settings including the basemap. It has been tested. The script is part of the application posted at: https://community.esri.com/thread/195193-app-with-modified-widgets-and-buffer-tool You can easily get widget from this app.
... View more
05-30-2017
08:55 AM
|
0
|
0
|
17875
|
|
POST
|
This application is posted here for information sharing and hopefully other geonet users find it useful to use. It is developed based on the Jewelry theme. Its purpose is to provide: an easy and quick way for users to add/remove maps by simply checking/unchecking. obtain the buffer around a drawn point or line for up to 5 layers simultaneously. save the session. In a word, the intention is to create a simple application to use and easy to enhance. This application uses some modified widgets posted by other users and a new widget, the “Buffer Selection”. If you find any issues, please post them and I will try to address them, time permitting. The application includes the following widgets: GIS Library: A modified version of the AddLayer Widget . With a single click it makes a layer active. This modified version includes tab and sub-tabs to further classify your different types of layers to your customers. For the purpose of this demonstration, some public web map services are included. The names of the tabs can be defined in strings.js. Thanks to Robert Scheitlin, GISP for resolving a glitch with the strings. The layers which are posted on this widget are based on the config file of this widget. { "type": "Feature", "url": "https://services.nationalmap.gov/arcgis/rest/services/govunits/MapServer/12", "name": "Native American Area", "id": "Feature", "subject": "Subject A", "opacity": 0.6, "visible": true, "showLabels": true, "autorefresh": 0, "mode": "ondemand" }, In the config file, every block of each layer, the “subject” field is necessary, so it defines the tab that the layer will be placed under. The last tab is labelled “Actions”. This is a modified version of the SaveSession Widget . The widget was modified to address some issues of restoring a saved session. This version of widget, it also saves in the session: the selected basemap and all drawn custom graphics including the buffer zone. The Esri's Draw widget has been modified to allow the users to determine if any resources are within a user-defined buffer. When users draw a polyline or a point on the map, they can right-click on the drawn feature and initiate the buffer tool. (Watch the video at the end of this post). The Buffer Selection Widget It allows to select up to 5 layers to perform the buffer task. User must also specify the buffer distance from the selected graphic. The results, if any, they will appear at the Attribute table and the buffer results for each layer will appear as"<layer name> Buffer" on the Attribute Table. The Identify Widget Version 2.4 - 03/28/2017 is a modified version of Robert Scheitlin's widget. Only the layers which are active on the map are available for this widget. The config for this widget is not used. The following widgets are included with no modifications: Popup Panel Widget Version 2.4 - 03/28/17 , Legend, Layer List and Basemap A short youtube video is posted at GIS Library - YouTube to outline this app functionalities. Sorry for the poor video quality.
... View more
05-17-2017
12:01 PM
|
2
|
0
|
2962
|
|
POST
|
Thank you. I posted the zip file you provided to me and no errors appear!! This is bizarre. I run the notepad++ compare module and saw no differences between original versions of strings.js and widget.htm and the same ones in the zip filel!!!
... View more
05-16-2017
11:35 AM
|
0
|
1
|
1634
|
|
POST
|
ok. The code I provided to you without the syntax errors still shows the same error as the actual code. If you don't see the same "dijit._WidgetsInTemplateMixin template:nls.subjectA" error then I can't explain what's wrong with it. Thank you anyway.
... View more
05-16-2017
08:18 AM
|
0
|
3
|
1634
|
|
POST
|
The actual widget is 3 times bigger so I created this smaller version so I can send it to you. The original widget does not have any syntax errors but it seems when I created these two files in the smaller version, I rushed. The original string.js and widget.html have the same scripts as the ones you posted here and I get the error that I stated in my original posting. Thank you.
... View more
05-16-2017
07:54 AM
|
0
|
5
|
1634
|
|
POST
|
This is a modified version of the Add Layer widget where I added tabs. Thank you.
... View more
05-15-2017
10:03 AM
|
0
|
7
|
2395
|
|
POST
|
Yeap.... define([----
"jimu/BaseWidget",
'dijit/_WidgetsInTemplateMixin',
------
---------
],
function (
-----
-----
BaseWidget,
_WidgetsInTemplateMixin,
-----
-----
) {
return declare([BaseWidget, _WidgetsInTemplateMixin], {
-----
-----
... View more
05-12-2017
11:34 AM
|
0
|
9
|
2395
|
|
POST
|
I don't know either. I cleared my cache and I even run the app on another workstation. I am working directly on the app folder and not the sitemap. Yes, I do get the same error. Perhaps the error is not originated from the format but instead of how the template in WidgetsInTemplateMixin is expecting the string? HTML <div >
<br / >
<div class="help-text"><span style="color: blue">Check to add up to <span style="color: red; font-weight: bold; font-size: 200%">5 layers </span> to the map</span></div>
<br / >
<div data-dojo-type="dijit/layout/TabContainer" style=" height: 700px; width: 630px; " >
<div data-dojo-type="dijit/layout/ContentPane" title="${nls.subjectA}" >
<div data-dojo-attach-point="layerListSubjectA"> </div>
</div>
<div data-dojo-type="dijit/layout/TabContainer" title="${nls.subjectB}" nested="true">
<div data-dojo-type="dijit/layout/ContentPane" title="${nls.subjectB1}" data-dojo-props="selected:true" style="">
<div data-dojo-attach-point="layerListSubjectB1"> </div>
</div>
<div data-dojo-type="dijit/layout/ContentPane" title="${nls.subjectB2}">
<div data-dojo-attach-point="layerListSubjectB2"> </div>
</div>
</div>
--------
------- strings.js define({
root: ({
subjectA: "Subject A",
subjectB: "Subject B",
subjectB1: "Subject B1",
subjectB2: "Subject B2",
---------
---------
... View more
05-12-2017
08:51 AM
|
0
|
0
|
2395
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-09-2026 12:44 PM | |
| 1 | 06-08-2026 12:12 PM | |
| 1 | 06-19-2025 10:13 PM | |
| 3 | 02-06-2026 10:44 AM | |
| 1 | 01-08-2026 12:50 PM |
| Online Status |
Offline
|
| Date Last Visited |
Tuesday
|