|
BLOG
|
@LondonWalker that's not good. As of 2 days ago they have now logged this as BUG-000184430 (https://my.esri.com/#/support/bugs/bugs?bugNumber=BUG-000184430)
... View more
2 weeks ago
|
0
|
0
|
615
|
|
BLOG
|
@LondonWalker did you ever find a solution for this? I've got an open support case with the same problem ('Page Not Found' message rather than 'Please Sign In' unless the page id is appended with a tilde after the page name). @JustinPrather
... View more
4 weeks ago
|
0
|
0
|
1009
|
|
POST
|
@StephenHallett after raising this with Esri Support they have now confirmed that this is a bug: BUG-000184005: In ArcGIS Hub, when drawing features in the Explore Dataset Map View, the 'filter to this point' functionality does not prompt the 'Location Filter' option to open. To raise the priority of this getting resolved I would suggest that anyone else affected by this raises a case in relation to the bug and provides a business impact statement describing the impact on workflows and number of people affected.
... View more
04-02-2026
05:32 AM
|
0
|
0
|
195
|
|
BLOG
|
@JustinPrather we currently have a support case regarding issues with page slugs. Our use case and the issue is as follows. We currently have several Hub Premium initiatives - each for a different project. These sites have been online for about 5 and a half years and we've had no issues with the page naming until now. Each of these sites has the same page structure and naming for consistency and familiarity, with benefits for both communication and documentation of the sites, but also for users working across multiple projects. The site/page structure looks something like this: customdomain1/pages/monitoring customdomain1/pages/protocol customdomain2/pages/monitoring customdomain2/pages/protocol customdomain3/pages/monitoring customdomain3/pages/protocol Migrating the pages causes the following issues: A unique slug is required across all hub sites within our organisation, not just within a site. This results in users being redirected to the wrong page (one from a different hub site) if a link is still functional (i.e. as mentioned in one of your posts, 'the application will show the first one it found'). If we update the slug (e.g. to /pages/monitoring-1), we are creating a huge amount of dead links in our resources and who knows where else (e.g. in user's bookmarks) (see also the post above from @DucksInaRiver which appears to be the same issue). I can understand the logic of requiring a unique slug within a site, but for it to need to be unique globally across all of an organisation's hub sites doesn't make sense to me and is going to cause a lot of problems for us and others I'm sure. Therefore I request that changes are made to only enforce unique slugs within a site. Otherwise, how are customers supposed to identify and update all broken links that this update will have caused? In our case, we are talking about linking from hub site cards, from StoryMaps, from printed materials, from YouTube videos, from a number of documents and more. With 1000+ community users using these links we also need to consider how this impacts their use and any bookmarks or documentation they may already be working with. We can't simply go and change all of that.
... View more
03-09-2026
05:17 AM
|
0
|
0
|
1636
|
|
BLOG
|
@David_Brooks I'm not seeing any issues at the moment.
... View more
02-04-2026
04:03 AM
|
0
|
0
|
1054
|
|
POST
|
Hi David, Thanks for the assistance. That amendment does seem to resolve things. Appreciate you getting back to me. Here is the final script in case of use to anyone else. from arcgis.gis import GIS
gis = GIS("home")
import csv
items = gis.content.search(query='View Service', item_type='Feature Service', max_items=10000) # get view layers
for layer in items: # check the output by printing the view layer titles
print(layer.title)
# Open a CSV file to write the output
with open('output.csv', mode='w', newline='', encoding='utf-8') as file:
writer = csv.writer(file)
# Write the header row
writer.writerow(['Item Title', 'Item Name','Feature Count'])
# Loop through the layers and get the feature count
for layer_item in items:
for lyr in layer_item.layers:
feature_count = lyr.query(where="1=1", return_count_only=True)
# Write the item title and feature count to the CSV file
writer.writerow([layer_item.title, lyr.properties.name, feature_count])
print("Output saved to 'output.csv'")
... View more
01-07-2026
09:19 AM
|
1
|
0
|
300
|
|
POST
|
Hello community (cc @David_McRitchie), I've encountered an issue whereby when deleting unused fields from a hosted feature layer, some of the associated views are becoming corrupted. After some discussions with ESRI support, it was suggested that one way to improve processes to allow us to identify and fix any broken views, is after any field deletions, to run a notebook that does the following: Find 'view' layers in ArcGIS Online From the view layers, identify any that have <10 rows of data or are 'empty' (contain data but not responsive) Output the view layers as a csv I have trialled the following code, however it returns no results ("No empty hosted view layers found. Results saved to empty_view_layers.txt"). I know however that there are multiple view layers with less than 10 rows of data but none are being picked up. I'm not quite sure what is going wrong here so any suggestions would be gratefully received. from arcgis.gis import GIS # import necessary libraries
gis = GIS("home") # connect to your GIS
# Function to find empty hosted view layers
def find_empty_view_layers():
empty_view_layers = []
# Search for hosted feature services
for item in gis.content.search(query="type:Feature Service", max_items=10000):
if "View Layer" in item.typeKeywords: # Check if the item is a view layer
# Check if the view layer is empty
feature_count = item.layers[0].query(return_count_only=True) if item.layers else 0
if feature_count <= 10:
empty_view_layers.append(item.title)
return empty_view_layers
# Retrieve and display the empty view layers
empty_layers = find_empty_view_layers()
if empty_layers:
print("Empty Hosted View Layers:")
for layer in empty_layers:
print(f"- {layer}")
else:
print("No empty hosted view layers found.")
# Optionally, save the results to a text file
with open("empty_view_layers.txt", "w") as file:
for layer in empty_layers:
file.write(layer + "\n")
print("Results saved to empty_view_layers.txt") Alternatively, a method for outputting all view layers and their associated feature count would also do the job. I have tried this via the following approach: from arcgis.gis import GIS # import libraries
gis = GIS("home") # connect to your GIS
items = gis.content.search(query='View Service', max_items=10000) # get view layers
for layer in items: # check the output by printing the view layer titles
print(layer.title)
# Loop through the layers and get the feature count
for layer_item in items:
print(f"Layer: {layer_item.title}")
for lyr in layer_item.layers:
feature_count = lyr.query(where="1=1", return_count_only=True)
print(f" Feature Layer: {lyr.properties.name}, Feature Count: {feature_count}") This 2nd approach works to begin with, but then returns the error below. This appears to be caused by it trying to work against a geocoding view. Therefore, is there a way to limit the layer list to only 'hosted, view' type items, or at least exclude a geocoding view? ---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
/opt/conda/lib/python3.11/site-packages/arcgis/gis/__init__.py in ?(self, k)
14045 if not self._hydrated and not k.startswith("_"):
14046 self._hydrate()
> 14047 return dict.__getitem__(self, k)
KeyError: 'layers'
During handling of the above exception, another exception occurred:
KeyError Traceback (most recent call last)
/tmp/ipykernel_142/3627018840.py in ?()
1 # Loop through the layers and get the feature count
2 for layer_item in items:
3 print(f"Layer: {layer_item.title}")
----> 4 for lyr in layer_item.layers:
5 feature_count = lyr.query(where="1=1", return_count_only=True)
6 print(f" Feature Layer: {lyr.properties.name}, Feature Count: {feature_count}")
/opt/conda/lib/python3.11/site-packages/arcgis/gis/__init__.py in ?(self, name)
13999 def __getattribute__(self, name):
14000 if name == "layers":
> 14001 if self["layers"] is None or self["layers"] == []:
14002 try:
14003 with _common_utils._DisableLogger():
14004 self._populate_layers()
/opt/conda/lib/python3.11/site-packages/arcgis/gis/__init__.py in ?(self, k)
14043 return dict.__getitem__(self, k)
14044 except KeyError:
14045 if not self._hydrated and not k.startswith("_"):
14046 self._hydrate()
> 14047 return dict.__getitem__(self, k)
KeyError: 'layers' Thanks in advance for any assistance on this.
... View more
11-21-2025
03:26 AM
|
0
|
2
|
541
|
|
IDEA
|
I agree a way to have certain aspects in 'drafts' would be fantastic.
... View more
11-04-2025
06:03 AM
|
0
|
0
|
993
|
|
POST
|
Same here (UK). Possibly related to Amazon Web Services outage?
... View more
10-20-2025
01:36 AM
|
3
|
0
|
1347
|
|
POST
|
Thank you @KenBuja that's fantastic. You've saved me hours of trial and error. This does exactly what I need.
... View more
10-10-2025
01:50 AM
|
0
|
0
|
933
|
|
POST
|
Thank you for taking the time to post this. I had a go with it but Ken's solution does the trick.
... View more
10-10-2025
01:49 AM
|
0
|
0
|
933
|
|
POST
|
I'm wondering if anyone can assist with a data expression, or let me know if what I am aiming for is not possible. I have a dataset from wildlife monitoring, which captures the date of a species observation, the lifestage (e.g. adult, juvenile), the sex (male, female, unsexed) and the quantity (integer) observed. Multiple observations can occur on the same date. Each combination of the above fields is on a separate row (i.e. in 'long' format). Example below. date lifestage sex quantity 01/03/2025 adult male 2 01/03/2025 adult male 5 01/03/2025 juvenile 3 02/03/2025 adult female 8 05/03/2025 metamorph 1 05/03/2025 adult male 3 12/03/2025 adult 12 14/03/2025 adult female 6 14/03/2025 adult female 4 I am trying to use the Dashboards Table element to produce a summary table of this data, where each date is represented as a row, and then subsequent columns show the daily total for each lifestage*sex combination. For example: date adult male adult female adult unsexed juvenile metamorph 01/03/2025 7 0 0 3 0 02/03/2025 0 8 0 0 0 05/03/2025 3 0 0 0 1 12/03/2025 0 0 12 0 0 14/03/82025 0 10 0 0 0 I've gotten so far using Filter and GroupBy statements to summarise counts by day (e.g. resulting in the table format below), but I've not been able to produce a 'wide' format table. Is there any way of doing this? date type total 01/03/2025 adult male 7 01/03/2025 juvenile 3 02/03/2025 adult female 8 I have based my code so far on this example: https://github.com/Esri/arcade-expressions/blob/master/dashboard/dashboard_data/CombineMultipleLayers(SerialChart).md, but instead of referencing different layers for each variable, I have tried setting up multiple FeatureSets from the same layer, each with a different filter applied (e.g. for each 'type' above). I have also produced something similar to my incorrect output above using the List element, but it still doesn't achieve what I am after. Any help would be hugely appreciated.
... View more
10-07-2025
09:40 AM
|
0
|
4
|
1002
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-24-2026 03:17 AM | |
| 1 | 05-27-2020 02:34 AM | |
| 1 | 01-07-2026 09:19 AM | |
| 3 | 10-20-2025 01:36 AM | |
| 1 | 02-24-2021 10:05 AM |
| Online Status |
Offline
|
| Date Last Visited |
yesterday
|