Using Web Services and the Data View Web Part to combine lists from multiple SharePoint sites
Upcoming SlideShare
Loading in...5
×
 

Using Web Services and the Data View Web Part to combine lists from multiple SharePoint sites

on

  • 4,433 views

The Data View Web Part allows you to render information from multiple sources – SQL, SharePoint or Web Services – into one combined list. But, with the Data View Web Part and SharePoint lists, ...

The Data View Web Part allows you to render information from multiple sources – SQL, SharePoint or Web Services – into one combined list. But, with the Data View Web Part and SharePoint lists, typically you can only select other lists from within the same site. This isn’t useful if you are trying to roll-up data from multiple lists located through various teams’ sites. Creating Web Service connections to SharePoint lists in other sites allows you to query and render data from multiple sites into one combined view. View our slide deck to find out more.

And for more information on this or other SharePoint topics, visit our blog at www.cdhtalkstech.com.

Statistics

Views

Total Views
4,433
Views on SlideShare
4,094
Embed Views
339

Actions

Likes
0
Downloads
6
Comments
0

3 Embeds 339

http://www.cdh.com 302
http://new.cdh.com 36
http://translate.googleusercontent.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Using Web Services and the Data View Web Part to combine lists from multiple SharePoint sites Using Web Services and the Data View Web Part to combine lists from multiple SharePoint sites Presentation Transcript

  • Data View / List View
  • Quick FactsAbout Us Approach Partnerships• 22nd Year • Vendor • Microsoft Gold• Grand Rapids & Independent • VMware Enterprise Royal Oak • Non-reseller • Citrix Silver• 30 Staff • Professional • Novell Gold Services Only • Cisco Premier
  • Expertise View slide
  • CDH Talks Tech View slide
  • About meJulie BoudroConsultantMCITP, MCTS, MCTjulieb@cdh.com248.554.3176
  • Overview• List view vs. data view• Creating data sources• Leveraging the data view• Formatting and style
  • List view• Link to a SharePoint list or library• Formatting and style• Full control over the XSLT• Data sources are within a single site• Exportable
  • Data view• Link to a SharePoint list or library• Formatting and style• Full control over the XSLT• Connect to multiple data sources• Exportable
  • Connecting to multiple sources• Similar lists reside multiple sites• Each list has the same view• Obtain the SharePoint WSDL• List GUID and view GUID – Browse to the list – Open up the view settings screen
  • Obtaining list & view GUIDhttp://samplecompany/departments/Acquisition-Disposition/_layouts/ViewEdit.aspx?List=%7BF145CA77%2DBE80%2D42E7%2DB5A8%2DD9A93D6B2311%7D&View=%7B541119CB%2DA982%2D449F%2DA1DF%2DEDF70DF755AE%7D&Source=%252Fdepartments%252FAcquisition%252DDisposition%252F%255Flayouts%252Flistedit%252Easpx%253FList%253D%25257BF145CA77%25252DBE80%25252D42E7%25252DB5A8%25252DD9A93D6B2311%25257D
  • Obtaining list GUIDhttp://samplecompany/departments/Acquisition-Disposition/_layouts/ViewEdit.aspx?List=%7BF145CA77%2DBE80%2D42E7%2DB5A8%2DD9A93D6B2311%7D&View=%7B541119CB%2DA982%2D449F%2DA1DF%2DEDF70DF755AE%7D&Source=%252Fdepartments%252FAcquisition%252DDisposition%252F%255Flayouts%252Flistedit%252Easpx%253FList%253D%25257BF145CA77%25252DBE80%25252D42E7%25252DB5A8%25252DD9A93D6B2311%25257D
  • Obtaining list GUID• %7BF145CA77%2DBE80%2D42E7%2DB5 A8%2DD9A93D6B2311%7D• Replace the following text with the appropriate character: – %7B becomes { – %2D becomes – – %7D becomes }• Your text should look like: {F145CA77-BE80-42E7-B5A8-D9A93D6B2311}
  • Obtaining view GUIDhttp://samplecompany/departments/Acquisition-Disposition/_layouts/ViewEdit.aspx?List=%7BF145CA77%2DBE80%2D42E7%2DB5A8%2DD9A93D6B2311%7D&View=%7B541119CB%2DA982%2D449F%2DA1DF%2DEDF70DF755AE%7D&Source=%252Fdepartments%252FAcquisition%252DDisposition%252F%255Flayouts%252Flistedit%252Easpx%253FList%253D%25257BF145CA77%25252DBE80%25252D42E7%25252DB5A8%25252DD9A93D6B2311%25257D
  • Obtaining view GUID• %7B541119CB%2DA982%2D449F%2DA 1DF%2DEDF70DF755AE%7D• Replace the following text with the appropriate character: – %7B becomes { – %2D becomes – – %7D becomes }• Your text should look like: {541119CB-A982-449F-A1DF-EDF70DF755AE}
  • Creating the data source• SOAP Service Connection – Enter WSDL for your site – http://samplecompany/departments/acquisi tion/_vti_bin/lists.asmx?wsdl – “ListSoap” is the Port that is selected – The Operation should be “GetListItems” – listName = List GUID – viewName = View GUID• Repeat for each list
  • Connecting to data view• Empty Data View Web Part• Connect to your data sources• Select “Merge” for each entry
  • Formatting data view• Conditional formatting• Grouping and sorting• Formatting text and field types
  • DEMO
  • Conclusion• Make sure your views are all formatted the same• Empty data view lets you connect to multiple sources• Any web part can be exported to the global gallery
  • Thank YouRoyal Oak Grand Rapids306 S. Washington Ave. 15 Ionia SWSuite 212 Suite 270Royal Oak, MI 48067 Grand Rapids, MI 49503p: (248) 546-1800 p: (616) 776-1600 www.cdh.com (c) C/D/H 2007. All rights reserved
  • About me Julie Boudro ConsultantMCITP, MCTS, MCT julieb@cdh.com 248.554.3176