Hi Peter
I haven’t tried it, but I think this should work :
"File Upload fields can also utilize the ':link' piping option, such as [my_field:link], where the file's filename will be displayed as a clickable hyperlink for downloading the file, which works on webpages and also inside the body of email text (i.e., survey invitations or Alerts & Notifications)."
Hope this works…
Jean
On 8 Apr 2023, at 3:45 am, Florence Breslin <fjbr...@gmail.com> wrote:HI Peter, I do this actually in clinic already, it works really well with a couple of steps. First, is I have a variable where the patient selects the doctor they are seeing, so that I can have only that doctor receive the email. Then in the survey setup, I have the “save a PDF of completed survey response to a file upload field” activated, I tag this variable “@HIDDEN-SURVEY” so they subjects don’t see it. Then under “Alerts & Notifications” I have an alert setup for each doctor, with code to trigger when the survey is saved with complete status and “while the following logic is true:” [doctor]=1 (where [doctor] is my variable where they select their doctor and the number represents the doctor that this alert is for).Then in the alert email body, I select the message attachments and under ”file upload fields”, select the field where the pdf is now saved and the doctor will automatically.Let me know if you have any additional questions.FBFrom: Peter Macisaac (POP) <pe...@macisaacinformatics.org>
Date: Wednesday, April 5, 2023 at 6:37 AM
To: Florence Breslin <fjbr...@gmail.com>
Subject: Fwd: notification of survey that includes PDFFlorence,Saw you post on PDFs, can you look at my issue pleasePeterBegin forwarded message:
--
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 on the web visit https://groups.google.com/d/msgid/redcap_open/32306cf6-453d-4bbd-b62d-80db8e4167b8n%40googlegroups.com.