Hello everyone,
I am using Survey123 Connect version 3.20.63.
I have created a field that is populated using a pulldata().
The pulldata() retrieves the maximum value of a field from the Survey's Feature Layer. This value is used by a second field and incremented by one. The retrieval works, but after the first submission, the pulldata() is not updated. I need to close the Survey123 app and reopen it for the pulldata() to regenerate. I read that the pulldata() does not regenerate within the same session, but perhaps I haven’t come across any updated articles.
Is there any functionality or trigger I can include in my xlsForm?
Thank you.
Solved! Go to Solution.
Survey123 is designed to cache the request.
You can work around it by adding something that will always not use the cache to the request, e.g. relative time.
Add now() to your query:
It's similar behaviour to elsewhere in ArcGIS (using time based queries like this is less performance efficient).
Survey123 is designed to cache the request.
You can work around it by adding something that will always not use the cache to the request, e.g. relative time.
Add now() to your query:
It's similar behaviour to elsewhere in ArcGIS (using time based queries like this is less performance efficient).
Thanks @ChristopherCounsell
This solution worked. I added the parameter t=now(), and the pulldata() updates.