When I use a custom url to pass a date value from a web map to the Survey123 app I get a blank result. If I pass it to a web form it works.
The date value is coming from a date field
Survey123 2.8.2
Survey Connect 2.8.4
Hi Mike,
Passing a date is working in my tests. The one thing I see is that there is a space between meter_install_date and the = sign- is this in your URL (as opposed to being a GeoNet formatting issue)?
Can you give an example of how the date is formatted in the URL?
arcgis-survey123://?itemID=xyz&field:service_address=1201%20ROCKVILLE%20PIK&field:meter_number=xyz&field:meter_install_date =1302825600000&field:meter_size_temp=2%20INCH%20COMPOUND&field:meter_model=SENSUS%20RADIO%20READ&field:meter_mxu=13034618&field:ub_account_number=0901-000098¢er=39.0694365,-77.13084415
The space was the issue.
It was saved in the URL. I typically build and update these URLs in Notepad++ because I can see the whole URL. I know that I need to ensure there are no carriage returns in the URLs before I copy it back to the popup. I missed this. Another item for my checklist.
Thank you!
Hi there
I have a similar question, I'm trying to pass a date from my portal web map to pre-populate my web form but I'm not sure if I'm going about it right. It's date type and esriFieldTypeDate nothing else.
I've tried configuring the data in the attributes to different formats
https://survey123.arcgis.com/share/8f8d10d162d74621bf1ef9fdc602e543?field:PROJ_EA=01-00&field:PROJ_NICK=HUM-101%20Sn%203%20Bs&field:PROJ_ID=009&field:PROJ_DESC=IN%20HT%20CY%20AT%20SPH%20FLK%20EPL%20RR%20BE%20ATD%20SN%20%2304-0065%2C%20AT%20SH%20FK%20EKL%20RR%20BE%20%2304-0076%20AFD%20AKT%20AYA%20OD%20%2304&field:COUNTY=HUM&field:ROUTE=101&field:PROJ_PHASE=PAED&field:DISTRICT=01&field:M_DATE=1535760000000
That's the URL with some text deleted for privacy, any help would be much appreciated.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.