JordanMcAlister
7 years agoQrew Captain
How to Add Download Link to Email
Hi,
I am trying to add a download link to an email that gets generated automatically via button on a form. Basically, when a job has been reviewed, it needs to be sent to the supervisor to be approved along with the sketch of the job. Since the sketch itself(which is a file attachment field in the form) can't actually be attached as far as I know, I am trying to add a Download Link at the end of the email and the person approving the job can access the sketch immediately through the link.
I am able to get the button and email generation to work but don't know how to generate the link.
Other Parameters:
---the person approving the job is a quickbase user with access
---the field "Record ID#" has been deleted and the new key field is [WR #]
---there are two file attachment fields that could have the sketch. I need to send the link for the field [Sketch] if the field [Updated Sketch] is blank
Here is a copy of my current code working within a URL - Formula field:
---------------------------------------------------------------------------------------
var text URLONE = "MailTo:someone@someplace.com"
//&"?cc=user2@domain.com; user3@domain.com; user4@domain.com" (in case I add a CC in the future
&"&subject=WR for Approval"
&"&body=WR "&[WR #] &" is ready for approval."&"%0A%0A";
$URLONE
---------------------------------------------------------------------------------------
Any help is appreciated!
I am trying to add a download link to an email that gets generated automatically via button on a form. Basically, when a job has been reviewed, it needs to be sent to the supervisor to be approved along with the sketch of the job. Since the sketch itself(which is a file attachment field in the form) can't actually be attached as far as I know, I am trying to add a Download Link at the end of the email and the person approving the job can access the sketch immediately through the link.
I am able to get the button and email generation to work but don't know how to generate the link.
Other Parameters:
---the person approving the job is a quickbase user with access
---the field "Record ID#" has been deleted and the new key field is [WR #]
---there are two file attachment fields that could have the sketch. I need to send the link for the field [Sketch] if the field [Updated Sketch] is blank
Here is a copy of my current code working within a URL - Formula field:
---------------------------------------------------------------------------------------
var text URLONE = "MailTo:someone@someplace.com"
//&"?cc=user2@domain.com; user3@domain.com; user4@domain.com" (in case I add a CC in the future
&"&subject=WR for Approval"
&"&body=WR "&[WR #] &" is ready for approval."&"%0A%0A";
$URLONE
---------------------------------------------------------------------------------------
Any help is appreciated!