API Questions on Kentico API.
Version 6.x > API > Querystring macros within K# macro expression View modes: 
User avatar
Certified Developer 8
Certified Developer 8
Jiveabillion - 7/27/2012 4:55:23 PM
   
Querystring macros within K# macro expression
Is there a built-in way to access querystring parameter values from within a K# macro expression?

I've tried {%{?mykey?}%} and they don't work.

P.S. I know how to use {%mykey%} by itself.

User avatar
Certified Developer 8
Certified Developer 8
Accepted solutionAccepted solution
Jiveabillion - 7/27/2012 4:57:45 PM
   
RE:Querystring macros within K# macro expression
Moments after posting that question I tried one more thing:
{%QueryString["mykey"]%} and it worked.
Duh.