POST
|
Esri support confirmed the behavior and has logged it as a bug.
... View more
3 weeks ago
|
0
|
0
|
80
|
POST
|
Is there a bug or limitation to the data types that can be used within Advanced Formatting of a list widget within Dashboards? If I enable Advanced Formatting on a list widget in a dashboard and attempt to create a variable using a small integer field, none of my fields that are of a small integer data type are returned, they all throw an error as not being found. These fields DO show in the data table view, as well as the available fields in the Line Item template. In the screenshot below, you can see all small integer data type fields generate an error in Advanced Formatting. They ARE available and display in the Line Item template, and ARE visible in the Data Table view.
... View more
03-12-2024
08:45 AM
|
0
|
3
|
161
|
POST
|
It seems that with the February 2024 ArcGIS Online update to dashboards, you can no longer pass the URL to an image using an attribute expression. Below is an example where if I insert an image using the "Insert Image via URL" tool, it works. But, if I use the same URL as an attribute expression, the image is not displayed. Prior to the February 2024 update, this definitely worked, as we would swap in the URL to various images based on attribute expressions. Attribute expression created HTML used --- swapped out the hard-coded URL with the attribute expression Hard-coded image is returned, attribute expression is NOT returned.
... View more
03-11-2024
01:13 PM
|
0
|
0
|
148
|
POST
|
Thanks for confirming where the last separator comes from. That's workable as long as I know where it's coming from. I can confirm this is not how it worked before this update, all separators were given the same color.
... View more
03-04-2024
09:36 AM
|
0
|
0
|
180
|
POST
|
In your example above, notice how it's working for all list elements EXCEPT the last one. Try going to your data tab and setting it to where the max number of features is 1. Then try setting your color to anything. There will still be a separator, but it will always be the default value. Also, try removing the advanced formatting and manually enter a hex code or RGB value. Those boxes don't seem to work, only the color wheel. That's true for anything in my existing dashboards, for example, the color settings for entire dashboard.
... View more
03-04-2024
07:55 AM
|
1
|
2
|
208
|
POST
|
It appears that after the latest AGO update, the separator color within dashboards does not work as it previously did. In the screenshot below, I have one object in a list widget. Previously, I would make the separator the same color as the background so it didn't show. Now, after the update, it reverts back to the default. And even if I use the advanced formatting, nothing appears to overwrite the default value. Also, if I remove advanced formatting and try to manually type in a value using the color wheel, that doesn't seem to hold either, using the hex code or RGB values. Only the color wheel seems to work.
... View more
03-04-2024
07:25 AM
|
1
|
5
|
226
|
POST
|
We work with Edge, however I get the same when using Chrome. What I see when loading our AGO: When I uncheck the styles shown in the first screenshot below from Developer tools, I get the Roboto font, which is what I'm setting in the AGO typography (last screenshot below).
... View more
12-11-2023
07:53 AM
|
0
|
0
|
289
|
POST
|
I've noticed that the typography on the ArcGIS Online home page is not updating, regardless of whether I chose a preset or custom font, it always defaults to "default, serif" for the home page font. What I want: What I get: If I uncheck "--homepage-title-font" and "--homepage-body-font" in the developer tools, I get the font I want from the first screenshot.
... View more
12-06-2023
02:35 PM
|
0
|
4
|
360
|
POST
|
@NicholasGiner1 I'm curious how the percent storage metric works? If I use this metric using an average per hour over one day, I'm getting 4.0 as a result. However, if I look at the feature data storage in the AGO interface, I see 1%. Is there are reason I'm getting 4.0 returned?...I get the same if I use min or max. AGO Interface --- 1% usage Python API --- 4% If I return the feature storage, I get a value that aligns with the AGO interface, around 4.20GB once you convert MB to GB (4,305/1,024 = 4.20). If I then divide this by the 500GB shown in the AGO interface, I get the 1% usage.
... View more
11-13-2023
10:52 AM
|
0
|
0
|
183
|
POST
|
I'm aware of overviews, which are used for mosaic datasets. I'm really just curious if there are benefits to building pyramids on the individual tiles in addition to the generating overviews.
... View more
10-13-2023
01:54 PM
|
0
|
1
|
531
|
POST
|
We recently received hundreds of .tif images for a countywide imagery project. Ultimately, we will be building a mosaic dataset out of these images. It is unlikely that users will be accessing the individual .tif images, but rather they'd be accessing the mosaic to view the complete imagery package. My question is: is it worth our time (and disk space) to build pyramids on the individual .tif images? Will there be any performance gain on the mosaic if pyramids are built in addition to the overviews that we already plan on creating?
... View more
10-13-2023
08:21 AM
|
0
|
4
|
637
|
POST
|
Is there a way to custom style the selection polygon and flash symbol in Experience Builder developer edition? We have a workflow that involves messages that select and flash features, and I'd like the selection to be hollow and the flash symbol to be a different color. Is there CSS styling somewhere in downloaded app that can be modified?
... View more
09-01-2023
07:50 AM
|
0
|
1
|
455
|
IDEA
|
Please create a geodatabase/arcpy tool that returns permissions on an input enterprise dataset. There are cases when we have new staff start and they need/want the same permissions as another user. It would be nice to be able to iterate over datasets in a geodatabase, get the permissions on a particular dataset and be able to check what permissions a certain user has. In this example, I could set a target user name and if found, assign the new user the same permissions as the target user. The return could be something like either of the following: return = [{user: UserName1, edit: True, view: True}, {user: UserName2, edit: False, view: True}]
return = [{user: UserName1, select: True, insert: True, update: True, delete: True}, {user: UserName2, select: True, insert: False, update: False, delete: False}]
... View more
06-26-2023
01:39 PM
|
1
|
2
|
356
|
POST
|
I believe I have resolved my issue, which is the number of attachments is greater than the max record count of the service. In order to retrieve all attachments, I needed to use the "max_records" and "offset" parameters. Sample code can be found here if anyone needs it for future reference.
... View more
06-22-2023
01:37 PM
|
1
|
0
|
1026
|
POST
|
The hosted feature layers I've been testing have not been edited since April 2022, so I don't believe that's an issue here. I did some digging with a few of our hosted feature layers that have a considerable amount of attachments. It seems like the "search" method on the Attachment Manager only returns whatever is the max record count for the service. It doesn't seem to automatically paginate if the max record count is hit. Using the feature layer above as an example, I should expect a return of around 3GB in size for the attachments. If I use the code below, only the first 2,000 attachments are returned...the max record count for the hosted feature layer service. Even if I pass in a value of 9,999 for the "max_records" parameter used by the "search" method, only the first 2,000 attachments are returned. import arcgis
itemId = '...'
# connect to portal
p = arcgis.GIS('...')
# set item object
item = p.content.get(itemId)
# get item layers
layers = item.layers
# set place holders
attachmentSize = 0
attachmentCount = 0
# iterate over item layers
for l in layers:
# check if layer supports attachments
attachmentSupport = l.properties.hasAttachments
if attachmentSupport:
attachments = l.attachments.search(where='1=1')
# iterate over attachments
for a in attachments:
attachmentCount += 1
s = a.get('SIZE')
attachmentSize += s
# convert attachment size to MB
attachmentSizeMB = ((float(attachmentSize) / 1024.0) / 1024.0)
print(f'Attachment Count: {attachmentCount:,}')
print(f'Attachment Size: {attachmentSize:,}')
print(f'Attachment Size (MB): {attachmentSizeMB:,.2f}') It seems that in order to retrieve ALL attachments you need to account for pagination/offset when using the Attachment Manager. With the script below, which uses the "max_records" and "offset" parameters, I was able to finally return all attachments and get a similar number that the item page displays. import arcgis
itemId = '...'
# connect to portal
p = arcgis.GIS('...')
# set item object
item = p.content.get(itemId)
# get item layers
layers = item.layers
# set place holders
attachmentLoops = 0
attachmentSize = 0
attachmentCount = 0
# iterate over item layers
for l in layers:
# check if layer supports attachments
attachmentSupport = l.properties.hasAttachments
if attachmentSupport:
# set query values
attachmentMax = 1000
attachmentOffset = 0
continueQuery = True
# get attachments
while continueQuery:
attachmentLoops += 1
attachments = l.attachments.search(where='1=1', max_records=attachmentMax, offset=attachmentOffset)
# check for attachments
if attachments:
# increment offset
attachmentOffset += attachmentMax
# iterate over attachments
for a in attachments:
attachmentCount += 1
s = a.get('SIZE')
attachmentSize += s
else:
continueQuery = False
# convert attachment size to MB
attachmentSizeMB = ((float(attachmentSize) / 1024.0) / 1024.0)
# check attachment loops
if attachmentLoops == 0:
attachmentLoops = 0
else:
attachmentLoops = attachmentLoops - 1
print(f'Number of Loops: {attachmentLoops:,}')
print(f'Attachment Count: {attachmentCount:,}')
print(f'Attachment Size: {attachmentSize:,}')
print(f'Attachment Size (MB): {attachmentSizeMB:,.2f}')
... View more
06-22-2023
01:32 PM
|
1
|
0
|
690
|
Title | Kudos | Posted |
---|---|---|
1 | 03-04-2024 07:25 AM | |
1 | 06-20-2023 09:09 AM | |
1 | 03-04-2024 07:55 AM | |
1 | 06-22-2023 01:37 PM | |
1 | 01-19-2016 08:32 AM |
Online Status |
Offline
|
Date Last Visited |
3 weeks ago
|