POST
|
The following worked for me: var facilities = FeatureSetByName($map, "Medical"); var point_fs = Intersects(facilities, Buffer($feature, 2000, "meters")); var min_dist = 99999; var nearest_medicalName = null; var geo = Geometry($feature); for (var point in point_fs) { var point_geo = Geometry(point); var dist = DistanceGeodetic(geo, point_geo, "meters"); if (dist < min_dist) { min_dist = dist; nearest_medicalName = point.name; } } return nearest_medicalName; Note that following: - DistanceGeodetic function only works between 2 points, not lines, - The designer will run the expression on the first feature in the feature layer you are targetting. Please share your expression if you need assistance in troubleshooting this. Cheers John
... View more
02-09-2025
09:59 PM
|
0
|
0
|
195
|
POST
|
@BrandonSwanson - Could you send the .qcr file to quickcapture@esri.com and I'll take a look. Also, is this ArcGIS Online or ArcGIS Enterprise. Happy to troubleshot this for you.
... View more
01-29-2025
02:01 PM
|
0
|
0
|
194
|
BLOG
|
Sharing QuickCapture Projects Publically There may be situations where you want to share a QuickCapture project publicly, meaning users won’t need to enter a username and password to download the project and submit data. This is useful for applications such as crowdsourcing, where you want members of the public to submit data. In these cases, you won’t know who your users are and won’t be able to assign individual licenses to them. Sharing QuickCapture projects publicly can be done using the QuickCapture Web Designer, but the implementation differs depending on whether you are using ArcGIS Online (AGOL) or ArcGIS Enterprise. ArcGIS Online (AGOL) If you are using AGOL, you can share QuickCapture projects publicly, as long as your organization has a Hub Premium license. Once this is applied, the designer will allow you to share the project with Everyone (Public). How to Share: Click the 'Share' button, then select the option to Share with everyone. This will make the project public, along with any associated project layers and web maps, if necessary. Once shared, you can distribute the QR code (created by the designer) to users via email or embed it in a document. Users can scan the QR code using their mobile phone camera. If QuickCapture is not already installed, they will be directed to the appropriate app store to download it. After installation, scanning the QR code will automatically download the project to the app’s public workspace, ready for use. Note: The designer also allows you to create project links as an alternative to QR codes. These links can be embedded in emails or documents as another way to distribute your public projects. ArcGIS Enterprise If you are using ArcGIS Enterprise, no additional license is required to share QuickCapture projects publicly. The option to share your project is always available, and the QuickCapture Designer will allow you to create project QR codes and links, just like you can do in ArcGIS Online. However, there are some important considerations: External Access: If you want your project to be accessible outside of your internal network, ensure that your portal is accessible externally. In some cases, a VPN can be used if only certain members of your organization need access. In other cases, you may need to adjust your firewall settings to allow external access to the portal, the project, and associated items. Web Maps: A bug in QuickCapture prevented web maps from loading in public projects (BUG-000166936). The fix is available in version 1.21 of the Web Designer and will be available in the Enterprise-hosted version of the designer in ArcGIS Enterprise version 11.5. Additionally, it will require the map to be updated in existing projects and the project resaved. If you are using an older version of ArcGIS Enterprise, you will need to use the online version of the Web Designer with your Enterprise. See the following steps to fix your existing projects. Use the online Web Designer with your Enterprise: Go to the online version of the designer: ArcGIS QuickCapture Designer. Select Sign in with ArcGIS Enterprise. Enter your portal URL and sign in with your ArcGIS Enterprise credentials. Open the project you want to share publically and go to Configure Project Map. Select Change and choose the map you want to use. Even if the correct map is already selected, reselect it to ensure the correct property is set. Save the project and share it publicly, if needed.
... View more
01-28-2025
06:30 PM
|
1
|
0
|
443
|
BLOG
|
@JulioOlivarez - Please drop me an email on quickcapture@esri.com - I'd like to help trouble shoot this. Thanks John
... View more
01-22-2025
10:14 PM
|
0
|
0
|
340
|
BLOG
|
The supportsApplyEditsWithGlobalIDs warning The QuickCapture designer shows a warning if your project contains feature layers that have the supportsApplyEditsWithGlobalIDs property is set to false. Many feature layers (including those created from the ArcGIS Online templates) by default will have this property set to false, so if you create a QuickCapture project from them, you will see the following warning in the QuickCapture Designer analyser UI: (The following layers are configured in a way that may cause photo loss) Currently, this is just a warning, meaning that you can still save the project without applying the fix. However it is strongly recommended that you don’t ignore it. In the future we will make this an error, which will prevent you from saving the project, until the issue is resolved. See this deprecation notice. The reason that supportsApplyEditsWithGlobalIDs is important is that the setting that supports reliable transactions when uploading attachments (particularly when working in low bandwidth conditions) and helps the QuickCapture mobile app to prevent the upload of duplicate features. I'm seeing the warning in the QuickCapture Designer, what do I do? If you are using a hosted feature service in ArcGIS Online, setting supportsApplyEditsWithGlobalIDs is really simple. You just need to enable the Sync capability on your layer. It does not matter if there are existing features and attachments in the layer, the steps will still work. You can follow the steps outlined in this blog. If you are using non hosted feature layers or ArcGIS enterprise then the steps shared in this Survey123 blog, also apply to QuickCapture.
... View more
01-16-2025
05:15 PM
|
1
|
0
|
423
|
BLOG
|
@JulioOlivarez - Are you using enterprise? If so, what version? If we get no messages from the server (online or enterprise) the app tries to send 3 times. If it gets no response back after 3 attempts the app will show the error. It is then up to the user to retry, use the recovery workflow or discard. It would be good to find out why the app is not getting a response back. Are you submitting in poor connectivity?
... View more
01-16-2025
04:04 PM
|
1
|
0
|
372
|
POST
|
The following scenario will add the attachment to an email: Configure the QuickCapture module to point to the appropriate QuickCapture project/layer. Iterate through the attachments in the webhook payload: Make a HTTP (Get a file) request to get the attachment(s): Use an Array aggregator to aggregate the attachments, using the Microsoft 365 Email (Outlook) - Create and send message Target structure type. Use the HTTP - Get a file for the Attachments=>File option. Set the aggregator output as the Attachments property.
... View more
01-09-2025
07:42 PM
|
0
|
0
|
269
|
POST
|
@JonathanPollack - Good point. Please see the updated steps above. These have been simplified and work for points, lines and ploygons.
... View more
01-08-2025
04:49 PM
|
0
|
2
|
298
|
IDEA
|
Implemented in the 1.21 release. In the QuickCapture Web Designer, you can now select a group and the duplicate button will display. Pressing the button will create a duplicate of the selected group.
... View more
01-05-2025
05:57 PM
|
0
|
0
|
292
|
POST
|
Issue resolved in 1.21.18 - available in stores now.
... View more
01-05-2025
05:54 PM
|
1
|
0
|
879
|
POST
|
Hi @VickyS can you confirm the name of the device variable that is not being populated?
... View more
12-22-2024
03:49 PM
|
0
|
0
|
188
|
POST
|
We have a fix for the issue, but are going through the approval process before making available. I'll confirm the release date as soon as I can. If you have data in the wrong place, here are the steps to correct it: The bug relates to Enterprise version prior to 11.3 ignoring the spatial reference being provided by QuickCapture. QuickCapture captures data in the Geographic Coordinate System: WGS84. However, enterprise thinks that the coordinates are in the projected coordinated system: WGS 1984 Web Mercator (Auxiliary Sphere). As the coordinates are still being captured, the data can be corrected using the following steps in ArcGIS Pro: Add the affected feature layer to a map in ArcGIS Pro. Select the features that are in the wrong place. In the table of contents, right click on the layer and choose Data=>Export features. In the new layer that is created, run the Define Projection tool on it. Make sure you set the Coordinate System value to GCS_WGS_1984. This will move the local features to the correct place. The next step is to use the Append tool to write these features to the original feature service: The final step is to delete the points in the wrong place from the original feature layer if desired. I hope this helps.
... View more
12-20-2024
02:24 PM
|
0
|
1
|
676
|
POST
|
We have been able to reproduce the issue. It relates to a bug in ArcGIS Enterprise 11.3 and earlier (BUG-000171694). We aim to release a hotfix update to QuickCapture as a workaround for these older enterprise versions.
... View more
12-17-2024
07:35 PM
|
1
|
2
|
757
|
BLOG
|
We have seen cases where duplicate features were submitted by the QuickCapture mobile application. This issue typically was experienced in areas with poor network connectivity. In some cases, the users saw timeout errors, while in other cases, they may not be aware of the duplicate submissions. Cause of the issue The problem occurs due to the app's logic, which aims to prevent data loss. When the app attempts to upload a feature (or batch of features), it waits for a success response from the server. If no response is received, the app assumes the upload has failed and will attempt to retry the upload twice more. If there is still no response, the app will show an error to the user. The user can then manually attempt the submission as many times as they like. The issue arises when a feature is actually successfully uploaded, but the app does not receive a response in time. In such cases, the app may mistakenly retry the upload, resulting in duplicate feature submissions. In the past, we accepted this as a trade-off to avoid data loss. However, the latest version of the application introduces a new mechanism to prevent this issue. Solution In the latest version of the QuickCapture app (1.21), a unique GlobalID is created for each submitted feature. If a feature with the same GlobalID is submitted again, the server will return an error. When the app detects this specific error, it will treat the feature as successfully submitted and will not attempt to resubmit it. Enabling the supportsApplyEditsWithGlobalIds capability in hosted feature services All you need to do is update to the latest version of the mobile application (1.21 or higher) and ensure that all your feature layers have the supportsApplyEditsWithGlobalIds capability enabled. This capability allows the app to create and assign a GlobalID to each feature before sending it, instead of relying on the server to generate the GlobalID on submission. Check if your feature service supports the capability: In the QuickCapture web designer, select a project button and navigate to the DATA tab. Click the (i) icon to open the item page for the feature layer the button is sending features to. Scroll down to the URL section for the feature layer and click the View button. This will open the ArcGIS REST Services Directory page for the feature service. Look for the SupportsApplyEditsWithGlobalIds property and ensure it is set to True. Enable the capability in a hosted feature service: If the property is not set to true, go back to the feature layer’s item page and click the Settings tab. Scroll to the Editing section, check the Enable Sync option, and save the change. This will create the required fields and indexes, and set SupportsApplyEditsWithGlobalIds = true. Note: This is a one-way process; you can uncheck Enable Sync later if it is not necessary for your workflows. Finally: in the QuickCapture web designer, re-save the project. Users in field will then be able to download the project update. That is it, you are done. No more duplicate features in your feature service! Bonus: More reliable sending of attachments When a target feature service is configured with SupportsApplyEditsWithGlobalIds = true, QuickCapture mobile users will also experience the more robust sending of attachemnents (photos or videos). Esentially, the mobile application will upload attachents first, and only when all attachments have been successfully uploaded, will it send the feature. This means that you should not get a feature that has been submitted with missing attachments, which is still possible for layers that have SupportsApplyEditsWithGlobalIds = false. That is it for now. Happy QuickCapturing!
... View more
12-16-2024
07:45 PM
|
2
|
6
|
703
|
POST
|
Hi @JohnBickmore Can you share the version of QuickCapture you are using and the device you are testing? Additionally, are you seeing the same problem if you test the projects under the Continue without signing in option? This will rule out an issue with enterprise. Please send an email to quickcapture@esri.com- If you want to get on a call.
... View more
12-16-2024
04:06 PM
|
0
|
1
|
800
|
Title | Kudos | Posted |
---|---|---|
1 | 03-25-2025 03:08 PM | |
1 | 04-30-2024 04:53 PM | |
1 | 01-28-2025 06:30 PM | |
1 | 01-16-2025 04:04 PM | |
1 | 01-16-2025 05:15 PM |
Online Status |
Offline
|
Date Last Visited |
05-22-2025
04:30 PM
|