|
POST
|
Absolutely read through Tony's link, but the short answer: probably not. My teams been slowly stripping the DB name out of our hardcoded paths as a sanitary thing but we haven't seen issues with cursors, describe constructors and so on since going from 10.9 to 11.1. Direct database access might be more picky, but SQL Server seems to handle a redundant DB name just fine so maybe not. Just leave some time to smoke test your most critical tasks during the upgrade period and you should be good!
... View more
Wednesday
|
1
|
1
|
36
|
|
POST
|
Might be worth using the as_dict instance method and from_dict class method to create a new feature with matching attributes instead of editing the original object. Heavy handed but if it works, it works!
... View more
Wednesday
|
1
|
0
|
72
|
|
POST
|
Turns out proper curve support requires some real work, here's a better listing: var geom = Geometry($feature);
var geom_dict = Dictionary(Text(geom));
var paths = DefaultValue(geom_dict, "curvePaths", geom.paths);
var m_idx = Iif(geom.hasZ, 3, 2);
var coord = PointToCoordinate(geom, $userInput);
var start = paths[coord.partId][coord.segmentID];
var first = null;
if (HasKey(start, "a")) first = start["a"][0];
else if (HasKey(start, "b")) first = start["b"][0];
else if (HasKey(start, "c")) first = start["c"][0];
if (!IsEmpty(first)) {
start = Point({
"x": first[0],
"y": first[1],
"z": Iif(geom.hasZ, first[2], null),
"m": first[m_idx],
"spatialReference": geom.spatialReference
});
}
var end = paths[coord.partId][coord.segmentID + 1];
var seg = Polyline({
"curvePaths": [[start, end]],
hasZ: geom.hasZ,
hasM: true,
spatialReference: geom.spatialReference
});
var start_m = start.m;
var end_m = null;
if (HasKey(end, "a")) end_m = end["a"][0][m_idx];
else if (HasKey(end, "b")) end_m = end["b"][0][m_idx];
else if (HasKey(end, "c")) end_m = end["c"][0][m_idx];
else end_m = end.m;
var percent = (PointToCoordinate(seg, $userInput).distanceAlong) / Length(seg);
var lerp = ((end_m - start_m) * percent) + start_m;
return Text(lerp)
... View more
2 weeks ago
|
2
|
0
|
67
|
|
POST
|
Thanks for pointing me to that thread! Combining that with some of my own thinking, this should return a very accurate M interpolation for a popup, which I can then adapt to my attribute rule: var geom = Geometry($feature)
var paths = null;
var hasCurves = null;
if (HasValue(geom, "curvePaths")) {
paths = geom.curvePaths;
hasCurves = true;
} else {
paths = geom.paths;
hasCurves = false;
}
var coord = PointToCoordinate(geom, $userInput)
var start = paths[coord.partId][coord.segmentID];
var end = paths[coord.partId][coord.segmentID + 1];
var seg = null;
if (hasCurves) {
seg = Polyline({
"curvePaths": [[start, end]],
hasZ: geom.hasZ,
hasM: true,
spatialReference: geom.spatialReference
});
} else {
seg = Polyline({
"paths": [[start, end]],
hasZ: geom.hasZ,
hasM: true,
spatialReference: geom.spatialReference
});
}
var percent = (PointToCoordinate(seg, $userInput).distanceAlong) / Length(seg);
var lerp = ((end.m - start.m) * percent) + start.m;
return Text(lerp)
... View more
2 weeks ago
|
0
|
1
|
74
|
|
POST
|
Arcade has an obvious function to convert a measure value to a coordinate, but can the reverse be done? The closest I can find is PointToCoordinate but that claims to return the planar distance, not M values. I'm trying to get the chainage of a nearby running line when a point feature is added or moved in an attribute rule and I need the measured distance specifically.
... View more
2 weeks ago
|
0
|
3
|
116
|
|
POST
|
I ran into the same issue with Enterprise 11.1 and referenced service data, our solution was some combination of sharing the forms to a "Shared update" group and boosting everyone's permissions levels to help edit other's content. Wish I could tell you more specifics but we haven't had to update another user's forms since we moved to 11.5. Either way, as ESRI is modernizing the Survey123 stuff they should see if the whole "matching folder" thing can be dropped, there's no discernable reason why all the survey stuff has to be tethered to any given folder. I'm pretty sure it's the only built-in ArcGIS content that has this requirement!
... View more
2 weeks ago
|
1
|
0
|
107
|
|
POST
|
You should absolutely work with IT to ensure your machines are up to spec like everyone's said. Just keep in mind you'll still run into noticeable latency and random window compositing glitches on AVD, you pay a price for getting Pro running close to your shared files and databases.
... View more
2 weeks ago
|
0
|
1
|
138
|
|
POST
|
Using Arcade expressions in the form definition is currently the only way to do this in ArcGIS Online, so you'll have to keep using that. If you're working in ArcGIS Pro or registered EGDB data through Enterprise then you also get access to Attribute Rules, which runs the same Arcade calculations at the geodatabase level with some additional options.
... View more
4 weeks ago
|
1
|
0
|
67
|
|
POST
|
No guarantee this'll help, but try reading through the help pages on color management, the PDF might have color info that doesn't play nice with printers.
... View more
4 weeks ago
|
1
|
0
|
184
|
|
POST
|
This doesn't answer your question per-se, but I'm curious: are you trying to create a feature class that'll eventually link up to Survey123? If so you don't have to lowercase your Object ID or Global ID fields, Survey123 can handle those fields regardless of case. You can even bind to them as form questions, despite the case warning in the Excel workbook.
... View more
07-09-2026
04:30 PM
|
1
|
0
|
165
|
|
IDEA
|
Large swathes of ArcGIS (such as Field Maps or the Experience Builder Edit Widget) now assume all attachment tables use the new schema the "Upgrade Attachments" tool generates. This means all EGDB objects that feed registered map services need upgraded attachments or various client components will fail against those otherwise functioning services. This is a massive issue for naive Pro users who enable attachments without upgrading, especially if more ArcGIS components require upgraded attachments. All methods of enabling attachments in Pro need to create the upgraded fields by default to avoid leaving ticking time bombs in user's databases. This is also a UX enhancement as enabling attachments through the "Manage" properties tab now requires the user to jump into a GP tool for the upgrade, when it should be a single-click operation.
... View more
07-09-2026
07:58 AM
|
2
|
1
|
156
|
|
IDEA
|
I've been doing this for ages by altering the database tables directly, it'd be fantastic to make this a standard ArcGIS feature.
... View more
07-09-2026
07:50 AM
|
0
|
0
|
170
|
|
POST
|
The ArcGIS form spec now includes dedicated attachment questions, and those questions require the upgraded attachment table schema. It looks like most ESRI teams have gone ahead and assumed every attachment table uses this new format, which is causing all sorts of issues for Enterprise users with registered EGDB data. I'd advise getting your attachments upgraded ASAP, I doubt this assumption is getting rolled back going forward.
... View more
07-09-2026
07:48 AM
|
1
|
1
|
298
|
|
POST
|
Welcome to the club! There's two potential fixes mentioned here: either play around with your form's groups so Field Maps thinks you're using an older form format (???) or upgrade your attachments in the database.
... View more
07-08-2026
10:58 AM
|
0
|
0
|
366
|
|
POST
|
I recommend using one DB user account (either per-database or a global account, whatever fits your org better) then use that to create all user objects and create the connection files used to publish data to the Portal. If someone who isn't authorized to publish needs to work with the data they can either use their Windows account to access data shared with them, or just go through a feature service straight from the Portal. I've found trying to deal with anything more complicated just leads to issues with publishing, servers trying to access the data etc. etc. This is also highly recommended if you want to try out branch versioning as you need to sync up the data owner and the .sde credentials to publish those objects out in general.
... View more
07-03-2026
02:04 PM
|
0
|
0
|
145
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Wednesday | |
| 1 | Wednesday | |
| 2 | 2 weeks ago | |
| 1 | 2 weeks ago | |
| 1 | 4 weeks ago |
| Online Status |
Online
|
| Date Last Visited |
30m ago
|