MacroCompatibility TransformToDataMacros Method (String, Boolean, String)Kentico 8.0 API Reference
Transforms all the macro types within the given text into data macros with same meaning.

Namespace: CMS.MacroEngine
Assembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

text
Type: OnlineSystem String
Text with macros
innerMacro (Optional)
Type: OnlineSystem Boolean
Indicates if the macro should be treated as a part of other macro
objectName (Optional)
Type: OnlineSystem String
Name of the object being processed

Return Value

Type: OnlineString
See Also