|
POST
|
I have installed ArcGIS Maps for Sharepoint on a Sharepoint 2019 Foundation/Server farm, and configured it with a site collection to connect to our ArcGIS 10.8.1 Enterprise. For the most part things work as expected except for one key component: I cannot add our own Enterprise layers (layers hosted on our ArcGIS Server) to the Map web part. I am able to search our organization for layers and show results, but once I click the Add button, it just spins and the layer never adds. However, I can add layers that are hosted on ArcGIS Online (such as Living Atlas or other layers pointing to FeatureServices on a publicly accessible ArcGIS Server). This would indicate that possibly our Sharepoint servers do not have correct DNS entries for our own Enterprise, but I have confirmed that they do have the correct entries. Furthermore, I cannot find anything in the logs. Has anyone seen this / have any suggestions?
... View more
02-19-2021
06:12 AM
|
0
|
1
|
1313
|
|
POST
|
@AndyGup - Andy, correct me if I'm wrong, but this didn't seem to be resolved with 4.18. I threw together a quick github repo to reproduce errors @ https://github.com/crackernutter/vuejs3-arcgisapi-test Curious if you think this might be resolved at 4.19? I was waiting to develop a couple apps until VueJS 3.x compatibility with your API was resolved. If this isn't in the pipeline for the near term that's fine - I would just love to know. I would hate to move forward with VueJS 2.x development only to have this issue resolved in March.
... View more
12-18-2020
06:31 AM
|
0
|
0
|
11851
|
|
POST
|
In your first solution, you read from a file geodatabase. The machine I'm working on only has the Python API installed, not arcpy, and according to https://developers.arcgis.com/python/guide/introduction-to-the-spatially-enabled-dataframe/ it seems like I'll be unable to work with gdb feature classes. Regarding the second option, my source data is a spatially enabled dataframe, which I can't publish natively using the Python api. So will I need to export it to a shapefile to do this? Publish as a shapefile, then on each subsequent overwrite (I need to overwrite not update), export to a shapefile, zip up, then overwrite?
... View more
12-14-2020
05:05 AM
|
0
|
1
|
4854
|
|
POST
|
Another issue is that I don't have access to Arcpy on this machine, so according to https://developers.arcgis.com/python/guide/introduction-to-the-spatially-enabled-dataframe/ I can only export to shapefile.
... View more
12-08-2020
10:57 AM
|
0
|
5
|
4956
|
|
POST
|
I am curious as to the correct workflow to a) publishing a spatially enabled data frame containing polygon data as a hosted feature layer (one time only to create the feature layer) b) overwrite and/or update the hosted feature layer with a new spatially enabled dataframe - same schema but different data. There are multiple ways to achieve a - sdf.spatial.to_featurelayer being the easier, but I have been unable to overwrite / update the resultant layer. From https://developers.arcgis.com/python/sample-notebooks/publishing-sd-shapefiles-and-csv/, it seems like my only option is to export the sdf to a shapefile, zip up the shapefile, publish from that, and then follow the same process (export to shapefile and zip) to update? Is that my only option? I hesitate to use shapefiles because of some of the nuances of their field names, date types, etc. etc.
... View more
12-08-2020
10:22 AM
|
0
|
6
|
4991
|
|
POST
|
I have created a hosted feature table (no location information) from a CSV in my 10.8.1 Portal. Trying to programmatically update this keeps throwing an error: feature_table_item = Item(GIS, itemId) #this points to a hosted feature table
flayer_collection = FeatureLayerCollection.fromitem(feature_table_item)
flayer_collection.manager.overwrite(path_to_csv) The error is ---------------------------------------------------------------------------
IndexError Traceback (most recent call last)
<ipython-input-25-263240bbee7e> in <module>
----> 1 main()
<ipython-input-24-7c9cf54f40f6> in main()
8 if IsNewData(csv, cdcili):
9 print('loading')
---> 10 load(csv, cdcili)
11 #UpdateCovidDashboard("CDC ILI Data")
12 #mail("CDC ILI finished at {}".format(datetime.datetime.now()),"CDC ILI Success", getEmailsFromFile(__file__, 'emails.txt'))
<ipython-input-18-6d8668ce2733> in load(csv, cdcili)
72 def load(csv, cdcili):
73 cdc_flayer_collection = FeatureLayerCollection.fromitem(cdcili)
---> 74 return cdc_flayer_collection.manager.overwrite(csv)
~\AppData\Local\ESRI\conda\envs\EIM\lib\site-packages\arcgis\features\managers.py in overwrite(self, data_file)
1361 "useDescription" : "on"
1362 }
-> 1363 lyr_url_info = "%s/layers" % feature_layer_item.layers[0].container._url
1364 fs_url = "%s" % feature_layer_item.layers[0].container._url
1365 layer_info = self._gis._con.get(lyr_url_info, {'f' : 'json'})
IndexError: list index out of range I can see that is looking for the first item in the layers attribute. However, flayer_collection.layers is an empty array, which explains the IndexError flayer_collection.tables however is an array with one table item: [<Table url:"https://MyGISServer/arcgis/rest/services/Hosted/MyTable/FeatureServer/0">] So why does the update method only call on the layers attributes instead of whichever attribute (layers or table) contains the service URL. Ostensibly a hosted feature layer / table will only have ONE service anyway (as opposed to a MapService). Is there an accepted workaround here or am I missing something?
... View more
12-04-2020
09:32 AM
|
0
|
3
|
2863
|
|
POST
|
@JohnGrayson Very interesting - I guess that would explain it, though it doesn't really make it easier to explain to my users. So the top of an extruded polygon will be closer to the ground in the center than the edges because it's only extruded at the edges and the earth curvature is convex w/r/t the polygon (see image).
... View more
12-03-2020
11:35 AM
|
0
|
1
|
5445
|
|
POST
|
So the takeaway from this is there is no reliable way for our users to share maps and applications that are configured with Living Atlas content to anonymous users? We have an on-premise ArcGIS Enterprise, and some of our users create maps and applications that have Living Atlas content, but because of this, they are unable to share this content with the organization without requiring users to have accounts (even Viewer accounts) and login?
... View more
11-25-2020
06:34 AM
|
0
|
0
|
1531
|
|
POST
|
I have users that compare (visually) elevations of different features in a JS API 4.11 SceneView. I've noticed different behavior based on whether the SceneView viewingMode is global or local in the application, and I was hoping someone could explain it to me so I can explain it to my users. For example, I have a roughly 40x40 mile polygon extruded to 16500 feet, and then plot a plane flight path that does not get higher than 16400 feet. When the SceneView viewingMode is set to global, the plane appears above the extruded polygon (by about 330 feet). But when the viewingMode attribute is set to local, the plane, as expected, appears below the roof of the polygon. Please see attachments for screenshots. I was hoping someone could explain to me why this is happening. Thanks!
... View more
11-25-2020
06:10 AM
|
0
|
4
|
5493
|
|
POST
|
Thanks - I've tested with a different service on a different ArcGIS Enterprise and this seems to be being caused by a different issue altogether, perhaps how the Server is setup, since it is not federated with Portal. Testing with a different service worked, but upgrading to 1.8.2 and testing with the original service still gave the same error. Unclear why 1.7.0 doesn't give this error, but will continue digging.
... View more
11-17-2020
05:26 AM
|
1
|
1
|
2392
|
|
POST
|
This error / bug does not occur in version 1.7.0. To reproduce: from arcgis.gis import server
from arcgis.features import FeatureLayer
gis = server.Server(serverAdminEndpoint, username=username, password=password, verify_cert=False)
fl = FeatureLayer(restrictedFeatureLayerUrl, gis=gis)
features = fl.query() The last line generates a JSON Decode error. I've tried various parameters in the fl.query (e.g., as_df, outFields, returnGeometry, etc. etc.) and nothing seems to work. This code was working as 1.7.0, and when I downgraded by arcgis version to 1.7.0 on the same environment that had been generating the error, the code worked.
... View more
11-16-2020
05:52 AM
|
0
|
3
|
2490
|
|
POST
|
My understanding is that Pro using Python 3. So if I were to create a script toolbox in ArcGIS Pro, I would be using Python 3 and the packages installed with the default arcgispro-py3 conda environment. So if I tried to publish this script toolbox to ArcGIS Server 10.8.1 to expose the tool as a geoprocessing service, and since Server uses Python 2.7, will executing this geoprocessing service not work? Do I need to still be writing script tools in ArcMap in order to expose them as geoprocessing services? Thanks!
... View more
11-12-2020
08:48 AM
|
0
|
2
|
3686
|
|
POST
|
We have configured our ArcGIS Enterprise 10.6.1 with Living Atlas content using an AGOL account. However, I'm unclear if it is intended / allowed for Portal administrators to be able to share Living Atlas content with the entire organization (aka without having users login). If I find a Living Atlas layer, and then adjust the sharing to it is shared with Everyone, and a user adds this layer to the map, and then shared the map with Everyone, users are still getting error messages saying they do not have sufficient permissions to add the layer. Is this intended behavior? If so, how can we (or can we period) share Living Atlas content configured with Enterprise with anonymous users.
... View more
11-10-2020
05:13 AM
|
0
|
2
|
1592
|
|
POST
|
Thanks Andy! I'm glad you're aware of it, and it's on your fix radar.
... View more
11-04-2020
12:25 PM
|
0
|
0
|
12001
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 02-23-2026 11:00 AM | |
| 1 | 07-08-2025 11:33 AM | |
| 1 | 11-07-2023 08:32 AM | |
| 2 | 10-01-2025 06:52 AM | |
| 5 | 09-08-2025 07:31 AM |
| Online Status |
Offline
|
| Date Last Visited |
06-04-2026
01:35 PM
|