|
DOC
|
@Iron_Mark
You can post your script, or I would recommend trying the one in this document to see if you get the same error.
... View more
09-26-2024
06:05 AM
|
0
|
0
|
17639
|
|
POST
|
@AndrewReynoldsDevon I would add a print statement to see which feature class it's failing on:
# Loop through each dataset and rename it
for dataset in datasets:
print(f"Renaming {dataset}")
new_name = f"{dataset}_OLD"
arcpy.management.Rename(dataset, new_name)
... View more
09-26-2024
06:00 AM
|
1
|
0
|
855
|
|
DOC
|
@Iron_Mark were you using the script in this document? filegdb is definitely supported.
... View more
09-26-2024
05:45 AM
|
0
|
0
|
13829
|
|
POST
|
Hi @AD_NLD I believe you want to keep you workspace parameter as an optional Input. If the geodatabase exists, you can select it, if it does not exist the code can create it based on the path entered by the user. Which leads to a question, do you want the user to specify the entire path to the geodatabase if it does not exist? i.e. C:\temp\data\parcels.gdb
... View more
09-25-2024
12:56 PM
|
0
|
1
|
3500
|
|
POST
|
@MK13 have you considered using the Near Me widget. I think this will give you the functionality you're looking for.
https://doc.arcgis.com/en/experience-builder/latest/configure-widgets/near-me-widget.htm
... View more
09-24-2024
08:29 AM
|
0
|
1
|
2301
|
|
POST
|
@Map12 does the following work:
from arcgis.gis import server
# Stand-alone ArcGIS Server instance specify PSA account
# Federated ArcGIS Server instance specify Portal Admin account
agsServer = server.Server(url="https://ags.esri.com/server", username='siteadmin', password='siteadmin')
print(agsServer.content.folders)
... View more
09-24-2024
07:31 AM
|
0
|
1
|
3807
|
|
POST
|
@MK13 this article may be of some help:
https://support.esri.com/en-us/knowledge-base/how-to-display-attributes-of-intersecting-features-in-a-000028227
... View more
09-24-2024
07:17 AM
|
1
|
1
|
2311
|
|
POST
|
@ConradSchaefer__DOIT_ here are a few other methods you can use to keep you AGOL feature services updated:
Overwrite ArcGIS Online Feature Service using ArcGIS Pro Project
https://community.esri.com/t5/arcgis-online-documents/overwrite-arcgis-online-feature-service-using/ta-p/1371248
Overwrite ArcGIS Online Feature Service using Truncate and Append
https://community.esri.com/t5/arcgis-online-documents/overwrite-arcgis-online-feature-service-using/ta-p/904457
... View more
09-24-2024
06:48 AM
|
0
|
0
|
2785
|
|
DOC
|
@ShelbyZelonisRoberson after you update the Data Store connection(s), you can execute the script. Since you updated the existing Data Store connection, you won't have to worry about the previousDSID and newDSID variables. You will just have to update the previousInstance and newInstance variables.
... View more
09-23-2024
10:54 AM
|
0
|
0
|
24587
|
|
DOC
|
@HubertGimpl1
Our next try is to create new DB connections referencing to the new DB and changing the reference of the services. Unfortunately we can not find any "previousDSID" in the extracted msd, neither in the Portal item DB connections, nor in the ArcGIS Server Manager DB connections. Do we miss anything?
Are you updating the existing Data Store connection (either is ArcGIS Server Manager, or through the Portal item > Update Password > Import a connection file with an updated password)? If you do this approach, you don't have to worry about the DSID variables. These can be ignored.
... View more
09-23-2024
10:53 AM
|
0
|
0
|
24590
|
|
DOC
|
@RejeanLabbe copying referenced services is very difficult, especially if the data source will change. Due to the many possible parameters when publishing referenced services, this is not easily scripted.
... View more
09-23-2024
05:40 AM
|
0
|
0
|
36786
|
|
POST
|
Hi @vl-driscolls , Take a look at these tools. The Copy Exp Apps.py contains functionality to copy an Experience Builder application using an existing Experience Builder's JSON. You can debug this to look at the JSON being passed to create the application. Ex: # Get Exp App JSON
expApp = source.content.get(expAppID)
expAppDict = expApp.get_data(try_json=True)
# Convert dict to JSON
expAppJSON = json.dumps(expAppDict)
# Exp App Properties
exp_app_properties = {'title': expApp.title,
'type': 'Web Experience',
'snippet': expApp.snippet,
'description': expApp.description,
'tags': expApp.tags,
'text': expAppJSON}
# Create Exp App
expAppItem = target.content.add(item_properties=exp_app_properties, owner=targetOwner)
... View more
09-20-2024
05:58 AM
|
1
|
1
|
1968
|
|
DOC
|
@ModernElectric do you have the name of the map in ArcGIS Pro specified correctly for the map variable?
... View more
09-18-2024
06:18 AM
|
0
|
0
|
22736
|
|
DOC
|
@ShelbyZelonisRoberson I could not reproduce this. Here are the steps I did: 1. Create a database connection with SQL Server authenticated user called gis 2. Registered database with Server 3. Published a service 4. Changed the gis user's password 5. Created a new database connection with the updated password 6. Updated the data store connection with the new database connection 7. Restarted the previously published service
... View more
09-17-2024
09:54 AM
|
0
|
0
|
24710
|
|
DOC
|
@ShelbyZelonisRoberson that is strange. What changed from the old data store connection to the new one? i.e. username, password, instance name? Are you connecting with Operating System Authentication? If so, does the ArcGIS Server service account have read privileges to the feature class/?
... View more
09-17-2024
05:00 AM
|
0
|
0
|
24740
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | a week ago | |
| 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 |
yesterday
|