|
POST
|
We have Enterprise 12.1 installed on separate VMs in Azure. The Portal VM has a managed disk (Premium SSD) for the content, db, index and temp folders. We're looking to migrate the Portal content directory to an Azure Blob storage container (Standard performance tier). Why? This would save cost Give us must more storage capacity. Every time we upgrade Portal, we have to increase the managed disk size to accommodate 2.5 times the storage space as is currently being used. Then after the upgrade, who wants to go through the process of decreasing the size of the managed disk, copying over all data to new disk, detaching, ect. It's a pain, so the end result is constantly paying more for allocated disk space. Anyway, can we follow these steps to migrate the content from managed disk to blob container? https://doc.esri.com/en/arcgis-enterprise/latest/administer/changing-the-portal-content-directory.html?pivots=os-windows Basically, copy /content directory into our new storage container, then edit the path for content directory to this JSON format. {
"type": "cloudStore",
"provider": "Azure",
"connectionString": {
"accountName": "saexample",
"accountEndpoint": "blob.core.usgovcloudapi.net",
"accountKey": "abc123%%^key~",
"credentialType": "accessKey"
},
"objectStore": "https://saexample.blob.core.usgovcloudapi.net/portalcontainer"
} Questions about that JSON string: 1) is objectStore correct (refers to the URL of the portal content blob storage container)? Or, does this actually refer to the URL we have registered as an object store in Server Manager, for cache query storage? 2) Can we use an azure private endpoint connection for this blob storage container? thanks!
... View more
a week ago
|
0
|
1
|
209
|
|
POST
|
The Portal VM in Azure is restoring now, just encountered this major gotchya when upgrading from 11.5 -> 12.1. ESRI - can you please add an info box on the Upgrade Portal for ArcGIS doc explaining this "minor detail"? That might save a few VM restores...
... View more
2 weeks ago
|
1
|
1
|
231
|
|
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
|
349
|
|
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
|
565
|
|
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
|
859
|
|
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
|
859
|
|
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
|
902
|
|
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
|
1019
|
|
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
|
1132
|
|
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
|
1152
|
|
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
|
1181
|
|
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
|
1051
|
|
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
|
460
|
|
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
|
725
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 2 weeks ago | |
| 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 |
| Online Status |
Offline
|
| Date Last Visited |
Thursday
|