|
POST
|
@JaredPilbeam2 are you able to open the Pro Project and save changes to it when logged into the remote server?
... View more
09-16-2024
12:31 PM
|
0
|
0
|
5229
|
|
DOC
|
@ShelbyZelonisRoberson the service should have started up successfully. Were there any errors reported in the logs when attempting to restart the service?
... View more
09-16-2024
12:28 PM
|
0
|
0
|
24810
|
|
POST
|
@cboyerTucson below is an example that I believe will do this. You will just need to iterate through the items that need to be updated, for example, those layers whose URL's contain utility.arcgis.com or typeKeywords contain 'Service Proxy'. from arcgis.gis import GIS
# Variables
username = 'jskinner_rats'
password = '*******'
itemId = '5bad6ca9233e42e396146f887cefb5e6'
embeddedUsername = 'portaladmin'
embeddedPassword = '********'
# Connect to AGOL
gis = GIS("https://www.arcgis.com", username=username, password=password)
# Reference layer
item = gis.content.get(itemId)
# Specify username/password
item_properties={
'serviceUsername': embeddedUsername,
'servicePassword': embeddedPassword
}
# Update item
gis_content_item = item.update(item_properties=item_properties)
... View more
09-16-2024
07:26 AM
|
0
|
0
|
3072
|
|
POST
|
@Joshua-Young this appears to be a misprint. I just tested with an 11.3 instance of Notebook Server. The Standard runtime gave the following error:
... View more
09-16-2024
06:52 AM
|
1
|
0
|
1571
|
|
POST
|
@JaredPilbeam2 does the tool fail from the client machine when you specify the workspace folder with a drive letter that is local/mapped to that same client machine?
... View more
09-16-2024
06:13 AM
|
0
|
0
|
5265
|
|
POST
|
@MeleKoneya I would recommend exporting the Model to a python script. Then, in the script, add the following line: arcpy.SignInToPortal("https://webadaptorhost.domain.com/webadaptorname",
'username@DOMAIN', 'password') If the script executes successfully, you can easily schedule this as well. Check out the document here.
... View more
09-16-2024
05:45 AM
|
0
|
0
|
674
|
|
POST
|
Hi @LindsayRaabe_FPCWA, for the matching_fields option, are you using this parameter to update existing features?
... View more
09-16-2024
05:40 AM
|
0
|
1
|
3437
|
|
DOC
|
@ShelbyZelonisRoberson We stopped a service published using that connection, changed the password, imported the new connection, restarted the service and it failed. Did you update the existing connection when you stated you imported the new connection? Or, did you create a brand new Data Store connection?
... View more
09-14-2024
10:44 AM
|
0
|
0
|
24858
|
|
POST
|
Hi @DS_GIS, Can you use another IDE? I prefer PyCharm, and there is a free community edition. PyCharm gives you more capabilities than IDLE. Below is a great document on how to configure PyCharm to use arcpy: https://epjmorris.wordpress.com/2020/09/16/configuring-pycharm-for-use-with-arcgis-pro-and-arcmap/
... View more
09-13-2024
11:27 AM
|
0
|
2
|
2823
|
|
DOC
|
@ShelbyZelonisRoberson correct, that is not the case. The easiest way to update your services is to update the existing Data Store connections, either in ArcGIS Server Manager, or in Portal, depending on how it was registered. In either case, you would create a new SDE connection file to the new database instance and re-upload that. Ex: ArcGIS Server Manager Portal Once the database connection is updated, the services are pointing to the new SQL instance. However, if you hover over the service workspace information, it will still state the previous instance: You can run the script above on any machine that has ArcGIS Server or ArcGIS Pro installed to update this information. If you update the existing data store connections, you don't have to worry about updating the previousDSID or newDSID variables, only the previousInstance and newInstance will matter in this case.
... View more
09-13-2024
06:04 AM
|
0
|
0
|
24890
|
|
DOC
|
@cjenkins_rva I'm not sure if something changed in the API or not, but I swore this was working before. However, I updated the code to use the .get_data() and apply this to the service using the requests module. I couldn't find a way via the API to apply the properties all at once for all layers; that functionality may not exist, yet. Anyways, give the updated code a try.
... View more
09-12-2024
08:26 AM
|
0
|
0
|
22879
|
|
POST
|
@StefanCoe1 what version of Portal and Pro are you using? I don't believe this was an option in earlier releases, but should work at 11.1 and forward.
... View more
09-10-2024
04:22 AM
|
1
|
0
|
2546
|
|
POST
|
Hi @AnthonyCastelletto, below is code I use to perform updates: from arcgis.gis import GIS
# Variables
client_id = 'pVmEFq81pBTL'
itemId = '3df4deee1a9940519fab3e2c5c5c85f2'
# Connect to AGOL
gis = GIS(host="https://arcgis.com", client_id=client_id)
# Reference layer
lyr = gis.content.get(itemId)
layers = lyr.layers
fset = layers[0].query()
flayer = layers[0]
features = fset.features
# Query feature and update
boocCase_feature = [f for f in features if f.attributes['caseID']=='1087'][0]
boocCase_feature.attributes['keywords'] = 'Marine heatwave prediction forecast aquaculture fishing recreation model, test'
update_result = flayer.edit_features(updates=[boocCase_feature])
print(update_result)
... View more
09-09-2024
06:53 AM
|
1
|
0
|
1308
|
|
POST
|
@ForrestLin I can speak to your second point, you will definitely want more than 1 core: https://enterprise.arcgis.com/en/system-requirements/latest/windows/portal-for-arcgis-system-requirements.htm#ESRI_SECTION1_80B50BEEF1CF42A99D8C164DAA51A3CE
... View more
09-09-2024
05:52 AM
|
1
|
1
|
2505
|
|
DOC
|
@KristalWalsh is there an '@' symbol in your username?
... View more
08-30-2024
10:28 AM
|
0
|
0
|
23115
|
| 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
|