change transformation dynamically

kalpak shambharkar asked on April 7, 2017 15:24

We have a scenario where we want to change transformation based on query string parameter using macro, is there any way to achieve this scenario ?

Correct Answer

Peter Mogilnitski answered on April 7, 2017 15:37

Sure. {%QueryString["Param1"] == "123" ? "CMS.Root.Transformation1": "CMS.Root.Transformation2"|(user)zbynekh|(hash)6d9eddd05a84e5f614b6b24f98a997e05143572fefcfe11fe406767f4940d81e%} Image Text

1 votesVote for this answer Unmark Correct answer

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