|
POST
|
It's a browser thing. It seems modern browsers prevent this intentionally for security. You could try some browser extensions to allow it (at your own risk).
... View more
02-26-2024
06:26 AM
|
0
|
2
|
1569
|
|
POST
|
You don't need to be a statistics professor, but it certainly helps to have some baseline knowledge about how to use and interpret the result of a geoprocessing tool. Could you name the particular tools you are interested in?
... View more
02-23-2024
07:38 AM
|
0
|
1
|
1726
|
|
POST
|
You would probably start with converting each graphic to JSON. From there, I only know of Python being able to turn that JSON into a geodatabase feature class, then export the feature class to shapefile. How exactly you implement that workflow can vary depending on your server capabilities and how much you need it to be automated.
... View more
02-21-2024
09:50 AM
|
1
|
0
|
1180
|
|
POST
|
When moving a post, there is an option to notify the author of the post, but it is at the bottom of the page and not checked by default. It's likely the person moving it simply did not check that box.
... View more
02-16-2024
08:11 AM
|
0
|
0
|
1288
|
|
POST
|
Use strftime() and the formatting codes to get the date/time formatted however you like. datetime — Basic date and time types — Python 3.12.2 documentation
... View more
02-16-2024
06:59 AM
|
0
|
0
|
1784
|
|
POST
|
I don't think it's possible to add a field to a hosted feature layer using the ArcGIS Maps SDK for JavaScript directly. You could possibly use the ArcGIS API for Python to create a geoprocessing tool that adds a field, host that geoprocessing tool as a geoprocessing service, then call that GP service from JS.
... View more
02-16-2024
06:09 AM
|
0
|
1
|
1152
|
|
POST
|
Here's an example. You can use the "click" event on the view instead of "pointer-move." Then do some Ajax thing to send the ObjectID to your server; consider the native Fetch API.
... View more
02-15-2024
09:25 AM
|
0
|
0
|
869
|
|
POST
|
You should post this to ArcGIS Experience Builder Ideas.
... View more
02-15-2024
09:00 AM
|
0
|
0
|
1939
|
|
POST
|
Hopefully I understand your question correctly and I don't have it backwards. I think you can use the FeatureSetByRelationshipName function in Arcade to make a calculated expression on the field in the form. This assumes you have a relationship class created in the geodatabase. https://youtu.be/TbDY0IpaDoI?si=RXUdEzR5SrS_hrnT
... View more
02-13-2024
08:40 AM
|
0
|
3
|
3477
|
|
POST
|
I think @AlfredBaldenweck is correct here. You could also format your field names with the exclamations in this f-string instead of as separate variables. Also, the second parameter (field) doesn't need the exclamations. arcpy.management.CalculateField(dataset_out, field3, f"int(!{field1}!) * int(!{field2}!)")
... View more
02-12-2024
09:21 AM
|
2
|
1
|
1639
|
|
POST
|
Write geoprocessing output to memory—ArcGIS Pro | Documentation
... View more
02-08-2024
07:47 AM
|
0
|
0
|
1924
|
|
POST
|
The error is because the result of ListTables is empty/null. Try setting the environment workspace as shown on the first line of the example in the docs. # set the workspace
arcpy.env.workspace = r"A:\File\Path\dataowner.sde"
# Set a variable for the workspace
workspace = arcpy.env.workspace
userName = arcpy.Describe(workspace).connectionProperties.user
dataList = arcpy.ListTables(userName + '.*') + arcpy.ListFeatureClasses(userName + '.*') + arcpy.ListRasters(userName + '.*')
for dataset in arcpy.ListDatasets(userName + '.*'):
dataList += arcpy.ListFeatureClasses(feature_dataset=dataset)
arcpy.RebuildIndexes_management(workspace, "NO_SYSTEM", dataList, "ALL")
arcpy.AnalyzeDatasets_management(workspace, "NO_SYSTEM", dataList, "ANALYZE_BASE", "ANALYZE_DELTA", "ANALYZE_ARCHIVE")
... View more
02-08-2024
07:15 AM
|
0
|
1
|
1920
|
|
POST
|
The option to export a geoprocessing output or model to Python can also be helpful in learning because you can see how some of the more complex tools are set up in Python.
... View more
02-05-2024
06:48 AM
|
0
|
0
|
6770
|
|
POST
|
There's a variety of ways you could go about customizing the email body content. Since it looks like the different sections are formatted with the same separators, you might consider something like this to avoid repeating the separators. try:
cnt = 0
if cnt == 0:
print("In here")
now = datetime.now()
dot_mail = DOTEmail()
email_body_environment = "Environment : {}".format("something")
email_body_build = "Build_New: {}\n".format(" ")
email_body_date = "{}".format(now)
email_body_some_more_content = "Additional Content: {}".format("a variable if you want it")
email_body_parts = [
email_body_environment,
email_body_build,
email_body_date,
email_body_some_more_content
]
email_body = "++++++++\n {}".format(" \n++++++++\n ".join(email_body_parts)
email_subject = "process {0}".format(now.date())
dot_mail.send_email(email_body, email_subject, emailto55)
sys.exit(1)
else:
now = datetime.now()
print(now)
except Exception as e:
now = datetime.now()
print('Failed') Just make more variables with text content as needed and add them to email_body_parts in the order you want. As for inserting an image into the body, I'm not sure. Sorry.
... View more
01-31-2024
11:03 AM
|
0
|
0
|
2122
|
|
POST
|
I tested this and confirmed @RichardFairhurst is correct, but I get a different error TypeError: '<' not supported between instances of 'NoneType' and 'str' I think it's a syntax issue. There should be open and closing parenthesis after keys. for item in sorted(valueDict.keys()):
... View more
01-31-2024
10:42 AM
|
1
|
2
|
2735
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 2 weeks ago | |
| 1 | 10-23-2025 03:53 PM | |
| 1 | 04-28-2026 07:25 AM | |
| 1 | 03-19-2026 08:59 AM | |
| 1 | 02-12-2026 01:37 PM |