Data View / List View
Dec 01, 2014
Data View / List View
Quick Facts
About Us• 22nd Year• Grand Rapids &
Royal Oak• 30 Staff
Approach• Vendor
Independent• Non-reseller• Professional
Services Only
Partnerships• Microsoft Gold• VMware Enterprise• Citrix Silver• Novell Gold• Cisco Premier
Expertise
Talks TechC D H
About me
Julie BoudroConsultantMCITP, MCTS, [email protected]
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 GUID
http://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
http://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%2DB5A8%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 GUID
http://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%2DA1DF%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
Royal Oak306 S. Washington Ave.Suite 212Royal Oak, MI 48067p: (248) 546-1800
Thank You
Grand Rapids15 Ionia SWSuite 270Grand Rapids, MI 49503p: (616) 776-1600
(c) C/D/H 2007. All rights reservedwww.cdh.com