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"|(identity)GlobalAdministrator%} Image Text

1 votesVote for this answer Unmark Correct answer

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