MacroResolver SetHiddenNamedSourceData Method (String, Func EvaluationContext, Object )Kentico 8.1 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.1.5347.20411)

Parameters

selector
Type: OnlineSystem String
Data selector
callback
Type: OnlineSystem Func EvaluationContext, OnlineObject 
Callback function which is called to get the data
See Also