POST
|
Can you share the feature service to an AGOL group and invite my user account (jskinner_rats)? I can take a look.
... View more
07-01-2024
07:58 AM
|
0
|
3
|
232
|
POST
|
@CodyPatterson did you include arcpy.SignIntoPortal? Ex: arcpy.SignIntoPortal('https://www.arcgis.com', 'agolAdmin', 'gis12345')
feature_layer_url = "https://services9.arcgis.com/{identifier}/arcgis/rest/services/{Layer}/FeatureServer/{LayerNum}"
for f in arcpy.ListFields(feature_layer_url):
print(f)
... View more
07-01-2024
06:57 AM
|
0
|
5
|
235
|
POST
|
@CodyPatterson, Is there a unique field and edit tracking enabled? I would recommend creating a script that: queries the features that were edited in the last day using the last_edited_date field and download those features using Export Features create a list of downloaded features using the unique field delete these features from the local database append the downloaded features to the local database Be sure your script uses arcpy.SignIntoPortal and you can access the URL of the service without generating a token.
... View more
07-01-2024
06:45 AM
|
0
|
7
|
238
|
POST
|
Hi @ArmstKP, Where is the data be stored? Is it in an Enterprise Geodatabase, Relational Data Store, or Spatiotemporal Data Store. With data this large I recommend using the Spatiotemporal Data Store.
... View more
07-01-2024
06:36 AM
|
0
|
2
|
190
|
POST
|
Try clearing your browser's cache and attempt again. Also, try signing into Portal in a web browser. Then in the same web browser, open a tab and try signing into ArcGIS Server Manager.
... View more
07-01-2024
06:09 AM
|
0
|
1
|
367
|
POST
|
@JoshuaMurphy are you specifying the web adaptor URL for ArcGIS Server Manager (i.e. https://ags.domain.com/server/manager)? I've seen this occur sometimes when trying to access Server Manager through port 6443.
... View more
07-01-2024
06:02 AM
|
0
|
1
|
374
|
POST
|
You might have the URL incorrect. Are you specifying the fully qualified domain name of the server that has portal installed? You don't want to specify the web adaptor server or DNS.
... View more
06-30-2024
08:20 AM
|
1
|
0
|
195
|
POST
|
Hi @ElisabethFenn, You can do this easily with the AGOL Assistant.
... View more
06-27-2024
04:02 AM
|
0
|
0
|
211
|
POST
|
For your token URL, try the following instead so you're going around the web adaptor: https://portal.domain.com:7443/arcgis/sharing/rest/generateToken
... View more
06-25-2024
01:07 PM
|
0
|
1
|
271
|
POST
|
Hi @ChrisCowin_dhs, In Portal > Organization > Settings > Security, do you have ArcGIS Logins disabled: Or, do you have Windows Authentication enabled in IIS for Portal's web adaptor?
... View more
06-25-2024
10:59 AM
|
0
|
3
|
302
|
POST
|
Hi @IhabHassan, I find performing the migration via python is not always foolproof. If you are able to use the same URL for the web adaptors (i.e. https://web.domain.com/portal, https://web.domain.com/server), I would recommend migrating using a WebGISDR backup.
... View more
06-24-2024
05:11 AM
|
0
|
0
|
128
|
POST
|
@LienPham1 have you tried executing ArcGIS Pro's Append tool? This provides an upsert option which will update existing features with new data and add new features. To use the upsert option, make sure the field your using in the hosted feature service has a unique index:
... View more
06-24-2024
04:19 AM
|
0
|
0
|
202
|
POST
|
@mike_totti you would arcpy in order to export the query to a File Geodatabase. If you have arcpy, you can use the Export Features tool.
... View more
06-24-2024
04:10 AM
|
1
|
0
|
165
|
DOC
|
@James_Shreeve try the below. You will want to add all the users you want notified to a Group in AGOL. Then, update the allUsersGroupID variable in the script with ID of that Group. from arcgis.gis import GIS
from arcgis.features import FeatureLayer
import datetime, time
from datetime import timedelta
# Variables
fsURL = 'https://services6.arcgis.com/h0X6cdaELg2mgWNZ/arcgis/rest/services/My_Sites_Copy/FeatureServer/0'
dateField = 'Agreement_Date_End'
months = 6
allUsersGroupID = '0a7e3ca5f5814ed884cbab31abb465bf'
emailSubject = 'Agreement Date'
emailMessage = 'Some message to include in e-mail'
# Generate AGOL
print('Connecting to AGOL')
gis = GIS("home")
# Get group members
allUsersGroup = gis.groups.get(allUsersGroupID)
userList = allUsersGroup.get_members()['users']
# Reference feature service from url
fLyr = FeatureLayer(fsURL)
# Query service and check if date field is within the last hour
print("Querying feature service")
queryResults = fLyr.query(where='1=1', out_fields="*", return_geometry=False)
for results in queryResults.features:
if results.attributes[dateField] != None:
createDate = results.attributes[dateField] / 1000
t = datetime.datetime.now() + timedelta(months=months)
t = time.mktime(t.timetuple())
if createDate > t:
# Send e-mail
print('Sending e-mail')
allUsersGroup.notify(users=userList, subject=emailSubject, message=emailMessage)
... View more
06-20-2024
09:14 AM
|
0
|
0
|
503
|
DOC
|
@TarigAhmedTXHSDS, This column should be populated if you have any Application licenses (i.e. ArcGIS Pro, Insights, Field Maps, etc) assigned to the user. Ex:
... View more
06-20-2024
07:02 AM
|
0
|
0
|
400
|
Title | Kudos | Posted |
---|---|---|
14 | 01-02-2024 09:36 AM | |
1 | Thursday | |
1 | 2 weeks ago | |
1 | 4 weeks ago | |
1 | 07-11-2024 07:46 AM |
Online Status |
Offline
|
Date Last Visited |
Friday
|