SlideShare a Scribd company logo
Data Sources in
SharePoint 2010
Kathy Hughes
SharePoint Server MVP
Sydney, Australia



                        Kathy Hughes
SharePoint Designer 2010
Unleashed book
• http://www.amazon.com/SharePoint-Designer-Unleashed-
  Kathy-
  Hughes/dp/0672331055/ref=sr_1_3?s=books&ie=UTF8&qid=
  1295312377&sr=1-3




                                                Kathy Hughes
Tonight
• New data source features
• Differences between 2007 and 2010
• Data Source Configuration Options in SharePoint Designer
  2010
• Check out REST’ful data connections
• Debugging data sources
• Consuming data sources in a SharePoint site




                                                      Kathy Hughes
SharePoint Conference 2011
• www.sharepointconference.com.au
• Sydney, Australia, Hilton Hotel, March 8 and 9, 2011

• www.sharepointconference.co.nz
• Wellington, New Zealand, March 16 and 17, 2011




                                                         Kathy Hughes
SharePoint 2010 Big Picture
• Data Sources extend to include:
• Integration with server-side and client-side OM
• Data Source configuration options in SharePoint Designer
  2010
  • Data Views
  • Great alternative for standalone SharePoint Foundation 2010
• SharePoint Server 2010 = extensive opportunites
  •   Access Services – NEW to 2010
  •   Visio Services – NEW to 2010
  •   Excel Services - Improved
  •   PerformancePoint Services (SSAS) - improved
  •   InfoPath Services – improved, richer interface and options
• Client-side
  • Access, Excel, Visio, InfoPath (Designer)

                                                               Kathy Hughes
Enter SharePoint Designer!
• SharePoint Designer 2010
• Hugely improved UI for working with SharePoint Sites
• Extensible customization
  •   Pages
  •   Data
  •   Workflows
  •   Branding
  •   Plus, more…
• Ease of use
• Code-free!
• XSLT and XML friendly tools and intellisense


                                                         Kathy Hughes
Deprecated Features
• Things that have been removed in SharePoint Designer 2010

  • Can no longer attach other sites within a site collection
     • Too many security issues
     • Use RSS or SOAP instead
  • No more BDC under Data Sources
     • Replaced by External Content Types (BCS)
     • No more dependency on application definition files!




                                                                Kathy Hughes
What’s New?
• REST’ful Web Services
  • Connect to SharePoint lists
  • Powerful filtering, down to item level
• External Content Types (AKA BDC)
  • Now under External Content Types
  • More powerful integration, wizard-driven CRUD operations
  • SQL, WCF and .NET types




                                                          Kathy Hughes
Supported Data Sources
•   SOAP/XML Web Services
•   XML Files
•   REST Web Services – NEW (aka Server-side scripts)
•   Database Connection
•   Linked Data Sources




                                                        Kathy Hughes
What About the BDC?
• Replaced by External Content Types
• Business Connectivity Services
• Create database connections, .NET type connections, Web
  Service Connections
• Create create, read, update and delete (CRUD) actions
  • Built in wizards
  • Code – free
• Integrate with Office applications
  • Add external customer list into Outlook Contacts!
• Greater authentication options
  • Secure ID
  • Kerberos / impersonation

                                                        Kathy Hughes
Data Source UI Compare




                         Kathy Hughes
REST’ful queries
• New to SharePoint 2010
  • Client-side API
• Flexible queries, down to the list item
• Query Excel Spreadsheets (Services) with REST
  • Down to the cell
• Another option for sourcing data x-site collections
• Connector available in SharePoint Designer 2010
  • It works!




                                                        Kathy Hughes
REST APIs

              Client OM



Farm   Site    List Data   External Lists




                                       Kathy Hughes
REST Requirements
• Windows Server 2008 R2 (WFE) or Windows 7
  • ADO.NET Data Services Update for .NET 3.5 SP1
     • Or
  • ASP.NET 4.0 framework

• SharePoint Designer 2010
  • Configure and display REST connections
     • Data View Web Part
• Visual Studio 2010
  • Greater flexibility




                                                    Kathy Hughes
REST APIs
• Syntax
• /_vti_bin/ListData.svc/{Entity}[({identifier})]/[{Property}]

• Example to get the Tasks list

• /_vti_bin/ListData.svc/Tasks

• Returns all Tasks in the designated site

• *If the URL returns XML then the service is working…



                                                            Kathy Hughes
REST’ful Response




                    Kathy Hughes
Validate REST URL First
• In browser is a great way
• However, don’t forget to disable your feed formatting

• DEMO – disable feed formatter in IE
• See http://www.youtube.com/watch?v=ap1XZd1huP8




                                                          Kathy Hughes
REST APIs
• QueryString Parameters

•   $filter=(simple predicate}
•   $expand={Entity}
•   $orderby={property}
•   $skip=n
•   $top=n
•   $metadata

• See http://msdn.microsoft.com/en-us/library/cc907912.aspx



                                                     Kathy Hughes
Sample Queries
• $filter=(simple predicate}
• http://tonka/_vti_bin/listdata.svc/Tasks?$filter=Title eq
  'Fourth Task'

• $orderby={property}
• http://tonka/_vti_bin/listdata.svc/Tasks?$orderby=Title desc
• http://tonka/_vti_bin/listdata.svc/Tasks?$orderby=Title asc




                                                          Kathy Hughes
REST Configuration in SPD




                            Kathy Hughes
Authentication
  • Anonymous – site and content must be set to anon
  • Windows Integrated – doesn’t work for non-authenticated
    clients, i.e. clients in separate domain – NTLM vs Kerberos
  • Clear / basic – non-secure, consider, and test with, SSL

<DataSources>
                     <SharePoint:XmlUrlDataSource runat="server" id="Tasks2"
AuthType="Basic" HttpMethod="GET" InsertCommand="http://tonka/_vti_bin/
listdata.svc/Tasks" AuthUserName="kathyhughesadministrator"
AuthPassword=“pword" selectcommand="http://tonka/_vti_bin/listdata.svc/Tasks"/>
           </DataSources>




                                                                  Kathy Hughes
Tasks list back in SharePoint




                            Kathy Hughes
DEMO
• Querying with REST from SharePoint Designer 2010
  • Configure connection in SharePoint Designer
  • Add to page using a Data View Web Part

• http://www.youtube.com/watch?v=gTo6JTVnhkU




                                                     Kathy Hughes
REST in InfoPath
• InfoPath story has changed significantly in SharePoint Server
  2010
  • We can now replace our list forms with InfoPath forms
  • We can add lookups, rules and queries back to other lists in
    SharePoint
  • We can consume existing REST data connections!




                                                             Kathy Hughes
Example of REST in InfoPath




                          Kathy Hughes
Troubleshooting Data Sources
• What can go wrong? Some things…
  • Authentication
     •   NTLM or Kerberos?
     •   Single, multiple, non-domain members
     •   Clear text/SSL,
     •   SSO only available with SharePoint Server 2010 (same as 2007)
  • Database schema mismatch
     • SharePoint Designer database connection wizard does not
       understand custom schema, e.g.
         • Sees SELECT * FROM [Product] rather than SELECT * FROM
           [Production].[Product]
         • Query fails
  • XML and REST Web Services
     • Be aware that list names ARE case sensitive
     • i.e. Tasks needs Tasks in the URL parameter and query parameters

                                                                    Kathy Hughes
…And, we don’t like to see…




                          Kathy Hughes
Troubleshooting
• Database connections don’t allow Windows authentication
  • asp:SqlDataConnection




                                                     Kathy Hughes
How to Debug
• Database connections
  • In SharePoint Designer
     • fpdatasource folder, which is located under the site’s _catalog’s
       folder
     • Check and directly edit the XML
  • On the SQL Server
     • Check the logs
     • Use the SQL Server Profiler
        • Set up custom ‘profile’ templates to trap errors when accessing tables, etc
• Authentication
  • On the SQL Server
     • Use the SQL Server Profiler
        • Trace logins against databases
        • ‘GUEST’ login is found to be a common error


                                                                          Kathy Hughes
SQL Server Profiler Trace




                            Kathy Hughes
DEMO
• Working with database connections , SQL 2005 or 2008, and
  custom database schemas
• *Custom schema is currently broken in Beta 2
  • i.e. entering custom SQL statements fail to ‘hold’ database
    schema
  • AdventureWorksDW works because it has the default database
    schema of DBO.

  • IMPORTANT: if using SharePoint Server 2007 or 2010 you have
    the option of using SSO
• See http://www.youtube.com/watch?v=pK_NcAstyis



                                                          Kathy Hughes
Check the Database Schema




                        Kathy Hughes
What to use when?
• If you need to do x-site/site collection queries then use SOAP
  or RSS
• If you want to add a database connection for the ENTIRE site,
  then use the Data Source Database Connector
• If you want to add a database connection for a single page,
  either:
  • Leverage an existing site database connection
  • OR
  • Add a new connection via the Toolbox > ASP.NET Controls >
    SqlDataSource and use the GridView control to display the data




                                                           Kathy Hughes
DEMO

• Remember we no longer have the option to ‘attach’ list from
  another site
• Instead, we can use SOAP to access x-site data
• Use the XML Web Service to access list data from other sites

• See http://www.youtube.com/watch?v=QyGdbRv954E




                                                        Kathy Hughes

More Related Content

What's hot

SharePoint 2010 Basics for newbies
SharePoint 2010 Basics for newbiesSharePoint 2010 Basics for newbies
SharePoint 2010 Basics for newbies
Sachchin Annam
 
SharePoint 2013 features overview
SharePoint 2013 features overviewSharePoint 2013 features overview
SharePoint 2013 features overview
Qasim Mehmood MBA-PM
 
Microsoft SharePoint 2010 Overview Session 1
Microsoft SharePoint 2010 Overview Session 1Microsoft SharePoint 2010 Overview Session 1
Microsoft SharePoint 2010 Overview Session 1
Sourav Nayyar
 
Introduction to SharePoint 2013 WCM-DM-ECM for Business Users and Developers
Introduction to SharePoint 2013 WCM-DM-ECM for Business Users and DevelopersIntroduction to SharePoint 2013 WCM-DM-ECM for Business Users and Developers
Introduction to SharePoint 2013 WCM-DM-ECM for Business Users and Developers
Netwoven Inc.
 
Share point 2010 Fundamentals
Share point 2010 FundamentalsShare point 2010 Fundamentals
Share point 2010 Fundamentals
balraj_s
 
What's new in SharePoint Server 2013 (End user - Admin – Developer)
What's new in SharePoint Server 2013 (End user - Admin – Developer)What's new in SharePoint Server 2013 (End user - Admin – Developer)
What's new in SharePoint Server 2013 (End user - Admin – Developer)
Mahmoud Hamed Mahmoud
 
Infopath controls
Infopath controlsInfopath controls
Infopath controls
Melick Baranasooriya
 
Sharepoint 2010 overview - what it is and what it can do
Sharepoint 2010 overview - what it is and what it can doSharepoint 2010 overview - what it is and what it can do
Sharepoint 2010 overview - what it is and what it can do
Faisal Masood
 
Introduction To SharePoint 2010
Introduction To SharePoint 2010Introduction To SharePoint 2010
Introduction To SharePoint 2010
Rishu Mehra
 
Clockwork 2013 - SharePoint overview
Clockwork 2013 - SharePoint overviewClockwork 2013 - SharePoint overview
Clockwork 2013 - SharePoint overview
Wilco Sinnema
 
Introduction to SharePoint 2013
Introduction to SharePoint 2013Introduction to SharePoint 2013
Introduction to SharePoint 2013
Folio3 Software
 
SharePoint 2013 overview jeremy thake
SharePoint 2013 overview   jeremy thakeSharePoint 2013 overview   jeremy thake
SharePoint 2013 overview jeremy thake
Jeremy Thake
 
Basics of SharePoint
Basics of SharePointBasics of SharePoint
Basics of SharePoint
samirsangli
 
Drew madelung sp designer workflows - sp-biz
Drew madelung   sp designer workflows - sp-bizDrew madelung   sp designer workflows - sp-biz
Drew madelung sp designer workflows - sp-biz
Drew Madelung
 
1 introduction
1   introduction1   introduction
1 introduction
icdesktop
 
SharePoint Programming Basic
SharePoint Programming BasicSharePoint Programming Basic
SharePoint Programming Basic
Quang Nguyễn Bá
 
SPSRI13 - Taming Your Taxonomy in SharePoint
SPSRI13 - Taming Your Taxonomy in SharePointSPSRI13 - Taming Your Taxonomy in SharePoint
SPSRI13 - Taming Your Taxonomy in SharePoint
Jonathan Ralton
 
Top 10 in SharePoint 2013
Top 10 in SharePoint 2013Top 10 in SharePoint 2013
Top 10 in SharePoint 2013
Cory Peters
 
Microsoft SharePoint 2010
Microsoft SharePoint 2010Microsoft SharePoint 2010
Microsoft SharePoint 2010
Acend Corporate Learning
 
Concurrency SharePoint Summit 2015
Concurrency SharePoint Summit 2015Concurrency SharePoint Summit 2015
Concurrency SharePoint Summit 2015
Drew Madelung
 

What's hot (20)

SharePoint 2010 Basics for newbies
SharePoint 2010 Basics for newbiesSharePoint 2010 Basics for newbies
SharePoint 2010 Basics for newbies
 
SharePoint 2013 features overview
SharePoint 2013 features overviewSharePoint 2013 features overview
SharePoint 2013 features overview
 
Microsoft SharePoint 2010 Overview Session 1
Microsoft SharePoint 2010 Overview Session 1Microsoft SharePoint 2010 Overview Session 1
Microsoft SharePoint 2010 Overview Session 1
 
Introduction to SharePoint 2013 WCM-DM-ECM for Business Users and Developers
Introduction to SharePoint 2013 WCM-DM-ECM for Business Users and DevelopersIntroduction to SharePoint 2013 WCM-DM-ECM for Business Users and Developers
Introduction to SharePoint 2013 WCM-DM-ECM for Business Users and Developers
 
Share point 2010 Fundamentals
Share point 2010 FundamentalsShare point 2010 Fundamentals
Share point 2010 Fundamentals
 
What's new in SharePoint Server 2013 (End user - Admin – Developer)
What's new in SharePoint Server 2013 (End user - Admin – Developer)What's new in SharePoint Server 2013 (End user - Admin – Developer)
What's new in SharePoint Server 2013 (End user - Admin – Developer)
 
Infopath controls
Infopath controlsInfopath controls
Infopath controls
 
Sharepoint 2010 overview - what it is and what it can do
Sharepoint 2010 overview - what it is and what it can doSharepoint 2010 overview - what it is and what it can do
Sharepoint 2010 overview - what it is and what it can do
 
Introduction To SharePoint 2010
Introduction To SharePoint 2010Introduction To SharePoint 2010
Introduction To SharePoint 2010
 
Clockwork 2013 - SharePoint overview
Clockwork 2013 - SharePoint overviewClockwork 2013 - SharePoint overview
Clockwork 2013 - SharePoint overview
 
Introduction to SharePoint 2013
Introduction to SharePoint 2013Introduction to SharePoint 2013
Introduction to SharePoint 2013
 
SharePoint 2013 overview jeremy thake
SharePoint 2013 overview   jeremy thakeSharePoint 2013 overview   jeremy thake
SharePoint 2013 overview jeremy thake
 
Basics of SharePoint
Basics of SharePointBasics of SharePoint
Basics of SharePoint
 
Drew madelung sp designer workflows - sp-biz
Drew madelung   sp designer workflows - sp-bizDrew madelung   sp designer workflows - sp-biz
Drew madelung sp designer workflows - sp-biz
 
1 introduction
1   introduction1   introduction
1 introduction
 
SharePoint Programming Basic
SharePoint Programming BasicSharePoint Programming Basic
SharePoint Programming Basic
 
SPSRI13 - Taming Your Taxonomy in SharePoint
SPSRI13 - Taming Your Taxonomy in SharePointSPSRI13 - Taming Your Taxonomy in SharePoint
SPSRI13 - Taming Your Taxonomy in SharePoint
 
Top 10 in SharePoint 2013
Top 10 in SharePoint 2013Top 10 in SharePoint 2013
Top 10 in SharePoint 2013
 
Microsoft SharePoint 2010
Microsoft SharePoint 2010Microsoft SharePoint 2010
Microsoft SharePoint 2010
 
Concurrency SharePoint Summit 2015
Concurrency SharePoint Summit 2015Concurrency SharePoint Summit 2015
Concurrency SharePoint Summit 2015
 

Similar to Data sources in share point 2010

User profiles sps bend
User profiles sps bendUser profiles sps bend
User profiles sps bend
stephentech911
 
What SharePoint is My Ferrari?
What SharePoint is My Ferrari? What SharePoint is My Ferrari?
What SharePoint is My Ferrari?
Michael Hinckley
 
Share point development 101
Share point development 101Share point development 101
Share point development 101
Becky Bertram
 
What's New in SharePoint 2016 for End Users Webinar with Intlock
What's New in SharePoint 2016 for End Users Webinar with IntlockWhat's New in SharePoint 2016 for End Users Webinar with Intlock
What's New in SharePoint 2016 for End Users Webinar with Intlock
Vlad Catrinescu
 
TechFuse 2012: SharePoint business applications at your fingertips
TechFuse 2012: SharePoint business applications at your fingertipsTechFuse 2012: SharePoint business applications at your fingertips
TechFuse 2012: SharePoint business applications at your fingertips
Avtex
 
[Webinar] New Features in SharePoint 2016
[Webinar] New Features in SharePoint 2016 [Webinar] New Features in SharePoint 2016
[Webinar] New Features in SharePoint 2016
James Wright
 
[Webinar] New Features in SharePoint 2016
[Webinar] New Features in SharePoint 2016[Webinar] New Features in SharePoint 2016
[Webinar] New Features in SharePoint 2016
James Wright
 
2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and I...
2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and I...2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and I...
2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and I...
Don Donais
 
Using Client Side Technologies to create a dynamic org chart in SharePoint 20...
Using Client Side Technologies to create a dynamic org chart in SharePoint 20...Using Client Side Technologies to create a dynamic org chart in SharePoint 20...
Using Client Side Technologies to create a dynamic org chart in SharePoint 20...
Jennifer Kenderdine
 
SQL Saturday Columbus 2014 Exposing SQL Data with SharePoint
SQL Saturday Columbus 2014 Exposing SQL Data with SharePointSQL Saturday Columbus 2014 Exposing SQL Data with SharePoint
SQL Saturday Columbus 2014 Exposing SQL Data with SharePoint
Scott_Brickey
 
Sharepoint Presentation
Sharepoint PresentationSharepoint Presentation
Sharepoint Presentation
PRAKHYATH S RAI
 
SharePoint 2010 Enterprise Search
SharePoint 2010 Enterprise SearchSharePoint 2010 Enterprise Search
SharePoint 2010 Enterprise Search
Agnes Molnar
 
How does SharePoint access data
How does SharePoint access dataHow does SharePoint access data
How does SharePoint access data
Alan Eardley
 
What's new in sharepoint 2016
What's new in sharepoint 2016What's new in sharepoint 2016
What's new in sharepoint 2016
Mike Maadarani
 
CRM UG Belux March 2017 - Power BI and Dynamics 365
CRM UG Belux March 2017 - Power BI and Dynamics 365CRM UG Belux March 2017 - Power BI and Dynamics 365
CRM UG Belux March 2017 - Power BI and Dynamics 365
Joris Poelmans
 
SharePoint Designer Workflows - Nuts, Bolts and Examples
SharePoint Designer Workflows - Nuts, Bolts and ExamplesSharePoint Designer Workflows - Nuts, Bolts and Examples
SharePoint Designer Workflows - Nuts, Bolts and Examples
Drew Madelung
 
KMWorld SharePoint 2010-Admin 101
KMWorld SharePoint 2010-Admin 101KMWorld SharePoint 2010-Admin 101
KMWorld SharePoint 2010-Admin 101
Chris McNulty
 
SPSLA - What to Expect with SharePoint 2019
SPSLA - What to Expect with SharePoint 2019SPSLA - What to Expect with SharePoint 2019
SPSLA - What to Expect with SharePoint 2019
Brian Caauwe
 
Office 365 – Power BI and the Data Management Gateway
Office 365 – Power BI and the Data Management GatewayOffice 365 – Power BI and the Data Management Gateway
Office 365 – Power BI and the Data Management Gateway
Arild Aarnes
 
Plan, prepare & overall process of upgrade and migrate to SharePoint 2013
Plan, prepare & overall process of upgrade and migrate to SharePoint 2013Plan, prepare & overall process of upgrade and migrate to SharePoint 2013
Plan, prepare & overall process of upgrade and migrate to SharePoint 2013
Kashish Sukhija
 

Similar to Data sources in share point 2010 (20)

User profiles sps bend
User profiles sps bendUser profiles sps bend
User profiles sps bend
 
What SharePoint is My Ferrari?
What SharePoint is My Ferrari? What SharePoint is My Ferrari?
What SharePoint is My Ferrari?
 
Share point development 101
Share point development 101Share point development 101
Share point development 101
 
What's New in SharePoint 2016 for End Users Webinar with Intlock
What's New in SharePoint 2016 for End Users Webinar with IntlockWhat's New in SharePoint 2016 for End Users Webinar with Intlock
What's New in SharePoint 2016 for End Users Webinar with Intlock
 
TechFuse 2012: SharePoint business applications at your fingertips
TechFuse 2012: SharePoint business applications at your fingertipsTechFuse 2012: SharePoint business applications at your fingertips
TechFuse 2012: SharePoint business applications at your fingertips
 
[Webinar] New Features in SharePoint 2016
[Webinar] New Features in SharePoint 2016 [Webinar] New Features in SharePoint 2016
[Webinar] New Features in SharePoint 2016
 
[Webinar] New Features in SharePoint 2016
[Webinar] New Features in SharePoint 2016[Webinar] New Features in SharePoint 2016
[Webinar] New Features in SharePoint 2016
 
2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and I...
2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and I...2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and I...
2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and I...
 
Using Client Side Technologies to create a dynamic org chart in SharePoint 20...
Using Client Side Technologies to create a dynamic org chart in SharePoint 20...Using Client Side Technologies to create a dynamic org chart in SharePoint 20...
Using Client Side Technologies to create a dynamic org chart in SharePoint 20...
 
SQL Saturday Columbus 2014 Exposing SQL Data with SharePoint
SQL Saturday Columbus 2014 Exposing SQL Data with SharePointSQL Saturday Columbus 2014 Exposing SQL Data with SharePoint
SQL Saturday Columbus 2014 Exposing SQL Data with SharePoint
 
Sharepoint Presentation
Sharepoint PresentationSharepoint Presentation
Sharepoint Presentation
 
SharePoint 2010 Enterprise Search
SharePoint 2010 Enterprise SearchSharePoint 2010 Enterprise Search
SharePoint 2010 Enterprise Search
 
How does SharePoint access data
How does SharePoint access dataHow does SharePoint access data
How does SharePoint access data
 
What's new in sharepoint 2016
What's new in sharepoint 2016What's new in sharepoint 2016
What's new in sharepoint 2016
 
CRM UG Belux March 2017 - Power BI and Dynamics 365
CRM UG Belux March 2017 - Power BI and Dynamics 365CRM UG Belux March 2017 - Power BI and Dynamics 365
CRM UG Belux March 2017 - Power BI and Dynamics 365
 
SharePoint Designer Workflows - Nuts, Bolts and Examples
SharePoint Designer Workflows - Nuts, Bolts and ExamplesSharePoint Designer Workflows - Nuts, Bolts and Examples
SharePoint Designer Workflows - Nuts, Bolts and Examples
 
KMWorld SharePoint 2010-Admin 101
KMWorld SharePoint 2010-Admin 101KMWorld SharePoint 2010-Admin 101
KMWorld SharePoint 2010-Admin 101
 
SPSLA - What to Expect with SharePoint 2019
SPSLA - What to Expect with SharePoint 2019SPSLA - What to Expect with SharePoint 2019
SPSLA - What to Expect with SharePoint 2019
 
Office 365 – Power BI and the Data Management Gateway
Office 365 – Power BI and the Data Management GatewayOffice 365 – Power BI and the Data Management Gateway
Office 365 – Power BI and the Data Management Gateway
 
Plan, prepare & overall process of upgrade and migrate to SharePoint 2013
Plan, prepare & overall process of upgrade and migrate to SharePoint 2013Plan, prepare & overall process of upgrade and migrate to SharePoint 2013
Plan, prepare & overall process of upgrade and migrate to SharePoint 2013
 

Recently uploaded

How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Speck&Tech
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
Kumud Singh
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
Claudio Di Ciccio
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
Data structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdfData structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdf
TIPNGVN2
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
Neo4j
 
20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website
Pixlogix Infotech
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AIEnchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Vladimir Iglovikov, Ph.D.
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 

Recently uploaded (20)

How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
Data structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdfData structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdf
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
 
20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AIEnchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 

Data sources in share point 2010

  • 1. Data Sources in SharePoint 2010 Kathy Hughes SharePoint Server MVP Sydney, Australia Kathy Hughes
  • 2. SharePoint Designer 2010 Unleashed book • http://www.amazon.com/SharePoint-Designer-Unleashed- Kathy- Hughes/dp/0672331055/ref=sr_1_3?s=books&ie=UTF8&qid= 1295312377&sr=1-3 Kathy Hughes
  • 3. Tonight • New data source features • Differences between 2007 and 2010 • Data Source Configuration Options in SharePoint Designer 2010 • Check out REST’ful data connections • Debugging data sources • Consuming data sources in a SharePoint site Kathy Hughes
  • 4. SharePoint Conference 2011 • www.sharepointconference.com.au • Sydney, Australia, Hilton Hotel, March 8 and 9, 2011 • www.sharepointconference.co.nz • Wellington, New Zealand, March 16 and 17, 2011 Kathy Hughes
  • 5. SharePoint 2010 Big Picture • Data Sources extend to include: • Integration with server-side and client-side OM • Data Source configuration options in SharePoint Designer 2010 • Data Views • Great alternative for standalone SharePoint Foundation 2010 • SharePoint Server 2010 = extensive opportunites • Access Services – NEW to 2010 • Visio Services – NEW to 2010 • Excel Services - Improved • PerformancePoint Services (SSAS) - improved • InfoPath Services – improved, richer interface and options • Client-side • Access, Excel, Visio, InfoPath (Designer) Kathy Hughes
  • 6. Enter SharePoint Designer! • SharePoint Designer 2010 • Hugely improved UI for working with SharePoint Sites • Extensible customization • Pages • Data • Workflows • Branding • Plus, more… • Ease of use • Code-free! • XSLT and XML friendly tools and intellisense Kathy Hughes
  • 7. Deprecated Features • Things that have been removed in SharePoint Designer 2010 • Can no longer attach other sites within a site collection • Too many security issues • Use RSS or SOAP instead • No more BDC under Data Sources • Replaced by External Content Types (BCS) • No more dependency on application definition files! Kathy Hughes
  • 8. What’s New? • REST’ful Web Services • Connect to SharePoint lists • Powerful filtering, down to item level • External Content Types (AKA BDC) • Now under External Content Types • More powerful integration, wizard-driven CRUD operations • SQL, WCF and .NET types Kathy Hughes
  • 9. Supported Data Sources • SOAP/XML Web Services • XML Files • REST Web Services – NEW (aka Server-side scripts) • Database Connection • Linked Data Sources Kathy Hughes
  • 10. What About the BDC? • Replaced by External Content Types • Business Connectivity Services • Create database connections, .NET type connections, Web Service Connections • Create create, read, update and delete (CRUD) actions • Built in wizards • Code – free • Integrate with Office applications • Add external customer list into Outlook Contacts! • Greater authentication options • Secure ID • Kerberos / impersonation Kathy Hughes
  • 11. Data Source UI Compare Kathy Hughes
  • 12. REST’ful queries • New to SharePoint 2010 • Client-side API • Flexible queries, down to the list item • Query Excel Spreadsheets (Services) with REST • Down to the cell • Another option for sourcing data x-site collections • Connector available in SharePoint Designer 2010 • It works! Kathy Hughes
  • 13. REST APIs Client OM Farm Site List Data External Lists Kathy Hughes
  • 14. REST Requirements • Windows Server 2008 R2 (WFE) or Windows 7 • ADO.NET Data Services Update for .NET 3.5 SP1 • Or • ASP.NET 4.0 framework • SharePoint Designer 2010 • Configure and display REST connections • Data View Web Part • Visual Studio 2010 • Greater flexibility Kathy Hughes
  • 15. REST APIs • Syntax • /_vti_bin/ListData.svc/{Entity}[({identifier})]/[{Property}] • Example to get the Tasks list • /_vti_bin/ListData.svc/Tasks • Returns all Tasks in the designated site • *If the URL returns XML then the service is working… Kathy Hughes
  • 16. REST’ful Response Kathy Hughes
  • 17. Validate REST URL First • In browser is a great way • However, don’t forget to disable your feed formatting • DEMO – disable feed formatter in IE • See http://www.youtube.com/watch?v=ap1XZd1huP8 Kathy Hughes
  • 18. REST APIs • QueryString Parameters • $filter=(simple predicate} • $expand={Entity} • $orderby={property} • $skip=n • $top=n • $metadata • See http://msdn.microsoft.com/en-us/library/cc907912.aspx Kathy Hughes
  • 19. Sample Queries • $filter=(simple predicate} • http://tonka/_vti_bin/listdata.svc/Tasks?$filter=Title eq 'Fourth Task' • $orderby={property} • http://tonka/_vti_bin/listdata.svc/Tasks?$orderby=Title desc • http://tonka/_vti_bin/listdata.svc/Tasks?$orderby=Title asc Kathy Hughes
  • 20. REST Configuration in SPD Kathy Hughes
  • 21. Authentication • Anonymous – site and content must be set to anon • Windows Integrated – doesn’t work for non-authenticated clients, i.e. clients in separate domain – NTLM vs Kerberos • Clear / basic – non-secure, consider, and test with, SSL <DataSources> <SharePoint:XmlUrlDataSource runat="server" id="Tasks2" AuthType="Basic" HttpMethod="GET" InsertCommand="http://tonka/_vti_bin/ listdata.svc/Tasks" AuthUserName="kathyhughesadministrator" AuthPassword=“pword" selectcommand="http://tonka/_vti_bin/listdata.svc/Tasks"/> </DataSources> Kathy Hughes
  • 22. Tasks list back in SharePoint Kathy Hughes
  • 23. DEMO • Querying with REST from SharePoint Designer 2010 • Configure connection in SharePoint Designer • Add to page using a Data View Web Part • http://www.youtube.com/watch?v=gTo6JTVnhkU Kathy Hughes
  • 24. REST in InfoPath • InfoPath story has changed significantly in SharePoint Server 2010 • We can now replace our list forms with InfoPath forms • We can add lookups, rules and queries back to other lists in SharePoint • We can consume existing REST data connections! Kathy Hughes
  • 25. Example of REST in InfoPath Kathy Hughes
  • 26. Troubleshooting Data Sources • What can go wrong? Some things… • Authentication • NTLM or Kerberos? • Single, multiple, non-domain members • Clear text/SSL, • SSO only available with SharePoint Server 2010 (same as 2007) • Database schema mismatch • SharePoint Designer database connection wizard does not understand custom schema, e.g. • Sees SELECT * FROM [Product] rather than SELECT * FROM [Production].[Product] • Query fails • XML and REST Web Services • Be aware that list names ARE case sensitive • i.e. Tasks needs Tasks in the URL parameter and query parameters Kathy Hughes
  • 27. …And, we don’t like to see… Kathy Hughes
  • 28. Troubleshooting • Database connections don’t allow Windows authentication • asp:SqlDataConnection Kathy Hughes
  • 29. How to Debug • Database connections • In SharePoint Designer • fpdatasource folder, which is located under the site’s _catalog’s folder • Check and directly edit the XML • On the SQL Server • Check the logs • Use the SQL Server Profiler • Set up custom ‘profile’ templates to trap errors when accessing tables, etc • Authentication • On the SQL Server • Use the SQL Server Profiler • Trace logins against databases • ‘GUEST’ login is found to be a common error Kathy Hughes
  • 30. SQL Server Profiler Trace Kathy Hughes
  • 31. DEMO • Working with database connections , SQL 2005 or 2008, and custom database schemas • *Custom schema is currently broken in Beta 2 • i.e. entering custom SQL statements fail to ‘hold’ database schema • AdventureWorksDW works because it has the default database schema of DBO. • IMPORTANT: if using SharePoint Server 2007 or 2010 you have the option of using SSO • See http://www.youtube.com/watch?v=pK_NcAstyis Kathy Hughes
  • 32. Check the Database Schema Kathy Hughes
  • 33. What to use when? • If you need to do x-site/site collection queries then use SOAP or RSS • If you want to add a database connection for the ENTIRE site, then use the Data Source Database Connector • If you want to add a database connection for a single page, either: • Leverage an existing site database connection • OR • Add a new connection via the Toolbox > ASP.NET Controls > SqlDataSource and use the GridView control to display the data Kathy Hughes
  • 34. DEMO • Remember we no longer have the option to ‘attach’ list from another site • Instead, we can use SOAP to access x-site data • Use the XML Web Service to access list data from other sites • See http://www.youtube.com/watch?v=QyGdbRv954E Kathy Hughes