|
POST
|
Hi. I've created a web appbuilder application containing several grouped layerlists, one containing all layers, one with all the line-layers and another one with polygon layers. This works fine in web appbuilder and when I deploy the application to my application server. I need to use the same application for other clients, so I've created a pythonscript which copies the original application and changes the map itemId in config.json. The layers in the new map used in the new application has the exact same name as the layers as the old map. All of the other widgets (chart, filter and query) works fine for the new application, but not the LayerLists. It seems that there are something wrong with the "display": property in the LayerList config. The layerlist shows layers even if the display-property is set to false. As you can see in the attached picture, the two "red outlined" layers are visible, but the property in the json-file is set to false. Does anyone know what might be wrong?
... View more
02-04-2022
02:10 AM
|
0
|
0
|
652
|
|
POST
|
Thank you for the quick reply! The problem was solved using your description 🙂
... View more
02-04-2022
01:34 AM
|
0
|
0
|
1946
|
|
POST
|
Hi. I'm upgrading ArcGIS Enterprise for one of my clients from ArcGIS Enterprise 10.7.1 to 10.9.1. I've installed ArcGIS Portal and that works fine, but when I try to continue the upgrade process after choosing the license file, the upgrade fails after 30-45 minutes. When I look at the Portal log file, the message is Failed to execute SQL file '...ArcGIS\Portal\framework\template\sql\data.sql' and that there are a duplicate key value which violates the unique constraint "gw_groups_pkey" and the key is listed. I've looked into data.sql and found the object on the same line as the logfile mentions. The object which might have a duplicate ID is the "Navigator Maps"-group. And there are lots of other errors (~30000) following the first error (current transaction is aborted, commands ignored until end of transaction block). Does anyone know what might be wrong here? I've tried running the upgrade in both Internet Explorer and Firefox, and I've tried restarting the ArcGIS Portal service, with no luck.
... View more
01-24-2022
02:05 PM
|
0
|
2
|
2044
|
|
IDEA
|
I'd like to see a new and relatively simple widget in ArcGIS Dashboard. It's a analog (or digital) clock. One of my users is going to show the dashboard on a big screen in their office, and wants to see the time.
... View more
01-13-2022
03:28 AM
|
4
|
5
|
2558
|
|
POST
|
It seems like this error still exists in ArcGIS Pro 2.9. Do you know if that's correct?
... View more
12-02-2021
04:47 AM
|
0
|
6
|
5129
|
|
POST
|
Hi. I've created script for adding a webmap to my ArcGIS Enterprise (Portal). I've exported a webmap as a json-file (operationalLayers and tables), and I'm using this file for creating the webmap in Python. First I define the properties of the webmap (title, type, tags), then read the json-file and then change the urls and itemids found in the file. The creation of the web map is done by this python method: webmapItem = gis.content.add(item_properties=webmap_item_properties) This method works fine, but some of the layers contains scandinavian characters (æ, ø å) and these layers gets these names: The same happens for attribute aliases. I can't find any information about changing encoding in the gis.content.add - method. Does anyone have a solution for this? Torbjørn
... View more
11-09-2021
04:56 AM
|
0
|
0
|
691
|
|
POST
|
I used another account when adding the new modules. The user running ArcGIS Server doesn't have administrator-priviliges on the server.
... View more
08-15-2021
02:29 AM
|
0
|
0
|
2457
|
|
POST
|
There's been registered two bug related to this issue, so the problem is being solved as we speak hopefully.
... View more
08-12-2021
11:19 PM
|
0
|
2
|
1800
|
|
POST
|
ArcGIS Server is running with the same Windows account specified during installation. I tried adding some new modules to arcgispro-py3, which is the environment ArcGIS Server uses. Might that be causing the problem?
... View more
08-12-2021
11:07 PM
|
0
|
0
|
2481
|
|
POST
|
I've created a pythonscript which I've published as a geoprocessing service. The script contains several third party modules (azure, pyodbc). When I try to run the service, it fails as soon as the arcpy-module is being initialized. Traceback (most recent call last): File "C:\arcgisserver\directories\arcgissystem\arcgisinput\PipeRenewal_Deployment.GPServer\extracted\p20\production\Deployment.py", line 1, in <module> import arcpy File "c:\program files\arcgis\server\framework\runtime\arcgis\Resources\arcpy\arcpy\__init__.py", line 21, in <module> import numpy File "<frozen importlib._bootstrap>", line 971, in _find_and_load File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 665, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 674, in exec_module File "<frozen importlib._bootstrap_external>", line 780, in get_code File "<frozen importlib._bootstrap_external>", line 832, in get_data PermissionError: [Errno 13] Permission denied: 'C:\\Program Files\\ArcGIS\\Server\\framework\\runtime\\ArcGIS\\bin\\Python\\envs\\arcgispro-py3\\Lib\\site-packages\\numpy\\__init__.py' Does anyone know what might be causing this error? I can't see any difference in folder permissions for the numpy-folder.
... View more
08-12-2021
06:08 AM
|
0
|
6
|
2530
|
|
POST
|
Hi. I'm trying to create a Dashboard using the arcgis.apps.dashboard library, and I've got a problem creating charts. I've succeeded in creating a empty chart and adding it to a new dashboard, but as soon as I try to add a valuefield I get an exception. The chart is using groupByValues, so I need to add a field using the function add_value_field(). I pass the fieldname through this function like this: chart = SerialChart(item = webmap, layer=0, name="Test Chart", title = "Test Title", categories_from = "groupByValues") chart.data.add_value_field("PriKlasse") Then I get this exception: ~\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone1\lib\site-packages\arcgis\apps\dashboard\_serialchart\_serial_chart.py in _field_type(self, field_name)
1046
1047 def _field_type(self, field_name):
-> 1048 f_type = self._item.tables[0].query().sdf[field_name].dtype
1049 return f_type
1050
IndexError: list index out of range The error seems to be the same as described in this post: https://community.esri.com/t5/arcgis-api-for-python-questions/creating-dashboard-elements-with-geojson/m-p/1024505
... View more
04-16-2021
05:36 AM
|
0
|
3
|
1950
|
|
POST
|
That's great news, @TonghuiMing. Do you know the status of this bug in Portal for ArcGIS / ArcGIS Enterprise? Will there be a hotfix for Web AppBuilder Developer?
... View more
04-14-2021
12:28 PM
|
0
|
1
|
1911
|
|
POST
|
I have exactly the same problem, with both the Filter Widget and Query Widget. I'm really looking forward to a resolution on this.
... View more
04-09-2021
12:35 AM
|
1
|
0
|
1942
|
|
POST
|
Hi . I've created a pythonscript which updates several scene services in ArcGIS Portal by deleting the existing scenes and creating new ones. I'm using the arcgis python library. The script work fine when working with one group in Portal, but not when publishing to another group. When executing the script, the first items is being published ok, but the following scenes won't be published. I get this error: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\toda\\AppData\\Local\\Temp\\15\\split.part3' This is a part of my script: lineItems = gis.content.search('title:3D{}_lines'.format(kommuneNr))
if lineItems:
print("Line exists")
for i in range(0, len(lineItems)):
lineItem = lineItems
itemType = lineItem.type
lineItem.delete()
print("Deleted "+itemType+" for lines")
linePackage_item = gis.content.add(item_properties = linePackage_properties,
data = linePackage)
lineSceneService = linePackage_item.publish()
linePackage_item.share(groups=gruppe.id)
lineSceneService.share(groups=gruppe.id) The traceback shows the error originates in the add_by_part in the gis-module: File "C:\Users\XXX\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone\lib\site-packages\arcgis\gis\__init__.py", line 3384, in add size=1e7) File "C:\Users\XXX\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone\lib\site-packages\arcgis\gis\__init__.py", line 3128, in _add_by_part os.remove(ffile) Does anyone know what might be wrong? Do I have to manually delete the content of the Temp\15 directory?
... View more
10-23-2020
02:43 AM
|
0
|
0
|
1202
|
|
POST
|
No, you don't have to re-upload the file. Since your file is hosted (feature service), you can add it to a map and then edit the features (add, edit and delete).
... View more
08-15-2019
11:52 AM
|
0
|
0
|
853
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-27-2025 05:20 AM | |
| 1 | 01-17-2023 03:13 AM | |
| 1 | 01-17-2023 11:45 PM | |
| 1 | 03-30-2023 08:09 AM | |
| 1 | 08-23-2024 05:01 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-03-2025
01:23 AM
|