|
POST
|
@KatharineWhite In the link you sent, the instructions on step 11 show an edit to the service definition. This is what I am referencing above. To 'remove all references', I simply removed that entire line, or section, which referenced "SourceSchemaChangesAllowed". Obviously caution is needed to edit the object in the json with respects to commas and brackets that contain or delineate parameters. As I mentioned, when you remove the items, they are still there and will return after updating. The only changes are to items you include that are different. I hope that helps.
... View more
Wednesday
|
0
|
0
|
49
|
|
POST
|
Thanks for the reply @Noah-Sager We recently updated to Pro 3.5.5 and our group is using the 2.4.1.3 python api. Are you indicating that version as the recent update, or 2.4.1.4? If not, please clarify. Regardless, I can try to carve out some time to test this again.
... View more
2 weeks ago
|
0
|
1
|
135
|
|
IDEA
|
@MatthewLeonard It seems this issue likely faces the same challenge with the python dlls @HannesZiegler mentions in this idea: Reset Kernel without Restarting Pro - Esri Community It does appear there is progress toward implementation.
... View more
2 weeks ago
|
0
|
0
|
137
|
|
POST
|
We have an ArcGIS Online hub site that we recently reviewed and updated for accessibility. We have several gallery objects and updated them to "Open in Same tab" based on the included WCAG notice recommending this choice in the hub site manager. Implementing this choice results in the browser not retaining its history. A user opens a new blank browser page, navigates to the hub site, clicks on an application card in the gallery, the new application opens. However, the browser back button goes back to the new blank browser page, not the hub site. One of my developers said it appears that Esri is treating this as a single page application (SPA), and is rewriting the hub page in place, thus updating the URL and the page contents, but a new page is not created. Use of a SPA without history is considered bad practice. Is this intended? Is there a setting to change this behavior? Until this is fixed, the "recommended" Same tab is worse behavior and more confusing than New tab for accessibility.
... View more
2 weeks ago
|
1
|
0
|
109
|
|
POST
|
Was trying to update an ArcGIS Online hosted feature service definition. This service was created by publishing a Survey 123 Connect form, where both the hosted feature service and the *_form view were created. To allow our internal systems to access and query the feature service, we need to update the service definition to change the allowAnonymousToQuery and allowAnonymousToUpdate values to true. When clicking on Update Service Definition, the "Invalid definition for 'SourceSchemaChangesAllowed'." and "Invalid definition for System.Boolean" errors are returned. In researching this it appears the SourceSchema variable is only valid for the View, which I was able to update successfully. However, for the source feature service, you actually don't even have to change anything to get the error. You can click update and the errors appear immediately. The only way to update the allowAnonymous values was to remove all references to sourceSchema before clicking to update the definition. Is this a bug? Hopefully this helps anyone else with the same issue. Anything not changed is returned the next time you update, so removing the SourceSchemaChangesAllowed entries does not remove them. You will have to remove them each time you need to update the service definition. Please provide suggestions if there is a better way to approach this.
... View more
12-31-2025
01:10 PM
|
2
|
2
|
576
|
|
POST
|
Tested this again. Perhaps it is simpler to ask "Is Item Access under Item Privileges for an API Key supposed to limit access to only checked items?" With a test user account, on ArcGIS Online (not Enterprise), a new API Key was created and given item access to one of the users 3 items. However, the key enabled access all the users private items. That is not my understanding of how the key should work. I ran this test using the Rest API with : import requests
API_KEY = "MY KEY"
url = "https://www.arcgis.com/sharing/rest/search"
params = {
"q": "orgid:MY ORG ID",
"f": "json",
"num": 100,
"token": API_KEY,
}
response = requests.get(url, params=params)
data = response.json()
print(f"Total items visible to key: {data.get('total', 0)}") I repeated the query using the client id and secret to generate a token, and got the same results as the API Key query. @John-Foster and @Noah-Sager you both have provided input on other API Key posts so hoping perhaps you can help me understand the intent here.
... View more
12-30-2025
01:14 PM
|
0
|
3
|
585
|
|
POST
|
@ClaytonBurns2 The python api used to work for this. Based on my errors I saw in our code that started around the Feb 2025 update, I believe there must be a bug that caused this to start failing with only organization groups, not non-organization groups, to be returned. Honestly, I got different results using the python api UserObject.groups function and the code above from @Clubdebambos . If you use the Rest API code below it seems to get what you are looking for. However, you will have to compare the results to your own organization groups. import requests
def generate_token(username, password, portal_url):
"""Generate a token for the given user."""
url = f"{portal_url}/sharing/rest/generateToken"
params = {
'username': username,
'password': password,
'client': 'referer',
'referer': portal_url,
'expiration': 60,
'f': 'json'
}
response = requests.post(url, data=params)
response_json = response.json()
if 'token' in response_json:
return response_json['token']
else:
raise Exception(f"Unable to get token: {response_json}")
def get_user_groups(username, portal_url, token):
"""Get a list of groups the user belongs to."""
url = f"{portal_url}/sharing/rest/community/users/{username}"
params = {
'f': 'json',
'token': token
}
response = requests.get(url, params=params)
response_json = response.json()
# Returns a 'groups' property with a list of group info
return response_json.get('groups', [])
# Usage
portal_url = BASE_URL # or your Portal instance base URL
username = AUTHENTICATING_USERNAME
password = PASSWORD
username_tosearch = SEARCH_USERNAME
token = generate_token(username, password, portal_url)
user_groups = get_user_groups(username_tosearch , portal_url, token)
print(f"User '{username_tosearch }' belongs to the following '{str(len(user_groups))}' groups:")
for group in user_groups:
print(f"- {group.get('title')} (ID: {group.get('id')})")
... View more
10-10-2025
12:10 PM
|
1
|
1
|
538
|
|
POST
|
I was testing the use of the API Key functionality for conducting python automation via the arcgis python api and I expected API Key privileges to apply. However, testing indicated API key privileges were following the user role that owns the key, not the privileges set in the key itself. I'm wondering if there is a bug in the Arcgis API or if I am missing something? Testing steps: Using ArcGIS Online, I created an API key to test allowing access to organization resources via an automation script. I gave the key one privilege: Admin>Content>View all. This also automatically selects the additional privileges: General>Members>View; General>Content>View content shared with organization; Admin>Members>View all. A referrer url was not designated. The test used arcgis python api version 2.3.0.3. After using gis = arcgis.gis.GIS(api_key="*KEY*”) to authenticate, I was able to retrieve content as expected. However, I was also able to add records (using layer.edit_features(adds=itemList)) which I did not expect. I tried this with an editable feature layer I own and a non-editable layer another account owned. My account role includes General>Features>Edit with full control, so I assumed the API Key was using my user role privileges. To test this, I logged on as a test user with a similar role and created an API Key with the same privileges as described above. The editing capability was available and I was able to add records to the two layers as previously described. I then changed the test user role to only allow General>Content>Create/Update/Delete. The API Key authenticated. As expected, I could not query items from the other accounts. I updated the test role to include Administrative>Content>View All. The data could now be queried as expected. However, the edit test again allowed me to add data to both feature layers. When logged on as the test user directly to AGOL, I was able to manually edit the data for the editable layer, but not for the non-editable layer. I examined Privileges | Documentation | Esri Developer to learn about the scope. It appears that the AGOL Portal Service privileges have personal scope “that require additional permissions from your account to perform operations.” However, in this case it seems the privileges for the API Key are being overridden by the user role permissions not enabled by them. When using the arcgis python api, it is not adhering to the privileges of the API Key, nor is it adhering to the privileges of the user role. This test would suggest if I set up an API Key as an administrator, any workflow using that key via the python api can conduct any action on my site regardless of the privileges in the key. Obviously that is not great.
... View more
09-26-2025
03:44 PM
|
0
|
4
|
890
|
|
POST
|
@RobertBlashadmin , the code needs the line "from IPython.display import display". The pandas section is formatting the results for improved readability and so it could be copy/pasted into a spreadsheet. Alternatively, you could simply print the problem_apps_sorted list. -- Realize this is an old post, but in case others stumble with this as we near the end of the deprecation period.--
... View more
09-16-2025
09:23 AM
|
2
|
0
|
765
|
|
IDEA
|
@MichaelVolz - Correct, once a named user logs in, their Pro licensing is active. However, after appx 2 weeks the named user will be timed out/ logged out. At that point Pro is no longer licensed to run any process using Pro resources (e.g. arcpy) and tasks will fail. @SimonSchütte_ct - Offline licensing is an option, with a timeout or until license/subscription end dates. In these posts (Taking ArcGIS Pro Offline - Esri Community, Solved: ArcGIS Pro offline license timeout - Esri Community) this is discussed, however both note offline licenses being lost or corrupted (Error: Failed to Return the Offline License.). Experience with lost licenses prompted our use of single use licensing. Related Posts: arcpy - Reactivate ArcGIS named user license for use with Task Scheduler scripts using Python - Geographic Information Systems Stack Exchange @Tom_Laue describes a similar need and Esri Support response in the comments of: Solved: ArcGIS Pro Runtime Error: the product license has ... - Esri Community @DavidSolari also references this need in: Solved: Scheduling Tasks That Access Portal Data - Esri Community
... View more
08-15-2025
10:12 AM
|
0
|
0
|
1493
|
|
IDEA
|
Automation workflows on dedicated scheduled task machines running ArcGIS Pro suffer from named user authentication time outs. To avoid the task user being timed out, the current suggestion is to use a dedicated single use license. With the move to named user/user type licensing, we need a method that will allow the task user to re-log in or remain logged in to ArcGIS Pro. Ideally, this would be made possible via a programmatic process that could work with any scripted workflow conducted on the task machine. Benefits Scheduled task user will remain logged in to the task machine to provide uninterrupted capability Named user user type/ licensing will allow the same licensing model to be applied to all organization users
... View more
08-14-2025
04:17 PM
|
20
|
4
|
1614
|
|
POST
|
@David_McRitchie can you provide any additional details about the "issues from Enterprise 11.3-11.4 on deployments that have custom registered folders or databases involving the shared instance pool"?
... View more
08-13-2025
11:30 AM
|
0
|
1
|
2908
|
|
POST
|
@Martin1 Do you know if you have DynamicMappingHost ArcSOCs that are not being cleaned up? We have this same issue, which I am currently working with support on. I realized that over time our system became less stable. Even though the DMHost has a 24 hour recycle interval for midnight and 8 maximum instances, there more than 8 ArcSOCs in the task manager associated with the DMHost service. There are 8 from today as I would expect, but 3 extra from prior days. Our DEV environment has even more orphans consuming even more memory. We have been having to reboot the server to 'fix' our problems and I believe this may be the fundamental cause. It seems rebooting may be something other are doing as well per Solved: Server service needs restarted every 7 days or so - Esri Community.
... View more
08-01-2025
10:33 AM
|
2
|
0
|
1519
|
|
IDEA
|
@CraigGillgrass if Esri is "working on moving the capabilities in the Web Editor into the Editor widget within Map Viewer" does that mean Web Editor will be removed as an app once capabilities are moved?
... View more
04-08-2025
01:10 PM
|
0
|
0
|
1680
|
|
POST
|
Was recently testing web editor functionality with the mobile and contributor user types and had the same question @Scott_Sambell . Another recent idea Web Editor functionality inside normal Web Map? - Esri Community had a response by @CraigGillgrass that indicated "moving the capabilities in the Web Editor into the Editor widget within Map Viewer". It isn't clear if that means the Web Editor app will only exist in the short term until its functionality is incorporated into the Map Viewer.
... View more
04-08-2025
01:07 PM
|
0
|
0
|
2161
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 2 weeks ago | |
| 2 | 12-31-2025 01:10 PM | |
| 2 | 09-16-2025 09:23 AM | |
| 1 | 10-10-2025 12:10 PM | |
| 20 | 08-14-2025 04:17 PM |
| Online Status |
Offline
|
| Date Last Visited |
Wednesday
|