MacroResolver SetNamedSourceDataInternal Method Kentico 8.1 API Reference
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: 8.0.0.0 (8.1.5347.20411)

Parameters

selector
Type: OnlineSystem String
Data selector
data
Type: OnlineSystem Object
Data
isPrioritized
Type: OnlineSystem Boolean
If true, this item will appear at the top of AutoCompletion and ObjectTree
hidden
Type: OnlineSystem Boolean
If true, the source will be hidden (will be resolved in the resolving process, but won't be available in IntelliSense or any other macro component)
See Also