RollUpDataSource is different from CrossSiteDataSource 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 is absence of "ContentType" attribute and "Lists" attribute containing list display names.
<%@ Register TagPrefix="cc1" Namespace="PS.WebParts" Assembly="PS.WebParts.Rollup, Version=12.0.0.0, Culture=neutral, PublicKeyToken=90e3045b123af1c3" %>

<cc1:RollUpDataSource runat="server" Lists="Cities,States" TopLevelSite="." Scope="Web" FixLookups="True" IncludeListData="False"  QueryRowLimit="10" ID="DSC1">
     <Fields>
          <FieldRef Name="Title" />
          <FieldRef Name="Editor" />
     </Fields>
     <Query/>
</cc1:RollUpDataSource>

Last edited Apr 2, 2009 at 8:26 PM by ewilson, version 1

Comments

No comments yet.