|
POST
|
The only thing that it could be is that those might field aliases possibly and not actual field names or it might be that your criteria simply does not have a match. Can you include a screenshot of the fields to see exactly what the issue is. It is hard to troubleshoot exactly when nobody can see what your seeing? It just needs to be a small snippet of the fieldnames.
... View more
01-29-2025
12:23 PM
|
0
|
0
|
2301
|
|
POST
|
Hi @LandonHarris, Are you trying to return the dictionary as a string value or simply return the value. If you are trying to return a dictionary as a string then use the method below. var pattern = "com" // Substring to match field names starting with "com"
var result = Null
Expects( $feature , '*' )
for (var field in $feature) {
if (Left( field , Count( pattern ) ) == pattern && !IsEmpty($feature[field])) {
result[field] = $feature[field]
}
}
Console(result)
return Text(result) I believe your expression is also correct but might need to include 'Expects' in order to get all of the fields and values.
... View more
01-29-2025
09:45 AM
|
1
|
0
|
2335
|
|
POST
|
Hi @madyson-bradford, One thing that I may suggest is using a counter to identify if there are any records in a feature class. If you are looking to see if a feature class is empty, rather than lopping through to get a count of all records, you can simply set a count limit. If the count limit is exceeded then you can add that feature class to the map. This should significantly speed up the process. import arcpy,
from arcpy import ListFields
from arcpy import SearchCursor as Search
Feature = r'<feature class file path>'
fields = [ field.name for field in ListFields( F )]
counter = 0
limit = 25
with Search( Feature , fields ) as cursor:
for row in cursor:
poprecords = len([ x for x in row if x is not None])
if poprecords > 0: counter += 1
if counter > limit: break
... View more
01-29-2025
06:56 AM
|
1
|
1
|
4497
|
|
IDEA
|
I believe you can accomplish this by simply duplicating the tab which will duplicate the current session and allow for editing to be done in both the map and table.
... View more
01-29-2025
06:24 AM
|
0
|
0
|
637
|
|
POST
|
Have you checked this out. Show Attachments in Pop-ups with Arcade Expression... - Esri Community There is also the option, though I have never tested it, is the option to add a field, set the data type to raster, and use that field for the popup.
... View more
01-29-2025
05:21 AM
|
0
|
0
|
3379
|
|
POST
|
Hosted services, if that is what you are using, can be finicky at times so reliability can be questionable.
... View more
01-28-2025
01:50 PM
|
0
|
0
|
1393
|
|
POST
|
Hi @Tooele_City , It might depend on the permissions set on the layer/table. If only update capabilities are there then you would need to modify the service/feature layer to enable 'Add' capabilities in order to add. If the capability is there but you cannot add then it could be a coding issue. The way we have it set up is the hydrant information itself gets updated, and appends the record as a historical record to a related table using attribute rules in our portal.
... View more
01-28-2025
12:50 PM
|
0
|
0
|
1417
|
|
POST
|
Hi @AdriánCapelo_Cruz , So there a couple of ways in which you can achieve this. Depending on the type of pdf, if the pdfs are not dynamically created, then you can create a related table, enable attachments on that related record, and attach the pdf to that record. You can then associate all record to that singular record by assigning the unique id to those record. In the pop-up, create a custom expression that will pull the attachment and show it on the main feature. You can create an image carousel/viewer in Experience Builder which can be made to look similar to a pdf. It is a bit more work, but it is possible. The other option is to add the document directly to ArcGIS Online. Using the add data option on the contents page, add the pdf as an item. Once it is added, right click on the image and select the option to open the image in a new tab. Copy the image URL and paste it in the image option in the popup URL for the image URL. There might be more that I am not thinking about but any of these should at least help lead you in whichever direction works best.
... View more
01-28-2025
07:17 AM
|
2
|
1
|
3407
|
|
POST
|
So, the join field applies a one-to-one join on two separate feature classes and does a one to one or one to many matches, depending on how you create the join. You would have to join, for example, FC1 to FC2, then Join FC3 to the now joined FC1 and FC2. The other thing you want to make sure of is that the ID field is populated for all records that it is shared with, otherwise it may show null values for some. Since you are working with 3 different feature classes then it might make sense to combine them all since it seems like you are trying to get unique addresses or values that is comprised in all 3 of them. If that is the case, then the second option might be your best bet. But in order that to work, you will need to make sure that the values you are looking to delete in the address field or fields do not have typos or other data errors. If the addresses are in separate fields, then you would either need to modify the other FCs to have the same number of fields, field types, field lengths, etc. so that it will only delete any duplicate values.
... View more
01-24-2025
06:59 AM
|
0
|
1
|
2818
|
|
POST
|
Hi @Username1 , For future reference please upload your code using clicking on the expand toolbar and inserting your code using Regarding you code, try this. exclude_directories = ['Archived','#Archived','Archive','archived','archive','#archived','#archive','ss','SS'] #directory (only names) want to exclude
RemoveFilesByName = 'myfolderex'
WorkingFolder = r'C:\Users\MyDirectory'
Projects = []
for root, directory, filenames in os.walk(WorkingFolder):
for filename in filenames:
dirname = os.path.split( directory )
if dirname not in exclude_directories and all(['.aprx' in filename , RemoveFilesByName not in filename ] ) :
Projects.append( os.path.join(root, filename) )
if len( Projects ) > 0:
for project in Projects:
project = arcpy.mp.ArcGISProject(project)
maplayers = [ lyr for lyr in m.listLayers() for m in project.listMaps() if any([ lyr.supports("DATASOURCE") , lyr.isBroken ])]
for layer in maplayers:
if lyr.isBroken: print( f'(BROKEN) {lyr.name} - {m.name}' )
else: print( f'Map Layer Name: {lyr.name} | SZ_gis_dataname: {lyr.dataSource[211:])}' )
... View more
01-24-2025
06:14 AM
|
1
|
0
|
2019
|
|
POST
|
Hi @AlexanderGrünberger If the tables have a common ID/field amongst all of them then you could try joining the tables and then exporting them to an excel file with fields excluded. Another option is to append all of the datasets into a single dataset and then run the delete identical tool which should eliminate all duplicate values in the fields you specifiy.
... View more
01-24-2025
04:16 AM
|
0
|
3
|
2845
|
|
POST
|
Hi @CamTurney, You can easily accomplish this by changing the field mapping option to
... View more
01-23-2025
09:18 AM
|
1
|
1
|
1425
|
|
POST
|
What kind of versioning are you using if you are using any at all. It sounds like you are using batch versioning which would require that you to disable the service, delete the version possibly, apply the edits/create the attribute rule, and then re-publish the service. We are using traditional versioning since we have a lot of back end processes that run in SQL so I am a little unfamiliar with the batch versioning.
... View more
01-23-2025
09:08 AM
|
0
|
0
|
2307
|
|
POST
|
This capability must have been added for Enterprise releases 11.0 and later. We are currently using 10.9.1 which is why I originally thought it wouldn't work. I suppose with later updates that this will be possible.
... View more
01-23-2025
09:01 AM
|
0
|
0
|
2310
|
|
POST
|
This cannot be done in field maps rather it has to be set up as an attribute rule or ran as a field calculation. Field maps is intended for allowing changes to the behavior of the form itself.
... View more
01-23-2025
07:10 AM
|
0
|
0
|
314
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 2 weeks ago | |
| 1 | 05-07-2026 01:36 PM | |
| 1 | 02-10-2026 06:09 AM | |
| 1 | 03-04-2026 01:08 PM | |
| 1 | 02-24-2026 12:59 PM |
| Online Status |
Offline
|
| Date Last Visited |
11 hours ago
|