Click or drag to resize
MacroResolverResolveMacroExpression Method (String, Boolean, Boolean, String)
Resolves the data macro expression (expects expression without {% %} brackets).

Namespace: CMS.MacroEngine
Assembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 8.2.23
public EvaluationResult ResolveMacroExpression(
	string expression,
	bool keepObjectsAsResult = false,
	bool skipSecurityCheck = false,
	string type = "%"


Type: SystemString
Macro expression without {% %} brackets
keepObjectsAsResult (Optional)
Type: SystemBoolean
If true, when the result is InfoObject it is the result, if false, object is resolved as its displayname (for backward compatibility)
skipSecurityCheck (Optional)
Type: SystemBoolean
If true, security check is not performed
type (Optional)
Type: SystemString
Type of the expression (? or $ or %)

Return Value

Type: EvaluationResult
See Also