|
IDEA
|
Have you considered combining FieldMaps and Survey123 together to achieve this? One of our staff are building a form that creates numerous related records using repeats in Survey123 with the survey being triggered from within FieldMaps using a link in a features popup which passes attributes as parameters. Checkout this post for more info. https://community.esri.com/t5/arcgis-survey123-questions/help-with-survey123-link-from-field-maps-with/m-p/1307395#M50582
... View more
02-17-2024
04:30 AM
|
0
|
0
|
1433
|
|
POST
|
Thanks for the additional tips. I have no HTML knowledge so the seemingly more convoluted Arcade method works for me (eventually). Learning as I go though so may try the HTML option soon! Will amend the callback based on your suggestion.
... View more
02-14-2024
06:12 PM
|
0
|
0
|
3821
|
|
POST
|
For those looking at the above solutions, here's my cutback version of the code provided which still passes attributes from the selected feature to the survey and does the callback, but without the portion of the code that updates the feature in FieldMaps after completing the survey (simply put, launches a survey but returns you to FieldMaps with the original feature selected but no edits occur). Thanks @DavidHood_USFS for this code - it works a treat! // To launch survey123 from map
// EDIT THIS LINK TO MATCH YOUR SURVEY LINK (Only edit AFTER itemID= and BEFORE &
var urlsource ="arcgis-survey123://?itemID=##############################&"
//Format globalid to "link" survey point to map data -- MUST have globalid field for this script to work. DO NOT EDIT THIS LINE
var fglobalid = Mid($feature.GlobalID, 1,36)
//Generate other url parameters to pass to survey123. -- These are the values you wish to transfer from Field Maps to your Survey123 form.
// Edit or delete fields as necessary.
var params = {
"field:plantation": $feature.Field1,
"field:compartment": $feature.Field2,
"field:stand": $feature.Field3,
};
// Create callback portion of link using itemID (map ID)
// Only edit AFTER itemID=
var callback = {
callback:"https://fieldmaps.arcgis.app/?referenceContext=open&itemID=################################",
}
// // Add featureID (must be var fglobalid) portion of callback link
// THIS LINE MUST NOT BE CHANGED. This line is what tells the script which point in the feature class will be selected
var callbackid = "featureID=" + fglobalid
// Return the entire link/URL. This is what the FieldMaps app is following when you click the link to enter survey data. This should not be changed unless there is no callback
// attribute to pass back to Field Maps
/// return urlsource + UrlEncode(params) + "&" + UrlEncode(callback)
return urlsource + UrlEncode(params) + "&" + UrlEncode(callback)
// For use in the pop-up for your featureclass, simply enter the expression name in the link field (i.e. {expression/expr0})
... View more
02-13-2024
04:29 PM
|
1
|
5
|
3842
|
|
IDEA
|
See this discussion for a work around using Arcade and Calculate Field which removes duplicate features after Concatenating values during Dissolves. Solved: Concatenate Distinct Values with Dissolve - Esri Community
... View more
02-12-2024
11:52 PM
|
0
|
0
|
1196
|
|
IDEA
|
When using the Dissolve or Pairwise Dissolve GP tool, currently you have the option of choosing "Concatenate" as the Statistic Type for Statistic Fields. IDEA: Add a "Concatenate Distinct" option so that when data is concatenated, you don't get repeating values. Example: A layer contains 8 rows with a text field with values from the following list: A, B, C, D (some values appearing more than once). When Dissolving using that field as a Statistics field, the current "Concatenate" option returns "A, A, B, C, C, C, D, D" from the 8 rows into 1 dissolved row. The proposed "Concatenate Distinct" option would only return "A, B, C, D" from the 8 rows.
... View more
02-12-2024
11:20 PM
|
3
|
1
|
1210
|
|
POST
|
I have built a model in model builder that does a heap of data intersecting, spatial joins and dissolves to produce a number of layers which are used to streamline a complex data entry process. I'm having issues with one tool which I'm out of ideas for. In one of my Spatial Joins, I have a field map customised to use the "Join" option with ", " set as the delimter so that all intersected values for that field are concatenated. See the screenshot below. However, when a different user runs or edits the tool, the property defaults back to "First". If they update it to the Join option and save the model, when I open it, I now see the default "First" setting. I came across a similar issue earlier in this models development, but it was around joining data from a layer that was built from a join to a CSV with fields of 8000 characters. These caused the same problems with custom field map properties not being honoured. Once I changed the fields so that they had more reasonable field lengths (255) the spatial join honoured the custom field map settings. In the scenario I'm finding now though, I don't have those field length issues (only 50 characters). Can anyone suggest other things I need to look at?
... View more
02-12-2024
06:22 PM
|
1
|
0
|
1464
|
|
POST
|
Worth noting this only applies to Enterprise and not ArcGIS Online, so is only useful when it's an Enterprise to Enterprise collaboration.
... View more
02-12-2024
05:54 PM
|
0
|
0
|
4275
|
|
POST
|
Thanks for the additional information. Looks like we have some work to do sometime soon clearing up all these rogue projections! We've been planning to migrate all our data from 9 to 2020 anyway, so hopefully once we kick that off we see the tail end of these issues!
... View more
02-04-2024
05:40 PM
|
1
|
0
|
10196
|
|
POST
|
Thanks for the info and explanation - I think I follow it all (or close enough). The long and short of it is that we need to look at the coordinate systems used in all the layers in the map and ensure that we don't have some with the WGS84@94 and others with WGS84@20 (if I've understood correctly). Can you clarify if this matters if we're not editing those layers and they're reference only?
... View more
01-31-2024
07:13 PM
|
0
|
3
|
10234
|
|
POST
|
Hi Jon. No, I never really found a solution to the "Calc on sync" issue. My only thoughts on how to make it work would be to find a way to ensure that you calculate unique values when offline. Maybe by including a character per user (if you know that each user will only have 1 device), or instead of user per device ID plus maybe a date & location component.
... View more
01-31-2024
04:31 PM
|
1
|
1
|
2873
|
|
POST
|
Can anyone give me some guidance on transformations and how they work in ArcGIS Pro. For context, we have a number of feature services in ArcGIS Online published from ArcGIS Pro. There's a mix of coordinate systems in play (mainly through ignorance in the early days). In particular, some layers using the Web Mercator Aux projection (not all which has me totally bamboozled), when loaded into ArcGIS Pro and used as the source layer when going Copy and Paste into a local layer (File Geodatabase feature class) in GDA 1994 MGA Zone 50, the feature shifts. This behavior is consistent when trying to use the Append or Export Features tools as well. We thought we had fixed this by starting to use the "GDA 1994 To WGS 1984 2" transformation. When copying data the other way (GDA to WGS Web Merc Aux) the shift doesn't occur. We're running 3.1.2. We downloaded 3.2.1 to a test device and the issue didn't seem to be happening there (despite all the same coordinate systems, data sources and transformations being used). After stuffing around for more time than I care to remember copying, pasting, changing coordinate systems and transformation, the "shift" issue seems to be completely inconsistent. On the test device, the feature also shifted - once, then went back to behaving the way we want it to (without changing settings). Also on our original machines, despite loading other feature services with the same coordinate systems and datums, the shift doesn't occur. Can anyone provide any clarity around where we might be going wrong? Are transformations a one-way thing? Is there another setting somewhere we should also be considering? We found another transformation (WGS 1984 To GDA2020 3 + GDA 1994 To GDA2020 1) that seems to deal with the issue properly and consistently, but we thought that about the one we are using now, up until now at least.
... View more
01-29-2024
08:59 PM
|
2
|
5
|
10374
|
|
BLOG
|
Great to know! The majority of my community activity has been using an account linked to my job. If (or should it be when) I move to a new job, I'd like to take my Esri community account with me, and it appears I can!
... View more
01-24-2024
09:51 PM
|
1
|
0
|
1433
|
|
POST
|
Looks like last quarter of 2024 unfortunately. ArcGIS Experience Builder 2024 Roadmap (esri.com)
... View more
01-24-2024
09:48 PM
|
2
|
2
|
6443
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Monday | |
| 4 | Wednesday | |
| 1 | Tuesday | |
| 2 | Tuesday | |
| 2 | 2 weeks ago |
| Online Status |
Offline
|
| Date Last Visited |
Thursday
|