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.
2. Quick Facts
About 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
6. Overview
• List view vs. data view
• Creating data sources
• Leveraging the data view
• Formatting and style
7. 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
8. Data view
• Link to a SharePoint list or library
• Formatting and style
• Full control over the XSLT
• Connect to multiple data sources
• Exportable
9. 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
12. 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}
14. 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}
15. 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
16. Connecting to data view
• Empty Data View Web Part
• Connect to your data sources
• Select “Merge” for each entry
17. Formatting data view
• Conditional formatting
• Grouping and sorting
• Formatting text and field types
19. 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
20. Thank You
Royal Oak Grand Rapids
306 S. Washington Ave. 15 Ionia SW
Suite 212 Suite 270
Royal Oak, MI 48067 Grand Rapids, MI 49503
p: (248) 546-1800 p: (616) 776-1600
www.cdh.com
(c) C/D/H 2007. All rights reserved
21. About me
Julie Boudro
Consultant
MCITP, MCTS, MCT
julieb@cdh.com
248.554.3176