Hi Martin,
This is exactly what I was looking for.
But the macro '{%categoryid%}' doesn't retrieve any value for me in the repeater where condition.
It works when I write the below code:
(DocumentID IN ( SELECT DocumentID FROM [Northtec-Staging].[dbo].[CMS_DocumentCategory] WHERE CategoryID = '12' ))
It doesn't work with the below code (I think it is because of the macro):
(DocumentID IN ( SELECT DocumentID FROM CMS_DocumentCategory WHERE CategoryID = '{%categoryid%}' ))
Thanks
Gitesh Shah