MacroResolver SetNamedSourceDataCallback Method Kentico 8.0 API Reference
Registers the named source data with late binding. Callback is called whenever the value is needed by MacroResolver.

Namespace: CMS.MacroEngine
Assembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

selector
Type: OnlineSystem String
Data selector
callback
Type: OnlineSystem Func EvaluationContext, OnlineObject 
Callback function which is called to get the data
isPrioritized (Optional)
Type: OnlineSystem Boolean
If true, this item will appear at the top of AutoCompletion and ObjectTree
See Also