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.MacroEngineAssembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 8.2.23
Syntax 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