|
POST
|
07-09-2020
10:24 AM
|
0
|
5
|
4069
|
|
POST
|
I tried: BACKUP_LOCATION = "C:\\Make Believe Folder" But WebGISDR says: Cannot access the location "C:\Make Believe Folder". And Process Monitor says that the program is trying to access the following path: C:\Program Files\ArcGIS\Portal\tools\webgisdr\"C:\Make Believe Folder" I know the C drive is a little contrived. However, my real destination is likely going to be quite similar (e.g. "Z:\") because we use mapped network drives at my company. I'm using ArcGIS Enterprise 10.7.1 on Windows Server 2019.
... View more
07-08-2020
09:09 PM
|
0
|
7
|
4277
|
|
POST
|
Good catch. I tried installing 1.9.5 with pip and it succeeds: "Successfully installed pylint-1.9.5" but when I run pylint, I get: C:\Python27\ArcGIS10.7\Scripts>pylint.exe Traceback (most recent call last): File "c:\python27\arcgis10.7\lib\runpy.py", line 174, in _run_module_as_main "__main__", fname, loader, pkg_name) File "c:\python27\arcgis10.7\lib\runpy.py", line 72, in _run_code exec code in run_globals File "C:\Python27\ArcGIS10.7\Scripts\pylint.exe\__main__.py", line 9, in <module> File "c:\python27\arcgis10.7\lib\site-packages\pylint\__init__.py", line 15, in run_pylint from pylint.lint import Run File "c:\python27\arcgis10.7\lib\site-packages\pylint\lint.py", line 64, in <module> import astroid File "c:\python27\arcgis10.7\lib\site-packages\astroid\__init__.py", line 136, in <module> __import__(module[:-3]) File "c:\python27\arcgis10.7\lib\site-packages\astroid\brain\brain_functools.py", line 7, in <module> from astroid import extract_node ImportError: cannot import name extract_node
... View more
06-17-2020
02:31 PM
|
0
|
0
|
1397
|
|
POST
|
I tried to install pylint in my Python 2 environment and ran into the problem described at pylint2 crashes with "unexpected keyword argument 'inline_comment_prefixes'" · Issue #1318 · PyCQA/pylint · GitHub . Has anyone been able to get pylint to run in the Python environment that ArcGIS for Desktop 10.7.1 (aka ArcMap) creates? I tried to update the future module and got: C:\Python27\ArcGIS10.7\Scripts>pip install future --upgrade Collecting future Installing collected packages: future Found existing installation: future 0.15.2 Cannot uninstall 'future'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall. You are using pip version 18.1, however version 20.2b1 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command. Extra Details: - Path to Python: "C:\Python27\ArcGIS10.7\python.exe" - Version: Python 2.7.16 (v2.7.16:413a49145e, Mar 4 2019, 01:30:55) [MSC v.1500 32 bit (Intel)] on win32
... View more
06-17-2020
11:00 AM
|
0
|
2
|
1458
|
|
POST
|
I'm actually using the 3.* API. I referred to 4.* to give an example of what I was looking for.
... View more
06-08-2020
09:56 PM
|
0
|
1
|
1253
|
|
POST
|
I'm glad the Python API should work on a machine that only has Portal and AGS. Thankfully, Firefox did not die while I published the SD file so I did not have to resort to Python.
... View more
06-08-2020
03:15 PM
|
0
|
0
|
2012
|
|
POST
|
I am working from home with an Internet connection that is not reliable enough to last through publishing a >2 GB map service to Portal/AGS. I saw that Pro created an SD file in %localappdata%\esri\ArcGISPro\Staging\SharingProcesses\0045 and I know that the SD file can be uploaded directly to ArcGIS Enterprise (Server Manager, Python API, etc.). I have copied the SD file to the server's local hard drive. I'm guessing that if I try to use Server Manager to upload the SD file (from inside a RDP connection), the web browser might be unhappy about moving a multi-GB file. Can use the ArcGIS API for Python to publish (as described at https://developers.arcgis.com/python/sample-notebooks/publishing-sd-shapefiles-and-csv/ ) the service from the server to the local instance of ArcGIS Server/Portal? System Details: - ArcGIS Enterprise 10.7.1 - Windows Server 2019
... View more
06-06-2020
03:36 PM
|
0
|
2
|
2101
|
|
POST
|
AGOL says that "cluster_count" is an available field in clustered layers. What are the names of the other fields used by the default clustering popup? I would like to customize the popup and reformat the existing popup. I know that in 4.*, they are: cluster_count cluster_avg_{fieldName} cluster_type_{fieldName} But the last 2 fields don't work in 3.x.
... View more
06-03-2020
04:29 PM
|
0
|
3
|
1321
|
|
POST
|
Limitations of App Login | ArcGIS for Developers says: "Tokens obtained by applications may read premium content and services hosted by Esri and consume credits on behalf of the application organization."
... View more
06-03-2020
09:55 AM
|
0
|
0
|
753
|
|
POST
|
My Portal has a user intended to provide read-only access to existing map service so its user type is "Viewer". I would like my JS API application to use that. The JS API documentation says I should register an application for that purpose. How do I register an application in a "Viewer" user type? Is it possible to register the application as myself (an admin) and then move the item to the "Viewer" account? I don't want the JS API application to get my admin powers.
... View more
05-19-2020
09:35 PM
|
0
|
2
|
1384
|
|
POST
|
The Resource Proxy documentation says that "In general, it is not permitted to embed credentials in a resource proxy for the purpose of bypassing Named User authentication (i.e. the principle that each end-user must have their own unique login)." If that's true, then why is it permissible to use the ArcGIS Online Proxy Services and the aforementioned Resource Proxy to access services like the AGOL routing service or geoenrichment services? Aren't all of those things normally accessed through a Named User login in AGOL?
... View more
05-19-2020
09:31 PM
|
0
|
1
|
804
|
|
POST
|
ESRI support confirmed that this is a bug in the JavaScript API.
... View more
05-19-2020
09:35 AM
|
0
|
0
|
969
|
|
POST
|
I didn't realize that even though I was logged in as the original publisher (aka the AGS built-in "admin" account) and had admin rights in Portal, I couldn't share it to the desired group because that all-powerful account wasn't a member of the groups. Once I added that account to a group, I could login as the built-in admin user and share the content just like you said.
... View more
05-11-2020
11:27 PM
|
0
|
0
|
1414
|
|
POST
|
I have some old (Python 2) geoprocessing scripts that I used to share by publishing them to ArcGIS Server. Now that my company's 10.7.1 AGS install is federated with Portal, I can't find a way to publish the same scripts to Server via Portal. I managed to publish directly to AGS but I'm not sure how to add the content to the existing groups in Portal. I don't want everyone in my company to see the services; just a few people. I noticed that the Portal administrator can see my stuff but I'd hate to give those credentials to all of our company's applications that use the GP services.
... View more
05-07-2020
09:16 AM
|
0
|
3
|
1481
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-31-2022 04:52 PM | |
| 1 | 10-14-2020 12:58 PM | |
| 1 | 12-15-2021 12:18 PM | |
| 2 | 11-24-2020 05:15 PM | |
| 1 | 02-01-2021 03:42 PM |
| Online Status |
Offline
|
| Date Last Visited |
08-28-2025
03:21 PM
|