Select to view content in your preferred language

How to embed current date/ time into mailto: URL link?

78
2
Jump to solution
Thursday
DaveStewart1
New Contributor III

Good day all,

I currently have a button within Experience builder that creates an email (opens in new window - Outlook email) and I'd like to embed the current date/ time into the subject line.

Here's what I currently have in the link url: 

mailto:example@outlook.ca?subject=New%20Dashboard%20Metric%20Request&body=My%20new%20metric%20idea%2...

Does anyone know what the coding would be in order to establish current date/ time in the subject line of the email?

 

Thank you!

0 Kudos
1 Solution

Accepted Solutions
JeffreyThompson2
MVP Regular Contributor

There is no way to access the current time from within the link builder options. You would need to develop a custom widget to make a link like this.

GIS Developer
City of Arlington, Texas

View solution in original post

2 Replies
JeffreyThompson2
MVP Regular Contributor

There is no way to access the current time from within the link builder options. You would need to develop a custom widget to make a link like this.

GIS Developer
City of Arlington, Texas
DaveStewart1
New Contributor III

Thank you JeffreyThompson2 ! I really appreciate your response.

 

Regards,

 

Dave

0 Kudos