MacroResolver SetHiddenNamedSourceData Method (String, Func EvaluationContext, Object )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
See Also