Click or drag to resize
MacroResolverSetNamedSourceData Method (String, Object, Boolean)
Registers the named source data. The data can be accessed with macro {%Selector.ColumnName%}. Selector has to be in identifier format.

Namespace: CMS.MacroEngine
Assembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 12.0.0
Syntax
C#
public void SetNamedSourceData(
	string selector,
	Object data,
	bool isPrioritized = true
)

Parameters

selector
Type: SystemString
Data selector
data
Type: SystemObject
Data
isPrioritized (Optional)
Type: SystemBoolean
If true, this item will appear at the top of AutoCompletion and ObjectTree
See Also