|
POST
|
There may be ways to do this using the Javascript SDK and a few lines of code, but if you want an apples-to-apples comparison of the embed links in maps then you have to use a public map. Are you able to create some dummy layers with nonsense data/fields and then add that to your test map? Or maybe add some world atlas layers if you need a high-level appraisal of the embedded map.
... View more
06-05-2025
08:28 AM
|
1
|
0
|
769
|
|
POST
|
A few ways to do this, each with their own compromises: Add multiple attachment fields and populate as many as you need. This is a bad data design practice because you now have a maximum attachment limit, and any feature without that maximum has a bunch of null data, but it can be a practical solution. Create a table of attachment links and define a one to many relationship class from the art points to the attachment records. The main limit here is configuring your pop-ups to load in the photos in a user-friendly way regardless of how many there are, I'm stuck on Enterprise 11.1 so maybe someone else will come in with some pointers. Use the standard ArcGIS attachment format on your feature class and load the photos in there. This has the best compatibility with web maps but it means a copy of your source data has to sit in a special database table.
... View more
05-29-2025
04:58 PM
|
0
|
1
|
2380
|
|
POST
|
I tried replicating this with the default "Point Notes" layer template and the following code but what I get is the expected behaviour: nulls pass but empty strings fail with arcpy.da.UpdateCursor('Point Notes', "Name") as cur:
for row in cur:
if row[0] is None and row[0] != "":
print(f"[{row[0]}] passed")
else:
print(f"[{row[0]}] failed")
>>>[None] passed
>>>[] failed As you'd expect, it doesn't matter what the right hand expression is or what data's in the field, because the None check fails and stops the condition outright. All I can suggest is taking a closer look at your data or how that field index dict is constructed, I can't figure out why this is happening from the context provided.
... View more
05-29-2025
08:51 AM
|
1
|
0
|
6465
|
|
POST
|
After standing up some test data and playing around with the rules I was able to replicate that error, and this is what I came up with for a solution: var intersecting = Intersects(FilterBySubtypeCode(FeatureSetByName($datastore, "WaterLine", ["DIAMETER"], true), 2), $feature);
if (Count(intersecting) == 0) return false
return First(intersecting).DIAMETER == $feature.FITTING_SIZE This adds a "Count" check after the intersection and fails the rule if the feature isn't intersecting any lines. I assume the rule checker was feeding a null into the First which caused that error to pop-up. Wish the error message was better here but either way, that Count check seems to have fixed it. Note that this will fail if you move a fitting off a line, if that's too strict you can change line 2 to return true instead.
... View more
05-28-2025
02:19 PM
|
0
|
1
|
1446
|
|
POST
|
Almost there, we just need to extract the attribute value from the feature returned by First: var sLineDiam = First(Intersects(FilterBySubtypeCode(FeatureSetByName($datastore, "WaterLine", ["DIAMETER"], true), 2), $feature));
return sLineDiam["DIAMETER"] == $feature.FITTING_SIZE Just like JavaScript (and many other programming languages) the "==" operator compares both sides and returns true if they're equivalent or false otherwise. This means you can skip the if/else block as we're returning true/false directly. If you still get errors, check to see if a Select by Location between the two feature classes works as intended in Pro, you might have features that appear to be coincident but actually aren't.
... View more
05-28-2025
01:31 PM
|
0
|
3
|
1461
|
|
POST
|
Comparing 3.5 to 3.4 in detail, I don't see any new restrictions, there's just more clarifications for why you can't run the tool on EGDB or Feature Dataset classes (as well as workarounds). @AustinStreetman if you try to define projections for some troublesome data using just the tool interface (no arcpy) do you get a better error message?
... View more
05-28-2025
12:45 PM
|
0
|
1
|
2867
|
|
POST
|
The result of Intersects is a feature set of all intersecting features, if you know there's only 1 intersecting feature you can use the First function to quickly grab a feature. You also have to grab a field from the feature for the comparison, and I think passing false for the geometry parameter in FeatureSetByName will cause problems. Therefore: var tap = First(Intersects(FilterBySubtypeCode(FeatureSetByName($datastore, "WaterLine", ["DIAMETER"], true), 2), $feature));
return tap.tapSize == $feature.FITTING_SIZE I haven't tested this but it should get you going in the right direction.
... View more
05-28-2025
12:36 PM
|
0
|
5
|
1472
|
|
IDEA
|
Handling date field out of the box would be great, but if not his is another good use case for this other idea for Arcade expressions in the map series options. Right now the workaround is to calculate some fields and use those to drive the map series, which is a pain to maintain if you're constantly tweaking or rerendering a layout.
... View more
05-23-2025
12:15 PM
|
0
|
0
|
5113
|
|
POST
|
The rotation takes the orientation of the symbol and rotates it by that many degrees. This means if the symbol is normally facing right, you have to subtract 90 degrees to compensate like you did. If you want a symbol that doesn't need correction, it'll have to be facing directly up already.
... View more
05-22-2025
02:35 PM
|
2
|
0
|
1024
|
|
IDEA
|
This would be a handy Connect feature, but as a workaround you can make the label <span /> and it should render as blank without triggering a warning.
... View more
05-22-2025
10:29 AM
|
0
|
0
|
917
|
|
POST
|
I've never had luck upgrading Pro environments after a new version drops, I just delete all my custom environments and build them from scratch. Have you given that a try? You can run conda list to get a list of packages for all your environments so you don't forget to reinstall anything.
... View more
05-21-2025
10:05 AM
|
1
|
1
|
2273
|
|
POST
|
The query looks correct at first glance. Two things you can try: Wrap the CURRENT_DATE - 365 part in parenthesis to guarantee the order of operations. Check the dates going into that field, if they're null or malformed that could cause the query to fail.
... View more
05-21-2025
09:22 AM
|
0
|
1
|
1338
|
|
POST
|
It sounds like you want to use Survey123 to add and edit records in a related table to the hydrant points. This blog post can get you started on linking a survey form to an existing table. You will have to build the table yourself but as long as you pay attention to the field names and data types this should be fine. You can then use app links like I mentioned above to give Field Maps users a quick link to Survey123.
... View more
05-16-2025
01:43 PM
|
0
|
0
|
1190
|
|
POST
|
I'm unclear what your exact workflow is, but you can link to an existing survey form from a popup using an Arcade expression like this: "https://survey123.arcgis.app?itemID=<your survey item id here>&action=view&q:globalId=" + Lower(Mid($feature.GlobalID, 1, 36)) For more info on what types of URL parameters you can include check out the docs. You can either add this to the related table's pop-up or use some more arcade to find the most recent survey entry and link to that from the hydrants, lots of options to play around with.
... View more
05-16-2025
09:16 AM
|
0
|
4
|
1277
|
|
POST
|
The field names are greyed out in the field view which implies they're set to read-only at the database level. Try accessing the Fields pane through the feature class in the Catalog instead of the map and see if you can change it there. You might also want to check for calculation attribute rules that disable editing on those fields. If all else fails: back up the data, delete those two fields, add them again, overwrite the service and update the data.
... View more
05-08-2025
03:57 PM
|
2
|
0
|
1194
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-24-2023 11:47 AM | |
| 2 | 04-09-2026 11:36 AM | |
| 1 | 09-08-2023 10:07 AM | |
| 3 | 03-26-2026 08:11 AM | |
| 2 | 03-12-2026 01:41 PM |
| Online Status |
Offline
|
| Date Last Visited |
Friday
|