|
POST
|
I see - it sounds like you're trying to populate values in bulk for the whole table. If so, then you are correct, Forms is not meant for this. What you should expect from Forms is that when you go to edit a feature in the map (e.g., by clicking on it then clicking Edit in the popup), the value for the field where your expression is configured will be pre-populated with the value returned by the expression. The Arcade visualization profile doesn't support FeatureSets, so I don't know of a way to dynamically set the symbology in the way you're describing. Attribute Rules are not supported on hosted feature layers, so that's out as well. AFAIK, you'll need to calculate the values you want to use for symbology, either manually or with Python.
... View more
04-26-2024
02:10 PM
|
0
|
4
|
1476
|
|
POST
|
With the pending deprecation of Field Maps on Windows, we're looking for a solution for distributing offline maps to rural public safety staff. Windows is an absolute requirement (they will be viewing maps on mobile data terminals in patrol cars), and they need to be able to see their position on the map (they have a GPS dongle plugged into the MDTs). Explorer meets all of these requirements, and as far as I can tell, is the only Windows app that does.* It still looks great and does everything we need it to do. According to ArcGIS Explorer (Windows) Life Cycle | Esri Support, Explorer is still in General Availability on Windows, and according to Deprecation: ArcGIS Explorer Deprecation (esri.com), there are no plans to deprecate Explorer on Windows. I'm hoping to gather some information/opinions on whether this is a viable solution, and how long we might expect Explorer to remain supported, since the life cycle page shows no retirement date. *We could kind of jam this into Survey123, but it's not designed for this and therefore has some limitations for our purposes.
... View more
04-26-2024
11:33 AM
|
2
|
4
|
1359
|
|
POST
|
Have you tried logging those variables to the console, e.g., Console(RelatedReads) etc.? That might help you understand the values being generated by the expression to make sure your logic is getting the inputs you expect.
... View more
04-25-2024
07:13 PM
|
0
|
7
|
1545
|
|
POST
|
I did some more testing, and our 4x map looks great on Explorer on Windows 11 without any modification. Arcade expressions work (including FeatureSets). Multiline labels and layer grouping from hosted feature layers. Created an MMPK and it works great. @RyanUthoff: ArcGIS Explorer (Windows) Life Cycle | Esri Support shows Explorer still in General Availability, which means patches/bugfixes should happen, maybe. It would be great if someone from Esri could confirm. It looks to still be fully supported, although I know the official recommendation is to move to Field Maps on iOS/Android. FWIW, our use case is a sheriff's office needing offline maps on their Windows-based mobile data terminals (ruggedized laptops mounted in patrol cars). Moving to Android or iOS just isn't possible.
... View more
04-25-2024
05:25 PM
|
1
|
0
|
2415
|
|
POST
|
I've tested Explorer on Windows 11. It seems to work fine and is available from the Microsoft Store. I'm afraid to deploy to any production workflows since all the support links for Explorer in the Microsoft Store redirect you to Field Maps docs. It's unclear whether Explorer is still supported by Esri, or if so, what the Explorer support lifecycle might look like. But we are in a bit of a bind without a Windows 11 option that can show device location with offline capability.
... View more
04-25-2024
11:10 AM
|
0
|
1
|
2426
|
|
POST
|
Thanks again Doug, very good point. I'm planning to use the pulldata("@property", 'mode') calculation on a hidden/null question to assign the survey mode to a variable, then use that variable in the relevant column for the second geopoint and the lat/long fields populated from it (e.g., ${survey_mode}!='edit')). This way those fields will only be calculated on initial submission.
... View more
04-12-2024
06:20 PM
|
1
|
0
|
1269
|
|
POST
|
@DougBrowning Setting the default to 0,0 still placed the second geopoint on the ¢er= value. However, setting calculate to null and bind::esri:parameters to calculationMode=always (then making the second geopoint required) worked for me. Thanks for putting me on the right track.
... View more
04-12-2024
02:30 PM
|
1
|
2
|
1280
|
|
POST
|
Thanks Doug. Looks like we won't be able to hide the question in that case, since the user will still need to click the locate button to populate the lat-long fields. This may be as good as it gets - at least we won't risk the user submitting the asset location on the second geopoint, so thanks. Thanks for the other tips as well; we need the survey points to be coincident with the asset for this particular application but that's good to keep in mind for future applications.
... View more
04-09-2024
06:09 PM
|
0
|
0
|
1328
|
|
POST
|
I have a survey with two geopoint questions: The first geopoint represents the location of an asset in the field and is set by using the center parameter of the Survey123 URL scheme, and this is submitted as the geometry value for the the survey point. The user clicks a point in Field Maps, then the lat/long from that point is passed to the URL in the popup to become the survey point geometry. In other words, the survey point geometry is identical to the geometry of the clicked point in Field Maps. So far so good. For the second geopoint question, we want to grab the device location and write lat/long to fields in the table. So we set the bind::esri:fieldType to null and set a calculation on two decimal fields using pulldata from the second geopoint. The issue is that the "center" parameter seems to set the location of both geopoints when the survey is opened, rather than just setting the location of the non-null (default) geopoint question. If the user clicks the locate button on the second geopoint, it recalculates and the correct values are passed to the decimal fields. But we need to automatically grab the device location without relying on the user clicking the second geopoint question (in fact, we would prefer to hide it entirely) to reset the location. Is there a solution to this?
... View more
04-09-2024
02:54 PM
|
0
|
5
|
1431
|
|
BLOG
|
@TomScavo @jsarthur If you’re the item owner, you should be able to change this on the item settings page by unchecking “Allow others to export to different formats”. A couple of caveats though: 1. This takes away the option to export as file geodatabase, and 2. All exports will be in WKID 4326 (KML is always 4326 anyway, but this forces 4326 on shapefiles etc as well, ignoring the Local Projections setting).
... View more
04-04-2024
09:46 AM
|
0
|
0
|
6899
|
|
POST
|
Hi Sean, here's how we do that: Add ¢er=<lat>,<long> to the end of the link that opens Survey123 (ex: ¢er=40.3798956137812,-122.98043757805). On the geopoint question in your survey's XLSform, set required=yes, readonly=yes, and default=null. You'll need to use an Arcade expression to get the lat-long values. If your Field Maps point data happens to be in 4326 (WGS 84), you can just add "¢er=" + Geometry($feature).y + ',' + Geometry($feature).x to the expression that builds your link (or if you happen to already have lat/long values elsewhere in the table, you can just use those, of course). If your Field Maps point data is in another projection, it gets a bit trickier because you have to convert to lat/long. Let me know if this is the case and I'll see if I can help you convert those values in your popup.
... View more
03-27-2024
06:43 PM
|
0
|
1
|
2685
|
|
BLOG
|
@jsarthur @TomScavo I happened to notice that disabling extract on the feature service forces the old download sidebar and brings back the KML download option, at least for now. Hopefully KML will be added back to the new download experience.
... View more
03-25-2024
11:32 AM
|
6
|
0
|
7258
|
|
POST
|
Same issue here. @sredar's workaround is great for my current project (thanks), but there are lots of other cases where arcpy isn't available and I need to get an access token from the GIS object.
... View more
03-20-2024
04:07 PM
|
0
|
0
|
1697
|
|
POST
|
Hi Tyler - good solution, thanks. The buttons still show on the form, but it gives an error on submission if you try to add or delete a related record.
... View more
03-01-2024
03:21 PM
|
0
|
0
|
1024
|
|
POST
|
We are attempting to design a survey to be accessed via web form that allows review of survey records previously submitted from the field. To do this, I've created two surveys, one for field collection via the mobile app, and a second one that points to the same feature service using the submission URL parameter, with all fields set to read only with the exception of a few additional fields for entering review information. This works fine, except that the repeats are still editable in the sense that they can be deleted or added using the buttons in the web form: We can imperfectly get around accidental additions by making the fields in the repeat required and read-only (so it won't let them submit), but it seems that reviewers are still able to delete records from the repeat using the trash can button. I've tried setting the [begin repeat] line to read-only, and have also tried setting the [bind::esri:parameters] column on the [begin repeat] line to allowUpdates=false and allowAdds=false, and neither seems to have any effect. Is there any way to allow the repeats to be shown on the web form but not allow them to be added to or deleted?
... View more
02-29-2024
09:47 AM
|
0
|
3
|
1149
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-24-2024 12:44 PM | |
| 1 | 08-13-2024 11:31 AM | |
| 1 | 02-06-2023 05:52 PM | |
| 1 | 09-05-2020 01:13 PM | |
| 2 | 12-24-2024 11:19 AM |
| Online Status |
Offline
|
| Date Last Visited |
09-16-2025
04:51 PM
|