Hello Joh,
It is not clear to me quite what you are envisaging with this, sorry. What does it mean to have a blank text file for data exchange?
Regarding YAML, JSON, or CSV, however, would piping data into a text/notes field do what you need? Something like this?
@SETVALUE='{"record_id":"[record-name]","q1":"[q1]","q2":"[q2]"}'
You would then implement some process to read that field to obtain the JSON text and put it into a request.
HTH,
Luke
From: redca...@googlegroups.com <redca...@googlegroups.com>
On Behalf Of Johannes Graumann
Sent: Thursday, 27 March 2025 03:14
To: Redcap Open <redca...@googlegroups.com>
Subject: [EXTERNAL][REDCap Open] Notification Email on Submission: Attaching a text/csv representation of survey answers?
CAUTION: External Email. Please be cautious with attachments and clicking links
--
You received this message because you are subscribed to the Google Groups "Redcap Open" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
redcap_open...@googlegroups.com.
To view this discussion visit
https://groups.google.com/d/msgid/redcap_open/37eca227-ba2c-4887-95c4-24f4c352c55cn%40googlegroups.com.
This e-mail and any attachments to it (the "Communication") are, unless otherwise stated, confidential, may contain copyright material and is for the use only of the intended recipient. If you receive the Communication in error, please notify the sender immediately by return e-mail, delete the Communication and the return e-mail, and do not read, copy, retransmit or otherwise deal with it. Any views expressed in the Communication are those of the individual sender only, unless expressly stated to be those of Murdoch Children’s Research Institute (MCRI) ABN 21 006 566 972 or any of its related entities. MCRI does not accept liability in connection with the integrity of or errors in the Communication, computer virus, data corruption, interference or delay arising from or in respect of the Communication.
- “replace that (pdf)format with a blank text file for data exchange. yaml or json would be great, but I'm taking csv as well”
It is not clear to me quite what you are envisaging with this, sorry. What does it mean to have a blank text file for data exchange?
Regarding YAML, JSON, or CSV, however, would piping data into a text/notes field do what you need? Something like this?
@SETVALUE='{"record_id":"[record-name]","q1":"[q1]","q2":"[q2]"}'
You would then implement some process to read that field to obtain the JSON text and put it into a request.
To view this discussion visit https://groups.google.com/d/msgid/redcap_open/69436259-dfa1-4122-9ac7-5738a2df5397n%40googlegroups.com.