kentico_borisp
-
9/14/2011 5:52:37 PM
RE:Passing parameters into Custom Macros
Hello,
You don't have to use this approach. You can simply get the data you need directly in the custom macro. The entire document context is available during the macro resolution, so for example you can get the document tags the following way:
string tags= CMS.CMSHelper.CMSContext.CurrentDocument.DocumentTags;
Best regards, Boris Pocatko
|