RollUpDataSource is different from CrossSiteDataSource (Sandboxed) in that it traverses site structure programatically, querying list items using SPQuery object. This datasource is included for legacy support and should only be used when CrossSiteDataSource is unable to retrieve data (there appears to be some bugs when result includes multi-user type field).

Sample Configuration

Example below illustrates the basic usage. Difference in configuration between this and CrossSiteDataSource (Sandboxed) is absence of "ContentType" attribute and "Lists" attribute containing list display names.
<RollUpDataSource Lists="Cities,States" TopLevelSite="." Scope="Web" FixLookups="True" IncludeListData="False"  QueryRowLimit="10" ID="DSC1">
          <FieldRef Name="Title" />
          <FieldRef Name="Editor" />

Last edited Jul 7, 2011 at 8:37 AM by fildalex, version 3


No comments yet.