public void ConnectionParametersConsumer(IWebPartParameters parameters) { // Set the schema CamlPreprocessor camlPreprocessor = new CamlPreprocessor(CamlQuery); parameters.SetConsumerSchema(camlPreprocessor.GetSchema()); // The get parameters callback parameters.GetParametersData(ConsumeParameterValues); }
/// <summary> /// Initializes the caml engine. /// </summary> private void InitializeCamlEngine() { Debug.WriteLine("InitializeCamlEngine " + Title); // There is a prevous initialization in // ConnectionParametersConsumer if (_camlPreprocessor == null) { _camlPreprocessor = new CamlPreprocessor(CamlQuery); } // Editing the connection Page is null if (Page != null && Page.IsPostBack) { Debug.WriteLine("- InitializeVariableValues (LastFilter)"); _camlPreprocessor.InitializeVariableValues(LastFilter); } }
private void InitializeEngine() { Debug.WriteLine("InitializeEngine " + Title); _camlPreprocessor = new CamlPreprocessor(CamlQuery); _rollupEngine = new SPSRollUpEngine( _topSite, _lists, _fields, _maxRecords, _camlQueryRecursive, _includeListData, _dateTimeISO, _fixLookUp, GetCacheService()); _rollupEngine.OnError += TrapSubsystemError; }
public void ResetCamlPreprocessor() { _camlPreprocessor = null; }