Use URL Querystring within Basic Content block link via replacement

John Swidorski asked on September 28, 2016 17:57

Is it possible to use a content in a query string in a link within a content block?

example: http://www.domain.com?q1=ABC&q2=DEF

then do a href="domain2.com?q1=ABC&q2=DEF" link within a content block via some sort of replacement?

Thanks in Advance... John

Recent Answers


Trevor Fayas answered on September 28, 2016 18:46 (last edited on December 10, 2019 02:30)

k# should be able to do what you want.

{% querystring.q1 |(identity)GlobalAdministrator%}

the Convert.ToString() is to make sure you get a string even if q1 is not passed.

0 votesVote for this answer Mark as a Correct answer

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