35
180° 360° 270° Get in the Cloud – With your corporate data sources connected Providing consistent enterprise data in SharePoint can solve many issues with the cloud Cloud Connector www.layer2.de A data-integration strategy needs to be within the foundation of every cloud computing plan. This integration needs to be innate to the architecture; it can't be something you're reminded of at the rollout meeting. David Linthicum / Cloud Computing

Get in the Cloud With your corporate data sources … · foundation of every cloud computing plan. ... 100% Microsoft SharePoint 2010 compatible – New Client Object Model CSOM API

  • Upload
    lamnhan

  • View
    213

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Get in the Cloud With your corporate data sources … · foundation of every cloud computing plan. ... 100% Microsoft SharePoint 2010 compatible – New Client Object Model CSOM API

180°

90°

360°

27

Get in the Cloud – With your corporate data sources connected

Providing consistent enterprise data in SharePoint can solve many issues with the cloud Cloud Connector www.layer2.de

A data-integration strategy needs to be within the foundation of every cloud computing plan. This integration needs to be innate to the architecture; it can't be something you're reminded of at the rollout meeting.

David Linthicum / Cloud Computing

Page 2: Get in the Cloud With your corporate data sources … · foundation of every cloud computing plan. ... 100% Microsoft SharePoint 2010 compatible – New Client Object Model CSOM API

180°

90°

360°

27

SharePoint in the Cloud – Key Customer Pain Points

Providing consistent enterprise data in SharePoint can solve many issues with the Cloud

Data Islands with no Access to Corporate LOB Data or other Cloud

data

Quality, Consistency and Up-To-Dateness

of Data

Manual Data Acquisition, Data

Redundancy

Very restricted Feature

Customization Capabilities

Complexity and Costs of

Data and Process Integration

Secure Data Access and

Transfer

Cloud Connector www.layer2.de

Page 3: Get in the Cloud With your corporate data sources … · foundation of every cloud computing plan. ... 100% Microsoft SharePoint 2010 compatible – New Client Object Model CSOM API

180°

90°

360°

27

Cloud Connector for SharePoint 2010 – Key Features

The Cloud Connector for SharePoint migrates or integrates your local line-of-business data to your cloud-based or any other hosted SharePoint - easy to connect, secure, always up-to-date and bi-directional if required. Cloud-to-cloud connections supported as well.

Data stored in almost any corporate data source, e.g. databases, files, ERP/CRM/ECMS or other legacy platforms, SharePoint, Active Directory etc. is replicated to native SharePoint lists into the cloud, e.g. Microsoft Office 365, via secure Web Services.

All features of native SharePoint lists are supported for your external data, e.g. RSS feeds, email notification and workflows in the SharePoint cloud, when remote corporate data changes.

No programming or tools required. Setup in a few minutes guided by a wizard.

No installation or customizing in the SharePoint cloud required.

100% Microsoft SharePoint 2010 compatible – New Client Object Model CSOM API used.

Source data subsets and data aggregation to data destinations are supported.

A connection is only required for data exchange – not for list usage. The SharePoint list acts as some kind of cache in Cloud. No direct access to external company data required (“push” – no “pull” strategy). The Cloud Connector service application runs where your data resides today - on any server or client inside your corporate network.

Cloud Connector www.layer2.de Replicates corporate LOB data to native SharePoint lists in the cloud

Page 4: Get in the Cloud With your corporate data sources … · foundation of every cloud computing plan. ... 100% Microsoft SharePoint 2010 compatible – New Client Object Model CSOM API

180°

90°

360°

27

…and more applications

SharePoint Cloud Connector – Architecture

Operates inside the corporate network - with secure connection to the cloud Cloud Connector www.layer2.de

…and more databases

…and more file types

…and other drivers

Data Access Providers

HTTP or HTTPS/SSL

Windows, Claims-based (FBA) etc.

Secure Data Transfer

SharePoint 2010 Client Side Object

Model (CSOM)

Enterprise and Cloud Data Sources

- Connection Service - Connection Manager - Connection Wizard - No Code

@ W7/W2K3/W2K8:

Cloud Connector(s)

…and more cloud data

Page 5: Get in the Cloud With your corporate data sources … · foundation of every cloud computing plan. ... 100% Microsoft SharePoint 2010 compatible – New Client Object Model CSOM API

180°

90°

360°

27

25.11.2011 5

SharePoint Cloud Connector – Data Sources

Almost any corporate data source can be connected

You can connect almost any data source via ODBC, OLEDB, .NET based or 3rd party drivers to the SharePoint Cloud. If no driver is available, please export as XLS/CSV and connect to that file.

Page 6: Get in the Cloud With your corporate data sources … · foundation of every cloud computing plan. ... 100% Microsoft SharePoint 2010 compatible – New Client Object Model CSOM API

180°

90°

360°

27

11/25/2011 6

Cloud Connector – Installation

Layer2 – The SharePoint Experts from Hamburg (Germany) – www.layer2.de/en/

Register & download zip

Start setup.msi

Accept license agreement

Select typical installation

Accept changes to computer

Press “Finish” to exit

See next slides about what is installed

Page 7: Get in the Cloud With your corporate data sources … · foundation of every cloud computing plan. ... 100% Microsoft SharePoint 2010 compatible – New Client Object Model CSOM API

180°

90°

360°

27

11/25/2011 7

Cloud Connector – Program Directory

Layer2 – The SharePoint Experts from Hamburg (Germany) – www.layer2.de/en/

Select Layer2 Cloud Connector in Programs

You can open the directory, where the connection definitions are managed as XML files.

You can open the directories where the log files are saved as CSV.

You can start previously defined connections manually (instead of using the windows service).

You can start a Cookie Manager, that offers an additional (but not required) option to authenticate to Microsoft Office 365.

With V3.0 a Connection Manager can be started to setup and manage your data connections. Please use 32-bit or 64-bit Connection Manager as required.

Please use the provided links to uninstall or add / remove software features of Windows to do that – if required.

Page 8: Get in the Cloud With your corporate data sources … · foundation of every cloud computing plan. ... 100% Microsoft SharePoint 2010 compatible – New Client Object Model CSOM API

180°

90°

360°

27

11/25/2011 8

Cloud Connector – Program Data Directory

Layer2 – The SharePoint Experts from Hamburg (Germany) – www.layer2.de/en/

All connections are saved in the ‘Connections’ directory as XML data.

The ‘History’ directory contains internal data to manage the connections, don’t touch it.

If you use a licensed version, please place the license file in the ‘License’ directory. If no license file found, the connector works in Shareware mode with 25 items per list maximum.

You will find the log files in the log directory. There are system log files for any general log entries and one log file per connection (named like the connection file itself) for more connection specific entries. Please consult these log files in case of any issues.

A metabase is located in the metabase directory starting with V2.0. It contains information for bi-directional and improved one-way replication (without PK mapping).

Page 9: Get in the Cloud With your corporate data sources … · foundation of every cloud computing plan. ... 100% Microsoft SharePoint 2010 compatible – New Client Object Model CSOM API

180°

90°

360°

27

11/25/2011 9

Cloud Connector – Connection Service

Layer2 – The SharePoint Experts from Hamburg (Germany) – www.layer2.de/en/

Layer2 Cloud Connector Service is installed as a windows service.

This service automatically executes enabled connections defined in the program data directory “connections”.

Please stop this service to use manual synchronization provided in the program menu, especially for setup and testing of connections.

Page 10: Get in the Cloud With your corporate data sources … · foundation of every cloud computing plan. ... 100% Microsoft SharePoint 2010 compatible – New Client Object Model CSOM API

180°

90°

360°

27

11/25/2011 10

Cloud Connector - How to create a new connection?

Layer2 – The SharePoint Experts from Hamburg (Germany) – www.layer2.de/en/

Open “Connection Manager” in Start > All Programs > Layer2 Cloud Connector.

A Windows Management Console Application is shown to configure your connections

Right Click to “Connection Manager” node or use right hand side menu to “Create new connection”.

Follow step-by-step the Connection Wizard started.

Page 11: Get in the Cloud With your corporate data sources … · foundation of every cloud computing plan. ... 100% Microsoft SharePoint 2010 compatible – New Client Object Model CSOM API

180°

90°

360°

27

11/25/2011 11

Cloud Connector – Connection Settings

Layer2 – The SharePoint Experts from Hamburg (Germany) – www.layer2.de/en/

Define your connection properties as follows:

Enter a connection title, e.g. SQL-to-SharePoint. An XML-based connection file is created with these name in the connections directory.

Select a direction of replication between your data entities or select bi-directional

Disable scheduling. You can enable later on, if connection is ready to run.

You can set next run date and time and interval for next replications later on.

You can run this connection on this tab later on, when it’s defined and verified.

Please note, that there are additional connection options that are not yet supported in the GUI. See documentation for this and change in XML file directly.

Page 12: Get in the Cloud With your corporate data sources … · foundation of every cloud computing plan. ... 100% Microsoft SharePoint 2010 compatible – New Client Object Model CSOM API

180°

90°

360°

27

11/25/2011 12

Cloud Connector – Data Entity Settings

Layer2 – The SharePoint Experts from Hamburg (Germany) – www.layer2.de/en/

Define your data entities as follows:

Enter a data entity title, e.g. SQLSource.

Take care about the entity type shown here, e.g. source, destination or bi-directional. You can modify in the connection settings.

Select a data provider to access your data entity. Installed drivers are listed, e.g. ODBC, OLEDB, .NET or 3rd party. Please note: The 64-bit / 32-bit Connection Manager lists and manages 64-bit / 32-bit providers only – not both.

Enter a connection string to connect to your data entity. Samples and a wizard is are linked. See documentation of your provider. Verify the connection by clicking verify.

Enter a query to select your data. Samples for standard SQL are linked. See documentation of provider about syntax supported. Verify query.

Verify, whether a primary key is available or not. If the driver automatically reports a primary key, you don’t have to enter. But you can optionally enter one or more unique fields required for replication in any case.

Please note, that there are additional options that are not yet supported in the GUI. See documentation for this and change in XML file directly.

Page 13: Get in the Cloud With your corporate data sources … · foundation of every cloud computing plan. ... 100% Microsoft SharePoint 2010 compatible – New Client Object Model CSOM API

180°

90°

360°

27

11/25/2011 13

Cloud Connector – Field Mappings

Layer2 – The SharePoint Experts from Hamburg (Germany) – www.layer2.de/en/

Define your field mappings as follows:

Select fields by name that should be mapped in one line, e.g. “mail” in data source to “email” in data destination.

Take care about the data types. There is some built-in type conversion, but match as best as you can.

Add new mapping entries using the “+” button.

Remove unwanted mappings using the “-” button.

You can enable auto-mapping in case your data entities have similar structure and fields. Mapping is done automatically by field name in this case.

Verify mapping if you are ready.

Please note, that there are additional mapping options, e.g. for conflict resolution, that are not yet supported in the GUI. See documentation for this and change in XML file directly.

Please note: That was the last step. Please return to the connections settings and run the connection to test. See log for results.

Page 14: Get in the Cloud With your corporate data sources … · foundation of every cloud computing plan. ... 100% Microsoft SharePoint 2010 compatible – New Client Object Model CSOM API

180°

90°

360°

27

11/25/2011 14

Cloud Connector - How to start manually?

Layer2 – The SharePoint Experts from Hamburg (Germany) – www.layer2.de/en/

Create a connection definition file.

Prepare the data entities for source and destination.

Define a connection between two entities in in the connection definition file.

Start the connection manually from program menu to test.

Check screen outputs, log files and destination list for possible issues to fix.

Fix the issues and start connection manually again.

Finally start the Layer2 Cloud Connector windows service to process your connection in background.

Page 15: Get in the Cloud With your corporate data sources … · foundation of every cloud computing plan. ... 100% Microsoft SharePoint 2010 compatible – New Client Object Model CSOM API

180°

90°

360°

27

11/25/2011 15

Cloud Connector – Create a connection definition

Layer2 – The SharePoint Experts from Hamburg (Germany) – www.layer2.de/en/

Create a connection definition file in the connections folder, e.g. myConnection.xml.

Set interval in minutes, e.g. 60 for every hour.

Set version to 1.1.

Set enabled to true to allow executing. Don’t forget to set to enabled to false to exclude this connection from execution.

Define two data entities to connect (see below). One of the entities must be SharePoint-based!

Prepare a field mapping section (see below).

Please note: Coding XML is a V1.0 limitation. There will be a GUI later on.

Page 16: Get in the Cloud With your corporate data sources … · foundation of every cloud computing plan. ... 100% Microsoft SharePoint 2010 compatible – New Client Object Model CSOM API

180°

90°

360°

27

11/25/2011 16

Cloud Connector – Prepare your data source

Layer2 – The SharePoint Experts from Hamburg (Germany) – www.layer2.de/en/

You have to give your data entity an appropriate name to refer to.

Your data entity must have the type “source” to be used as data source in a one-way connection. The type “bi-directional” is not supported yet.

You have to enter a valid provider, a data driver that is already installed on your system. See below for more details.

You have to enter a valid connection string, that is specific for your provider. See below for more details.

You have to enter a valid select statement to retrieve your data. See your data source documentation.

Optionally you can enter a primary key, a column that has unique values. In most cases your data source will automatically provide this information. Please note, that there must be any primary key or one or more unique columns for the data source to connect.

Page 17: Get in the Cloud With your corporate data sources … · foundation of every cloud computing plan. ... 100% Microsoft SharePoint 2010 compatible – New Client Object Model CSOM API

180°

90°

360°

27

11/25/2011 17

Cloud Connector – Prepare your data destination

Layer2 – The SharePoint Experts from Hamburg (Germany) – www.layer2.de/en/

You have to give your data entity an appropriate name to refer to.

Your data entity must have the type “destination” to be used as data destination in a one-way connection. The type “bi-directional” is not supported yet.

You have to enter a valid provider, a data driver that is already installed on your system. See below for more details.

You have to enter a valid connection string, that is specific for your provider. See below for more details.

You don’t have to enter a valid select statement for the data destination.

Optionally you can enter a primary key, a column that has unique values. In most cases your data source will automatically provide this information. Please note, that there must be any primary key or one or more unique columns for the data source to connect.

Please note, that the data destination is not created automatically, it must already be existing. In case of SharePoint for example, please create a destination list and the appropriate fields. You can use any list type you want, e.g. contacts for any address-based information etc.

Page 18: Get in the Cloud With your corporate data sources … · foundation of every cloud computing plan. ... 100% Microsoft SharePoint 2010 compatible – New Client Object Model CSOM API

180°

90°

360°

27

11/25/2011 18

Cloud Connector – Prepare field mapping

Layer2 – The SharePoint Experts from Hamburg (Germany) – www.layer2.de/en/

You can map the fields / columns of the data source and the data destination to each other.

There is an autoMapping = “true” attribute in the fieldMappings section. That will map fields with the same name automatically. Please note that auto mapping is false by default.

You have to map the primary key of the data source to some unique field of the data destination (ProductID in this sample). This column is used for any insert, update, delete operations in case of data source content changes.

Please note that the ProductName field is mapped to the SharePoint Title column here as a sample. In case of SharePoint the internal column names are used to map, not column titles.

You can use isMapped = “false” to exclude fields from auto-mapping for any reason. Default is isMapped=“true”.

See log files for a detailed mapping report (mapped and unmapped fields).

Page 19: Get in the Cloud With your corporate data sources … · foundation of every cloud computing plan. ... 100% Microsoft SharePoint 2010 compatible – New Client Object Model CSOM API

180°

90°

360°

27

11/25/2011 19

Cloud Connector – Ready to check the connection!

Layer2 – The SharePoint Experts from Hamburg (Germany) – www.layer2.de/en/

Start the connection manually from the program menu to test.

Check screen outputs and log files for possible issues to fix.

Fix the issues, save the file and start connection manually again.

For common issues with certain data entities see below.

Page 20: Get in the Cloud With your corporate data sources … · foundation of every cloud computing plan. ... 100% Microsoft SharePoint 2010 compatible – New Client Object Model CSOM API

180°

90°

360°

27

11/25/2011 20

Cloud Connector – Data Providers

Layer2 – The SharePoint Experts from Hamburg (Germany) – www.layer2.de/en/

Data providers are installed drivers on your computer.

You have to use the so called invariant name to refer to a provider in the configuration file as data entity property.

Typically the following providers are used:

The Layer2.SharePoint.Provider: This provider comes with the Cloud Connector to connect to SharePoint 2010 via CSOM (Client Side Object Model) using Web Services.

OData provider to connect to any systems that support OData

System.Data.Odbc: The .Net Framework Data Provider for Odbc is used to connect via ODBC to virtually any data source (comes with OS).

System.Data.OleDb: The .Net Framework Data Provider for OleDb used to connect via OLEDB to virtually any data source (comes with OS).

System.Data.OracleClient. The .Net Framework Data Provider for Oracle used to connect to Oracle database (comes with Oracle client).

System.Data.SqlClient. The .Net Framework Data Provider for SqlServer used to connect to Microsoft SQL Server (comes with OS).

See your machine.config for other installed providers.

You can use any 32 or 64 bit provider, depending on your hardware and OS.

Page 21: Get in the Cloud With your corporate data sources … · foundation of every cloud computing plan. ... 100% Microsoft SharePoint 2010 compatible – New Client Object Model CSOM API

180°

90°

360°

27

11/25/2011 21

Cloud Connector – Connection Strings

Layer2 – The SharePoint Experts from Hamburg (Germany) – www.layer2.de/en/

Virtually any data source has a connection string.

See your provider documentation for more details.

You will find lots of connection strings here: www.connectionstrings.com.

See below for connection strings for some specific providers, especially about the Layer2 SharePoint Provider used to connect to any SharePoint 2010 based installation, including Office 365 and SharePoint Online.

Page 22: Get in the Cloud With your corporate data sources … · foundation of every cloud computing plan. ... 100% Microsoft SharePoint 2010 compatible – New Client Object Model CSOM API

180°

90°

360°

27

11/25/2011 22

Cloud Connector – SQL queries

Layer2 – The SharePoint Experts from Hamburg (Germany) – www.layer2.de/en/

You can use any SQL query your data providers supports.

Use aliases to map fields with specific names, e.g.: “select ProductName as Title, * from myTable”

Use where conditions to connect a data subset only, e.g. : “select * from myTable where cloud = true”

You can use views or procedures as supported by provider.

Page 23: Get in the Cloud With your corporate data sources … · foundation of every cloud computing plan. ... 100% Microsoft SharePoint 2010 compatible – New Client Object Model CSOM API

180°

90°

360°

27

11/25/2011 23

Cloud Connector – The Layer2 SharePoint Provider

Layer2 – The SharePoint Experts from Hamburg (Germany) – www.layer2.de/en/

The Layer2 SharePoint Provider is used to connect to any SharePoint 2010 server including Office 365 or any other local or remote hosted SharePoint 2010 installation.

The provider can be used as data source, destination or both. Items are inserted, updated and deleted as required on source changes.

Only modified items are changed in the destination. Not mapped fields remain untouched.

You can use the following attributes in the connection string:

Data Source: URL to the data site (required). Example: https://www.mysite.com/sites/myspsite/

Initial Catalog: The list name, title or GUID (required). Example: MyCloudList

View: optional List view name, URL or GUID. Please use views whenever possible for best performance.

SelectStatement: Not supported. Use a list view instead of - as data source or destination.

Authentication: Authentication method. Examples: Windows | Anonymous | Office365 | Office365IEBased Default = Windows. See below for Office 365 special requirements.

User Id: User name, optionally with domain. Password: User password. Required for Windows and Office365.

If no user and password is given, the current user authentication is used. Please note, that in case of you are using the windows service, this is the service account.

PrimaryKey: Not required, the SharePoint item ID is used by default.

Page 24: Get in the Cloud With your corporate data sources … · foundation of every cloud computing plan. ... 100% Microsoft SharePoint 2010 compatible – New Client Object Model CSOM API

180°

90°

360°

27

11/25/2011 24

Cloud Connector – Office 365 / SharePoint Online

Layer2 – The SharePoint Experts from Hamburg (Germany) – www.layer2.de/en/

The Layer2 SharePoint Provider can be used to connect to any Office 365 or SharePoint Online based SharePoint installation.

You can use user id / password as requested in a browser-based login with authentication method “Office365” defined: Authentication=Office365

Custom domains: Use Realm=https://myOriginalDomain.sharepoint.com in connection string with Authentication=Office 365 if your current data source url is not based on sharepoint.com (using aliases). Otherwise authentication will fail. Realm is available starting with V1.1.

The connector alternatively can use cookie-based Microsoft Online accounts for authentication. Please use Authentication=Office365IEBased for this. No user / password must be given in this case.

Please use the Layer2 Office 365 Cookie Manager (see below) to set, refresh or delete the required cookie for Office365IEBased login. Please keep in mind, that the cookie expires as set by Microsoft.

Token-Service: Optionally you can address any specific token service: SecureTokenService=“Url-to-Service”. By default the current Microsoft Token Service is addressed.

Login-URL: Optionally you can specify any URL to login with the given token. SignInUrl=“Url-to-login”. By default currently it is set to: “/_forms/default.aspx?wa=wsignin1.0“.

BatchReadItems: Because of possible list-throttling issues you optionally can set a batch size to read lists in parts of maximum n items. Default: BatchReadItems=5000

BatchWriteItems: Because of possible performance issues you optionally can set a write operations batch size to execute operations in parts of maximum n items. Default: BatchWriteItems=5000

Page 25: Get in the Cloud With your corporate data sources … · foundation of every cloud computing plan. ... 100% Microsoft SharePoint 2010 compatible – New Client Object Model CSOM API

180°

90°

360°

27

11/25/2011 25

Cloud Connector – Layer2 Office 365 Cookie Manager

Layer2 – The SharePoint Experts from Hamburg (Germany) – www.layer2.de/en/

Optionally please use the Cookie Manager to create a new cookie, refresh or remove existing cookies to login to Office 365 using an Microsoft Online account with the Cloud Connector with option Authentication=Office365IEBased.

After successful login press Save to store the cookie for further usage.

Please note that the preferred method to connect to Office 365 is: Authentication=“Office365” without using the Cookie Manager.

Page 26: Get in the Cloud With your corporate data sources … · foundation of every cloud computing plan. ... 100% Microsoft SharePoint 2010 compatible – New Client Object Model CSOM API

180°

90°

360°

27

11/25/2011 26

Cloud Connector – Performance

Layer2 – The SharePoint Experts from Hamburg (Germany) – www.layer2.de/en/

The Cloud Connector is build to manage large external data sources with SharePoint in the cloud.

To optimize performance on data source side please use pre-defined views in case of SQL Server instead of complex SQL queries. Please minimize the number of columns (e.g. no “select * from myTable”).

Please optimize network speed for connection (e.g. via Internet)

Insert and update operations on SharePoint are the most time consuming part of the connection, for example the first initial insert from a database. E.g. transferring 100.000 SQL Server records with 10 fields to an empty SharePoint list in Office 365 takes 6 hours in our tests. Please use a manual connection for initial setup.

The performance of update operations depends on amount of data changed. If only some records / items are changed in our 100.000 items list example, it takes some minutes only to update the list.

Delete operations are very fast. Please note that there is no undelete / recycling for deleted SharePoint list items.

Please use list views in case of SharePoint as data source and / or destination because of much better performance. Fewer columns are to manage in this case.

Page 27: Get in the Cloud With your corporate data sources … · foundation of every cloud computing plan. ... 100% Microsoft SharePoint 2010 compatible – New Client Object Model CSOM API

180°

90°

360°

27

11/25/2011 27

Sample File to connect a SQL database to SharePoint

Layer2 – The SharePoint Experts from Hamburg (Germany) – www.layer2.de/en/

<?xml version="1.0" encoding="utf-8" ?> <connection xmlns="http://www.layer2.de/schemas/cloudConnections" interval="60" enabled=„true“ version="1.2"> <dataEntities> <dataEntity name="MyNorthwindDatabase" type="source" provider="System.Data.SqlClient" connectionString="Data Source=srvsql01; Initial Catalog=Northwind; User Id=MyID; Password=MyPassword“ selectStatement="Select * From Categories" primaryKey="CategoryID"> </dataEntity> <dataEntity name="MySharePoint“ type="destination“ provider="Layer2.SharePoint.Provider" connectionString="Data Source=http://MySharePoint/MySPSite/; Initial Catalog=MySPList; User Id=MySPID; Password=MySPPassword;" selectStatement="“> </dataEntity> </dataEntities> <fieldMappings autoMapping=“true“> <fieldMapping> <field entity="MyNorthwindDatabase" name="CategoryID"/> <field entity="MySharePoint" name="CategoryID" /> </fieldMapping> <fieldMapping> <field entity="MyNorthwindDatabase" name="CategoryName"/> <field entity="MySharePoint" name= "Title" /> </fieldMapping> </fieldMappings> </connection>

Page 28: Get in the Cloud With your corporate data sources … · foundation of every cloud computing plan. ... 100% Microsoft SharePoint 2010 compatible – New Client Object Model CSOM API

180°

90°

360°

27

11/25/2011 28

Sample File to connect SharePoint 2010 to Office 365

Layer2 – The SharePoint Experts from Hamburg (Germany) – www.layer2.de/en/

<?xml version="1.0" encoding="utf-8" ?> <connection xmlns="http://www.layer2.de/schemas/cloudConnections" interval="10" enabled= “true“ version="1.2"> <dataEntities> <dataEntity name="MySharePointSource“ type="source“ provider="Layer2.SharePoint.Provider" connectionString="Data Source=http://MySharePointServer/MySharePointSite/; Initial Catalog=Links; User Id=MyUserID; Password=MyPassword; view=myExport"> </dataEntity> <dataEntity name="MyO365Destination“ type="destination“ Provider="Layer2.SharePoint.Provider" connectionString="Data Source=http://MyCloud.sharepoint.com/sites/MyCloudSite/; Initial Catalog=Links; Authentication=Office365; User [email protected]; Password=MyPassword “ > </dataEntity> </dataEntities> <fieldMappings autoMapping=“true“> <fieldMapping> <field entity="MySharePointSource" name="ID"/> <field entity="MySharePointDestination" name="SourceID" /> </fieldMapping> <fieldMapping> <field entity="MySharePointSource" name="URL"/> <field entity="MySharePointDestination" name= " URL" /> </fieldMapping> </fieldMappings> </connection>

Page 29: Get in the Cloud With your corporate data sources … · foundation of every cloud computing plan. ... 100% Microsoft SharePoint 2010 compatible – New Client Object Model CSOM API

180°

90°

360°

27

11/25/2011 29

Sample File to connect Salesforce to Office 365

Layer2 – The SharePoint Experts from Hamburg (Germany) – www.layer2.de/en/

<?xml version="1.0" encoding="utf-8" ?> <connection xmlns="http://www.layer2.de/schemas/cloudConnections" interval="60" version="1.2" enabled="true"> <dataEntities> <dataEntity name="Salesforce“ provider="System.Data.RSSBus.SalesForce" connectionString="[email protected]; Password=myPassword; Access Token=myAccessToken“ primaryKey="Id“ selectStatement="SELECT * FROM Account"> </dataEntity> <dataEntity name="SharePointDestination" provider="Layer2.SharePoint.Provider" connectionString="Data Source=https://myDomain.sharepoint.com/sites/mySite/; Initial Catalog=myList; Authentication=Office365; User [email protected]; Password=myPassword;“ selectStatement=""> </dataEntity> </dataEntities> <fieldMappings autoMapping="false" > <fieldMapping> <field entity="Salesforce" name="ID"/> <field entity="SharePointDestination" name="Title" /> </fieldMapping> <fieldMapping> <field entity="Salesforce" name="Name"/> <field entity="SharePointDestination" name="Company" /> </fieldMapping> </fieldMappings> See here for more.

Page 30: Get in the Cloud With your corporate data sources … · foundation of every cloud computing plan. ... 100% Microsoft SharePoint 2010 compatible – New Client Object Model CSOM API

180°

90°

360°

27

11/25/2011 30

Sample File to connect Twitter to Office 365

Layer2 – The SharePoint Experts from Hamburg (Germany) – www.layer2.de/en/

<?xml version="1.0" encoding="utf-8" ?> <connection xmlns="http://www.layer2.de/schemas/cloudConnections" interval="60" version="1.2" enabled="true"> <dataEntities> <dataEntity name="Twitter" type="source" provider="System.Data.RSSBus.Twitter" connectionString="User=myUsername;Password=myPassword;Auto Cache=False" primaryKey="ID" selectStatement="Select * from FriendsTimeline"> </dataEntity> <dataEntity name="SharePointDestination" type="destination“ provider="Layer2.SharePoint.Provider" connectionString="Data Source=https://mydomain.sharepoint.com/sites/mySite/; Initial Catalog=Twitter; Authentication=Office365; User [email protected]; Password=myPassword;" selectStatement=""> </dataEntity> </dataEntities> <fieldMappings autoMapping="true" > <fieldMapping> <field entity="Twitter" name="Text"/> <field entity="SharePointDestination" name="Title" /> </fieldMapping> </fieldMappings> </connection> See here for more.

Page 31: Get in the Cloud With your corporate data sources … · foundation of every cloud computing plan. ... 100% Microsoft SharePoint 2010 compatible – New Client Object Model CSOM API

180°

90°

360°

27

11/25/2011 31

Bi-directional replication with V2.0

Layer2 – The SharePoint Experts from Hamburg (Germany) – www.layer2.de/en/

With V2.0 bi-directional replication is available. Please simply remove the type (destination/source) from the data entity or set to "bidirectional" to activate this option. You can add some options for conflict resolution before the data entity sections, e.g.: <conflictResolution mode="warnAndContinue" /> By default operation is stopped on replication conflict.

You can add conflict resolution options on field level within the fieldMapping section, e.g.:

<fieldMapping>

<conflictResolution mode="winnerLoser">

<winningEntity name="SQLSource" />

</conflictResolution>

<field entity="SQLSource" name="ProductName"/>

<field entity="SharePointDestination" name="Title" />

</fieldMapping>

You don't have to map the primary keys anymore with Version 2.0. But still there must be primary keys to work with.

Page 32: Get in the Cloud With your corporate data sources … · foundation of every cloud computing plan. ... 100% Microsoft SharePoint 2010 compatible – New Client Object Model CSOM API

180°

90°

360°

27

11/25/2011 32

SharePoint specific issues and workarounds

Layer2 – The SharePoint Experts from Hamburg (Germany) – www.layer2.de/en/

Please note: All connections mentioned here are samples only. You can connect almost any data source with almost any other – not SharePoint related as well!

SharePoint Calendar items are not supported at this time. There is an pending issue with Microsoft CSOM to set the event end time.

Item IDs are read-only with SharePoint. You cannot map any field to an ID of the data destination list. Please note that Item IDs will be different in source and destination list.

Some lists are using self lookups to reference some parent item, e.g. in case of dependent tasks. That will not work by default, because the Item IDs are changed by SharePoint. It is planned to automatically correct this with an auto-remap feature.

Lookups are done by ID. The provider transfers the content of the lookup field correctly. But the lookup will work as expected only if the item looked up has the same ID compared to the target list.

Person / Group lookups are fully supported. But the referred persons or groups have to exists with the same ID in the destination system. This is usually not the case. It is planned to solve this issue with an auto-discover feature, to find the right account by login name.

For field-mapping the internal column names are used with SharePoint. See log files for more information about currently mapped and unmapped fields.

If you have more issues, please contact [email protected] directly to solve.

Page 33: Get in the Cloud With your corporate data sources … · foundation of every cloud computing plan. ... 100% Microsoft SharePoint 2010 compatible – New Client Object Model CSOM API

180°

90°

360°

27

25.11.2011 33

What else can I do with the Cloud Connector?

Layer2 – The SharePoint Experts from Hamburg (Germany) – www.layer2.de/en/

Add columns to your list, that are not in the data source, to add additional information or files / attachments.

Tag, rate and comment your external data using managed metadata.

Use typed lists, e.g. contacts for contact data, events for calendar data.

Aggregate content from several data sources in one data destination list.

Transfer subsets of data source only, e.g. all contacts with cloud=true flag using views.

Bring your data offline with Outlook or SharePoint Workspace.

Save license costs with external CRM/ERP systems – pull the data to SharePoint.

Start notifications and workflows on external data change.

Include your external data into portal search.

Your data source has no driver available? Export and use CSV-based file import.

Don’t forget: It’s not only for the cloud – any SharePoint 2010 is supported.

It’s not SharePoint related. You can connect almost any data source to any other.

More? Contact [email protected]

Page 34: Get in the Cloud With your corporate data sources … · foundation of every cloud computing plan. ... 100% Microsoft SharePoint 2010 compatible – New Client Object Model CSOM API

180°

90°

360°

27

25.11.2011 34

About Layer2

1991: Formation as “Cords und Jacobi, EDV-Beratung und IT-Dienstleistungen” in Hamburg / Germany

2001: Renamed to Layer2 GmbH

2003: Focusing on Microsoft technologies, particularly .NET and SharePoint

2007: Market entry Austria and Switzerland

2008: Microsoft Certified Partner

2009: Microsoft Gold Certified Partner (renewed 2011)

Hamburg

Nuremberg

Layer2 – The SharePoint Experts from Hamburg (Germany) – www.layer2.de/en/

GERMANY

As a Microsoft Gold Certified Partner based in Hamburg / Germany, Layer2 is one of the leading providers of Microsoft SharePoint extensions in Europe with a major focus on Data Integration, Collaborative Knowledge Management and Social Networking.

Page 35: Get in the Cloud With your corporate data sources … · foundation of every cloud computing plan. ... 100% Microsoft SharePoint 2010 compatible – New Client Object Model CSOM API

180°

90°

360°

27

11/25/2011 Layer 2 GmbH | Eiffestr. 664b | D-20537 Hamburg | www.layer2.de/en/ | Sales@layer2de 36

What are you waiting for? www.layer2.de

You can download and use a completely FREE shareware version of the SharePoint Cloud Connector today at:

http://www.layer2.de/en/products/Pages/Cloud-Connector-for-SharePoint-2010-Office365.aspx

See FAQs or contact [email protected] for more information. Please note, that there are more SharePoint features and web parts available on www.layer2.de/en/.

Download