|
POST
|
@David_Brooks, You could so something like below: import arcpy
project = r"C:\Projects\Example.aprx"
aprx = arcpy.mp.ArcGISProject(project)
for m in aprx.listMaps():
print(f"Map: {m.name}")
for lyr in m.listLayers():
print(f"\t{lyr.name}")
if lyr.isBasemapLayer == False:
results = arcpy.GetCount_management(lyr)
count = results.getOutput(0)
if count == '0':
print(f"Removing {lyr.name}")
m.removeLayer(lyr)
aprx.save()
... View more
03-16-2022
10:44 AM
|
0
|
0
|
3350
|
|
POST
|
@amarcz_cc, Here's an example on how to iterate through an Enterprise Geodatabase and find which feature classes have attribute rules. import arcpy
# Geodatabase
gdb = r"C:\data\gis.sde"
# Set workspace
arcpy.env.workspace = gdb
# Iterate through each feature class
for dataset in arcpy.ListDatasets("*"):
for fc in arcpy.ListFeatureClasses("*", feature_dataset=dataset):
# Check if feature class has attribute rules
attRules = arcpy.Describe(fc).attributeRules
try:
if attRules[0].name != None:
print(fc)
# Export Attribute Rules
except:
pass
for fc in arcpy.ListFeatureClasses("*"):
# Check if feature class has attribute rules
attRules = arcpy.Describe(fc).attributeRules
try:
if attRules[0].name != None:
print(fc)
# Export Attribute Rules
except:
pass
... View more
03-16-2022
10:25 AM
|
1
|
4
|
5590
|
|
POST
|
Try deleting the hostname in the HTTPS binding (see below). Leave the hostname blank:
... View more
03-16-2022
04:21 AM
|
0
|
0
|
2305
|
|
POST
|
Hi @miminuton , Try the Points to Lines tool in ArcGIS Pro.
... View more
03-15-2022
12:43 PM
|
0
|
0
|
641
|
|
POST
|
Hi @PlaninforAdmin, If you go to IIS Manager>Machine Name>Sites>Default Web Site>Bindings, is there a hostname set there? If so, try deleting this and see if the configuration wizard will let you proceed.
... View more
03-15-2022
12:41 PM
|
0
|
0
|
2319
|
|
DOC
|
@JonathanWhite1 I updated the code to work with hosted feature services that contain views, or have sync enabled.
... View more
03-07-2022
09:27 AM
|
0
|
0
|
60027
|
|
DOC
|
@GISREAL below is a video that walks through the workflow: https://www.youtube.com/watch?v=WpLJBZ9gnuw
... View more
02-28-2022
04:33 AM
|
0
|
0
|
17498
|
|
DOC
|
@CarsonG try the following tool instead: https://community.esri.com/t5/arcgis-online-documents/overwrite-arcgis-online-feature-service-using/tac-p/1143332#M1494
... View more
02-14-2022
05:34 AM
|
0
|
0
|
11298
|
|
DOC
|
@StaciSutermaster I don't have much experience with Insights, but the script is simply performing a truncate/append. I'm not sure how this would affect anything with the Insights application. Does this occur for any feature service in any insight notebook?
... View more
02-13-2022
01:19 PM
|
0
|
0
|
60335
|
|
POST
|
@Taladi is the SAN set to the DNS alias, or the Fully Qualified Domain Name of the server that's hosting the web adaptor?
... View more
01-28-2022
03:57 AM
|
0
|
1
|
3144
|
|
DOC
|
@amcsparron2793 can you send a screen shot of how you have the tool configured?
... View more
01-25-2022
03:54 AM
|
0
|
0
|
36438
|
|
POST
|
@Taladi, Does your certificate have a Subject Alternative Name? Chrome requires SSL Certificates to list the site name(s) in the subject alternative name (SAN) to be trusted. Usage of common name only is not seen as secure enough, and will result in a certificate validation error in Chrome.
... View more
01-20-2022
06:09 AM
|
1
|
4
|
3185
|
|
POST
|
@ZainabAkhtar, After you install ArcGIS Data Store application on a dedicated server, you will have an option to configure a data store. You will choose "Spatiotemporal" as the data store and then configure this with your ArcGIS Server instance that is federated with Portal. A common misconception is that you will configure the Spatiotemporal data store with GeoEvent. That is not the case. Once the Spatiotemporal Data Store is configured with your federated ArcGIS Server Instance, you will be able to create outputs in GeoEvent that write data to this data store. To do this, make sure you have a connection in GeoEvent to your ArcGIS Enterprise instance: This must be selected for Create Data Source to be active when creating an Big Data Store output:
... View more
01-18-2022
04:24 AM
|
0
|
0
|
4080
|
|
POST
|
@NinaOberg , 1. Check to make sure you're signed into Portal/ArcGIS Online 2. What type of layer are you trying to share (i.e. feature class, shapefile)?
... View more
12-23-2021
08:08 AM
|
0
|
0
|
4614
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-08-2026 12:27 PM | |
| 4 | 05-07-2020 05:14 PM | |
| 1 | 03-25-2026 04:16 AM | |
| 1 | 03-16-2026 01:00 PM | |
| 1 | 12-22-2025 10:39 AM |
| Online Status |
Offline
|
| Date Last Visited |
Thursday
|