I am trying to get Survey123 Connect to show the last edited date of the survey on the next survey being done. I want to be able to calculate the number of days since the last survey was taken at a specific location. I've been trying to use the pulldata("@layer" function but keep getting a blank field. I've attached the .xls form and have editor tracking turned on in survey123 online. What am I doing wrong? I've been stuck on this for a couple of days now.
Thank you!
Sincerely,
Scott
It doesn't look like the source layer has query enabled. You will need to either enable query on the layer or use a view that has query enabled.
Also it would be getValue not getLayer.
and you could also sort by the date_and_time to ensure you get the most recent date.
Survey123 Tricks of the Trade: pulldata("@layer") - Esri Community
https://developers.arcgis.com/rest/services-reference/enterprise/query-feature-service-layer/
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.