22
Welcome Surfacing External Data in SharePoint & Office 365 Pushkar Chivate

Share point external-data

Embed Size (px)

Citation preview

Page 1: Share point external-data

Welcome

Surfacing External Data in SharePoint & Office 365

Pushkar Chivate

Page 2: Share point external-data

My BackgroundSenior SharePoint and Web developer /

Application Architect

Page 3: Share point external-data

Agenda- What is Business Connectivity Service

- Why use Business Connectivity Service

- Using Business Connectivity Service for external data- .Net assemblies- WCF Service- SQL Server Connection

- Overview & Demo of various external data sources- SQL Server- Azure Tables, - DocumentDB

Page 4: Share point external-data

BCS Solutions

- On-Premises Solution The SharePoint farm and the external system are both behind a company’s firewall

- Cloud Only SolutionSharePoint Online site accessing data from an external data

source

- Hybrid Solution

Page 5: Share point external-data

BCS Components

Page 6: Share point external-data

Prerequisite software needed to work with external data in Office 2013

Microsoft SQL Server Compact 4.0 Microsoft .NET Framework 4.x

WCF Data Services 5.0 for OData V3

Download it from: https://support.office.com/en-us/Article/Prerequisite-software-needed-to-work-with-external-data-in-Office-2013-cc974b82-7a2e-4889-9a7b-b0328fc5d1ca

Page 7: Share point external-data

Business Services ConnectivityAuthentication Models- Impersonation and Delegation

Per-user authorization To enable auditing at the back-end server

- Trusted Subsystem Access to one account. It offers connection pooling. It reduces licensing costs on the back-end server. It is less complex.

Page 8: Share point external-data

Business Services Connectivity Authentication

Authentication Modes- PassThrough- RevertToSelf

Page 9: Share point external-data

Why use Business Connectivity Services?

- Centralized infrastructure - Managed authentication- Search external content

Alternatives to BCS?- Java script-based solutions

- Custom data connections- Custom-coded Web Parts

Page 10: Share point external-data

Using External Data in SharePoint

Demo

Page 11: Share point external-data

Azure ApiApps, Azure Storage

&

SharePoint External DataA look at storage features that Azure offers…

Page 12: Share point external-data

Data StorageVarious data storage techniques

SQL Azure

Azure Table

Blob storage

Document DB

Page 13: Share point external-data

Azure TablesWhat are Azure Tables?

Non relational entities (not RDBMS).

Tables are nothing but collection of entities Entities are comprised of properties Properties are name value pairs

Page 14: Share point external-data

Azure Table EntitiesAzure Storage Account

Employees (Table)Entity

Property

<Name,Value>

Entities Partition Key Row Key Timestamp … other properties Each entity can have different number

and type of properties

Partition Key + Row Key = Unique Identifier(No support for secondary index in Azure Table)

Azure Storage Account

EntityProperty

Entity

Property

PropertyPropertyProperty

Azure Table

Page 15: Share point external-data

Azure Tables Partitions

Employees (Table) Certifications (Table)

(Entity)

EmployeeName=…CertName=…BirthDate=…

CertNumber=…

EmployeeName=…CertName=…BirthDate=…

CertNumber=…FavoriteTeam=…

(Entity)

CertName=…EmployeeName=…

CertNumber=…BirthDate=…

CertName=…EmployeeName=…

CertNumber=…BirthDate=…

PK = EmployeeName

RK = CertName

PK = CertName

RK = EmployeeName

How do you Partition the data?• EmployeeName or CertName?

Page 16: Share point external-data

Azure Tables

EmployeeName BirthDate FavoriteTeamDavid Anderson 1/1/1970Nancy Wilson 4/15/1965 Atlanta FalconsJohn Doe April 1,

1989

No Fixed Schema for entities

Employee table

Page 17: Share point external-data

Azure TablesSummary

No nice relational schema model that we get in RDBMS

Easy to work with Built to scale Great pricing!!

Page 18: Share point external-data

DocumentDB• Azure Document DB - relatively new service

• It’s fully managed Document database as a service

• It stores the data in JSON

• The Azure Tables are extremely scalable and cheap, but if you start querying on any other attributes then you start running into problems.

• It’s massively scalable but fully query-able by all parts of JSON tree.

• Capacity units are 10GB in size.

Page 19: Share point external-data

DocumentDB

Page 20: Share point external-data

Surfacing DocumentDB data into SharePoint

Demo

Page 21: Share point external-data

RecapWe Looked at…

- Business Connectivity Services

- How to surface external data into SharePoint

- We looked at retrieving external data from various sources such as -

- SQL Server, - .Net Assemblies - DocumentDB

Page 22: Share point external-data

References- Technet, MSDN

- azure.microsoft.com (Learning videos and documentation)

- Youtube, Channel9 and other internet sites