POST
|
I currently have a python script which extracts data from MongoDB, creates a csv file and publishes a feature layer to our Enterprise Data store. So I'm deleting and recreating the feature layer each night, which isn't very efficient. So I'm looking at ways to add to the existing feature layer using the python API Would cursor = arcpy.da.InsertCursor(...) cursor.insertRow(...) be the way to go? Thanks in advance
... View more
11-04-2020
07:48 AM
|
0
|
1
|
496
|
POST
|
If I do a full reindex do I need to provide a list?
... View more
11-04-2020
06:41 AM
|
0
|
0
|
1182
|
POST
|
Yes it looks like the counts are off I will try and reindex thank you
... View more
11-04-2020
06:39 AM
|
0
|
1
|
1182
|
POST
|
Enterprise 1.8 thinks a feature layer still exists but does not. I am trying to publish a csv file and get this error Error A published service with this name already exists within the organization. Service names must be unique across the organization. Please use a different name. a search does not find a service with this name. I can publish with a different name ok. I have a script which deletes then adds a new updated feature layer each night. This has been working fine for weeks. Could a process be using the old feature layer which is not allowing me to replace it?
... View more
10-27-2020
01:10 PM
|
0
|
4
|
1227
|
POST
|
Thank you Ben, yes I am using POST and using a token in the authentication header (OAuth 2.0) I will try the Python API ... is there also a JavaScript API ? Second part to my question: Is there a way to redirect our uses to our hub site and log them in? I was hoping something like https://our-hub-site.hub.arcgis.com?id=<userGeneratedToken> or https://our-hub-site.hub.arcgis.com?auth_token=<userGeneratedToken> would work but it just appears to hang on the rotating square ... Is this even possible? Appreciate any further input Thanks
... View more
05-06-2020
09:51 AM
|
0
|
0
|
677
|
POST
|
Something like https://www.arcgis.com/sharing/rest/oauth2/createUser?username=miketest42&password=test1234&firstname=Mike&lastname=Tester&role=org_user&userLicenseTypeId=creatorUT&email=miketest41@gmail.com&provider=arcgis&idpUsername=&description=Creator+account+for+Mike&f=json I do get back a 200 OK but the account is not created ... I'm trying to create a hub community user so they can take a survey but we don't want them to have to go through the esri login pages (branding issue) Thanks in advance
... View more
05-05-2020
07:30 AM
|
0
|
2
|
753
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|