Table of Contents

Class MacroStaticSettings

Namespace
CMS.MacroEngine
Assembly
CMS.MacroEngine.dll

Class providing static settings of MacroEngine.

public static class MacroStaticSettings
Inheritance
object
MacroStaticSettings

Properties

AllowContextMacros

Allow context macro resolving?

public static bool AllowContextMacros { get; set; }

Property Value

bool

AllowCookieMacros

Allow cookie macro resolving?

public static bool AllowCookieMacros { get; set; }

Property Value

bool

AllowCustomMacros

Allow custom macro resolving?

public static bool AllowCustomMacros { get; set; }

Property Value

bool

AllowDataMacros

Allow data macro resolving?

public static bool AllowDataMacros { get; set; }

Property Value

bool

AllowLocalizationMacros

Allow localization macro resolving?

public static bool AllowLocalizationMacros { get; set; }

Property Value

bool

AllowMacros

Allow macro resolving?

public static bool AllowMacros { get; set; }

Property Value

bool

AllowOnlySimpleMacros

If true, only simple macros (those which don't need security check) are allowed, all others won't be resolved. If true, CMSTextBox does not add security parameters to macros.

public static bool AllowOnlySimpleMacros { get; set; }

Property Value

bool

AllowQueryMacros

Allow query macro resolving?

public static bool AllowQueryMacros { get; set; }

Property Value

bool

AllowSpecialMacros

Allow special macro resolving?

public static bool AllowSpecialMacros { get; set; }

Property Value

bool

CaseSensitiveComparison

Determines whether the string comparison in macros is case sensitive (unless the |(casesensitive) parameter is used.). Reflects global setting CMSMacrosCaseSensitiveComparison from web.config.

public static bool CaseSensitiveComparison { get; set; }

Property Value

bool

DisableParameters

If true, macro parameters are ignored and not processed (CMSDisableMacroParameters web.config key is reflected), false by default.

public static bool DisableParameters { get; set; }

Property Value

bool

MaxMacroNodes

Determines how many properties can be displayed in AutoCompletion and MacroTree controls. Reflects global setting CMSMaxMacroNodes from web.config.

public static int MaxMacroNodes { get; set; }

Property Value

int