Execute query in macro

Shmar Hill asked on September 3, 2015 21:19


is there any way to execute a query in a macro?

Let say get the query like this:


And then display the result using a transfformation using:


Any ideas?

Thanks :)

Correct Answer

Lukas Martinak answered on September 3, 2015 23:10

Hi, I'm not aware of any built-in macro method but you can create a custom macro method that will do that for you. Just follow the Registering custom macro methods article and beware of Macros and Security.

0 votesVote for this answer Unmark Correct answer

Recent Answers

Shmar Hill answered on September 4, 2015 12:56

thanks. Thats what I thought. maybe Kentico can add it in version 9.

0 votesVote for this answer Mark as a Correct answer

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