|
POST
|
We have several repeats in a form that hold images. To force those repeats to start a new page in the template, we added a Word Section Break (Next Page) inside of a S123 conditional statement, like so. Then the "general_photos" section starts, printing exactly 2 photos on each page. Works great. But, after the last "general_photo", if there are NOT any "cultural_res_photos" (see condition after the photo table above) we still get a blank page inserted at the end, because of the Section Break (Next Page). How do we control this? Even though that condition is NOT met, the Section Break still gets inserted. All I hear about, is how AI is coming for my job, yet, in our Azure GOV environment, there is NOT a way to have a powerautomate flow or AI, delete the last page of the generated feature report, LOL.
... View more
04-07-2026
07:22 AM
|
0
|
1
|
191
|
|
POST
|
This EGDB (Azure DB for PostgreSQL flexible server) has been used heavily since 2023 for a field team of ~50 users working primarily offline in the desert. Before a .py script started hours ago, it had 15,800 fs replicas! Sync performance was degraded, and I'm fairly certain was impacting attribute rules firing properly when features were created. The arcade script for the AR is likely pushing the limits also; 800 or so lines. Cleanup couldn't be simpler. Look at the arcpy.da.SyncReplica.lastSyncDate and compare it to a cutoff date you have. Chances are, if the service is active, and the lastSyncDate > 1 month ago, it's likely orphaned. We told the field team to sync before heading out, make sure the offline map is still able to sync (replica not axed) and they're g2g. ListReplicas—ArcGIS Pro | Documentation Unregister Replica (Data Management)—ArcGIS Pro | Documentation I think the better question is, why so many orphaned replicas? I searched for my admin account as syncReplica.owner and found 100+ fs replicas. I know for a fact I was online while I removed the field maps, offline areas. Why weren't the replicas cleaned up at that time?
... View more
04-02-2026
01:26 PM
|
0
|
0
|
324
|
|
POST
|
It's worth noting..all the problematic HFLs have very complex mapPlex labeling properties set. Stacking, lead lines, weights, ect.
... View more
11-04-2025
01:42 PM
|
0
|
0
|
669
|
|
POST
|
I have called aprx.save() and looked at the applied def queries and they're all Ok. I also tried the suggested layout 'refresh' and still have the problem. Sometimes, the HFL shows up in the legend, because it's visible, but none of the labels or features draw. We have a similar GP tool we published, but that Pro project uses solely enterprise gdb data from our postgres instance..zero problems. This problematic project has Fgdb's referenced, HFLs and enterprise gdb sources..all are referenced.when published. But, we're barley at the publishing stage. It too doesn't draw the HFL points. Neither does the script run from Toolbox in Pro. Only sometimes it works, all the same input parameters. Bizzare
... View more
11-04-2025
01:39 PM
|
0
|
1
|
669
|
|
POST
|
The goal is to publish a geoprocessing tool that: Opens predefined Pro project Sets definition queries on hosted feature service layers (date ranges) Turns ON the hosted feat. service layers Zooms to a predefined bookmark Exports to JPG Pretty simple, right? Not so much. No matter what we do, the hosted feature service layer(s) aren't drawing. Sometimes they do draw, sometimes they don't; most often not. Can anyone spot an issue? import arcpy, os, time
from datetime import datetime
start_date = arcpy.GetParameterAsText(0) #1761486465000
end_date = arcpy.GetParameterAsText(1) #1762004877000
report_type = arcpy.GetParameterAsText(2) #"Cultural Resources"
project_area = arcpy.GetParameterAsText(3) #"Project 1"
output_map_filename = arcpy.GetParameterAsText(4) #"aTest"
output_map_file = arcpy.GetParameterAsText(5)
lyr_wildcard = "CR*" if report_type == "Cultural Resources" else "NR*"
start_date_str = datetime.fromtimestamp(start_date / 1000).strftime("%m/%d/%Y") if str(start_date).isdigit() else start_date
end_date_str = datetime.fromtimestamp(end_date / 1000).strftime("%m/%d/%Y") if str(end_date).isdigit() else end_date
arcpy.env.overwriteOutput = True
def find_dt_field(lyr_datasrc):
flds_to_ignore = ["created_date","last_edited_date"]
for fld in arcpy.ListFields(lyr_datasrc,"*_date","DateOnly"):
if not fld.name in flds_to_ignore:
return fld.name
break
aprx = arcpy.mp.ArcGISProject(r"\\nafiles-our.domain.com\Weekly Report Map GP Tool dev.aprx")
m = aprx.listMaps("weekrep")[0]
lyrs = [l for l in m.listLayers(lyr_wildcard) if not l.isGroupLayer]
for lyr in lyrs:
if lyr.supports("DEFINITIONQUERY"):
dt_fld = find_dt_field(lyr.dataSource)
sql_query = dt_fld + " >= date '" + start_date_str + "' AND " + dt_fld + " <= date '" + end_date_str + "'"
lyr.definitionQuery = sql_query
lyr.visible = True
lyt = aprx.listLayouts("Weekly")[0]
mf = lyt.listElements("MAPFRAME_ELEMENT", "LAYERS Map Frame")[0]
bookmark = m.listBookmarks(project_area)[0]
mf.zoomToBookmark(bookmark)
time.sleep(15) #let all the complex labels draw
output_file = os.path.join(arcpy.env.scratchFolder,output_map_filename)
pdf_export_format = arcpy.mp.CreateExportFormat("PDF",output_file)
pdf_export_format.georefInfo = False
pdf_export_format.resolution = 300
pdf_export_format.imageCompressionQuality = 100
arcpy.SetParameterAsText(5, lyt.export(pdf_export_format))
... View more
11-04-2025
11:45 AM
|
1
|
4
|
712
|
|
POST
|
ESRI: Please weigh-in here... why does Date Only display correctly on the S123 website, but incorrectly on the feature report? S123 Connect 3.24.30 XLS Form Feature service (Enterprise 11.5) Feat. service attribute table in Pro 3.5.3 Sample individual report template (Generated by S123 website) Resulting feature report PDF shows 10/22/2025 and NOT 10/23/2025 like it should. The fix! Just add utcOffset to the feature report, like so: The resulting PDF now prints 10/23/2025 like it should. This is throwing a major wrench in the engine.
... View more
10-31-2025
06:53 AM
|
1
|
0
|
720
|
|
POST
|
unfortunately, that doesn't work. It then thinks both #noncompliance and #noncompliance_photos are unclosed.
... View more
10-28-2025
04:22 PM
|
0
|
0
|
810
|
|
POST
|
I have this at the top, so that the entire section can be skipped if no photos exist. ${#noncompliance}${if (noncompliance_photos | getValue:"count")>0} But I guess, that starts the noncompliance_photos parser?
... View more
10-28-2025
01:48 PM
|
0
|
0
|
830
|
|
POST
|
I have a nested repeat of noncompliance and noncompliance_photos. ${#noncompliance} $#{noncompliance_photos} ${/} ${/} In a feature report template, how do I use the $feature keywork to get the position of each record? ${#noncompliance}${if (noncompliance_photos | getValue:"count")>0} Non-compliance Number: ${$feature | getValue: "position"} Photo Number: ${$feature | getValue: "position"} ${/}${/} The above only gets the position of the inner-most repeat, not the parent repeat. Any help with this?
... View more
10-28-2025
01:01 PM
|
0
|
6
|
859
|
|
POST
|
Same experience here with dateOnly field. It shows 10/21/2025 in the feature service (Survey123 website data tab), but when printed to a feature report ${monitoring_date | format:"MM/DD/YYYY"} it will be 10/20/2025. default calculation is today() in Survey123 connect. I recently changed that to now(), maybe that will make a difference? Did you ever get this solved?
... View more
10-22-2025
06:21 AM
|
0
|
2
|
752
|
|
POST
|
I'm filtering a repeat in a report template like so, works great. ${#issues | where:"issue_resolved='Yes'"} ${rpt_issue_info_resolved} ${/} Is there a way to add a condition to that filtered repeat, that depends on the count of the filtered records? Something like this: ${if (issues | where:"issue_resolved='No'" | getValue: "count") > 0} ${#issues} ${rpt_issue_info_unresolved} ${/}${/} I keep getting invalid expression... thanks!
... View more
10-17-2025
06:15 AM
|
0
|
1
|
334
|
|
POST
|
The AttachmentsCreated feature service webhook fires reliably, but I discovered Editor Tracking on the SDE geodatabase attachment table has to be enabled in order for the attachments:{adds:[]} JSON object returned from /extractChanges to be populated with the attachment info. But ONLY in an online workflow. If the field maps app is used offline, then the feature (with attachment) is synced, the webhook fires, but attachments:{adds:[]} is empty. Anyone else experience this? We're using ArcGIS Enterprise 11.4
... View more
03-22-2025
07:25 AM
|
0
|
0
|
622
|
|
POST
|
Why can't I retrieve any attachments when using an attribute rule, Insert trigger on a layer that has attachments enabled? This is an Enterprise Geodatabase that's published to Enterprise 11.4 as a referenced feature service. Both methods below fail to retrieve the attachment on the photo_point layer. Count(Attachments($feature))
//always reports 0
var sql = Concatenate(["(rel_globalid = '",$feature.globalid,"')"]);
var photoTableFeatSet = Filter(FeatureSetByName($datastore,'dbname.dbo.photo_point__ATTACH',['rel_globalid','att_name'],false),sql);
Count(photoTableFeatSet)
//always reports 0 I even setup a feature service webhook on photo_point layer, listening for 'AttachmentsCreated', which successfully fires a powerAutomate flow. But, inside the flow, calling /extractChanges, with the below query params {
"token": "validToken",
"dataFormat": "json",
"layers": "[5]",
"returnAttachments": "true",
"returnAttachmentsDataByUrl": "true",
"f": "json",
"serverGens": "1742307850054,1742307850055"
} then the returned change "attachments" value always is this: "attachments": {
"adds": [],
"updates": [],
"deleteIds": []
} what is happening? All I want to do is retrieve attachments on a feature that is inserted into a layer. Either by attribute rule or feature service webhook, I don't care!
... View more
03-18-2025
11:06 AM
|
0
|
1
|
673
|
|
POST
|
My only advice is to migrate both FsLogix profile containers AND GIS file share to Azure NetApp files and stop fussing with Azure Files (all storage/transaction tiers). We have 1 Azure NetApp 3TB capacity pool (premium tier) that's used for /profile and /gis shares and have had zero issues since my above thread reply. We opted for manual throughput, so that we could favor the /gis volume and assign it 132 MiB/Sec. The profiles are a bit slow to sign-out due to the throughput bottleneck, but we just advised users to sign-out of AVD, then minimize the AVD session and go about their business on the local PC. FsLogix eventually completes all communication with the profile container in netapp and signs-out w/out any issues. We started using this CPU SKU: Standard NC16as T4 v3, and we're able to comfortably fit 4 pooled (multi-session) users on the same VM. I actually think we could increase that to 5, maybe 6... and all of them are using Pro. It's pretty amazing.
... View more
02-18-2025
11:55 AM
|
1
|
0
|
5181
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-02-2024 04:44 PM | |
| 1 | 11-04-2025 11:45 AM | |
| 1 | 10-31-2025 06:53 AM | |
| 1 | 02-06-2019 06:41 AM | |
| 1 | 02-18-2025 11:55 AM |
| Online Status |
Offline
|
| Date Last Visited |
04-07-2026
07:13 AM
|