How can I get the URL parameters while sending email notification post form submission

Srikanth Sharma asked on April 13, 2018 20:57

I have a form which has a Email Notification configured. I need the URL parameter along with the URL.

Currently I'm getting the URL by using $$value:URL$$. But now we need the URL parameters also. Any help would be appreciated.

Correct Answer

Srikanth Sharma answered on April 19, 2018 19:34

Never-mind. The correct answer is {% parameter %}

0 votesVote for this answer Unmark Correct answer

Recent Answers


Zach Perry answered on April 13, 2018 21:39 (last edited on December 10, 2019 02:31)

Should be able to add a field to form and get the value using a macro like {%QueryString.GetValue("Parameter")|(identity)GlobalAdministrator%}

0 votesVote for this answer Mark as a Correct answer

Srikanth Sharma answered on April 13, 2018 22:34

@Zach: Tested and found that the Querystring.GetValue doesn't capture the URL parameter in this case.

0 votesVote for this answer Mark as a Correct answer

Juraj Ondrus answered on April 14, 2018 13:38

Not sure if the macro is resolved at the time of the email being composed. You can try a workaround by adding a hidden field to the form - the default value of this field will be the query string macro. And then, in the notification email just use the value of this hidden field.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.