The Layer2 Cloud Connector for SharePoint can be used to connect almost any external data sources to native SharePoint lists and libraries, even external XML data, file-based or based on web requests. XPath queries can be used to retrieve the data set required. This FAQ gives the full specifications of the Layer2 Data Provider for XML included in product.

Layer2 Data Provider for XML: Specifications for Cloud Connector

​The Layer2 Data Provider for XML can retrieve data from xml sources on file systems or via http web requests using a connection string and a select statement

Connection String:

  • Url
    Path to the xml file which can be Url or local file path Aliases are : Url, DataSource, Data source, Web, Host, Server, Address. This field is mandatory.
    Samples are C:\mydir\myfile.xml or http://myserver/myquery.xml
  • UserName / Password
    Optional credentials to connect to the XML data entity using a specific authentication method. Aliases are User, UserId, User Id and Password, pass, pwd.
  • Authentication
    Desired authentication method to connect to the XML data entity. Currently following methods are supported:
    This authentication method is using a Windows Active Directory account to authenticate against a serverr. If this method is used, it is necessary to define both user and password, whereas the user is specified in the format DOMAIN\username.

    No authentication is used. The data entity must be configured to allow anonymous access. This is the default authentication method.

Select Statement:

The data is fetched using a select query statement which actually can contain XPath expressions.

The expression which came after the “select” could be ‘*’ or specific field names (actually XPath expressions as well) that tells which fields should appeare in the result set. Using ‘*’ will load all xml content into the DataSet.

One disadvantage of this approach is that nodes with attribute(s) are taken into separate table(s) by dataset and a relation is established between main table and this child table. Since first table is returned by the provider as result, child tables are lost.

Using field names or field paths directly gives more control. The Where clause is considered to be part of the XPath expression (see sample below).

A select statement for the Layer2 Data Provider for XML contains the following standard fragments.

  • Select
    Can be *, field names or Xpath expressions that point to attributes, e.g.:
    select title, [email protected], price from /bookstore/book will give title, price nodes and lang attributes of the title of book node as a datatable as shown below.
  • From
    A Xpath expression which gets relevant portion of xml.
    Sample: /bookstore/book expression gives all book nodes of the xml file shown below.


Fig.: Sample XML data entity and query result for select statement above.

Layer2 Data Provider for XML: Sample Connection Strings

  • ​URL=

Layer2 Data Provider for XML: Sample Select Statements

  • ​Select * from /CATALOG/CD[COUNTRY="USA"]
  • select title, [email protected], price from /bookstore/book

Layer2 Data Provider for XML: Step-by-Step introduction

A step-by-step introduction how to setup the Layer2 Cloud Connector for SharePoint using the Layer2 Data Provider for XML is given here.

Layer2 Data Provider for XML: Use Cases & Known Issues

  • Almost any LOB application today can export data files formatted as XML or expose XML directly via web requests. The provider can be used to connect to this type of data entity and replicate to native SharePoint lists, e.g. SharePoint 2010 / 2013 on-premise or in the cloud (SharePoint Online / Office 365).
  • Please note that the Cloud Connector modifies only changed data in case of modified XML files or requests - not all items in list. Change notifications, alerts and workflows can be used as usual. The content of additional unmapped columns are kept while updating items in SharePoint.
  • While you generally can connect to RSS feeds using this provider, please note that there is a special Layer2 Data Provider for RSS included in BDLC as well. It has some more specific RSS related options and can be used to aggregate several different RSS sources using the same connection.
  • You can use the Enterprise Edition of the Cloud Connector to replicate XML sources to other data entities, e.g. SQL, OData etc.
  • Please note that this provider is read-only. Writing to XML files or web services is not supported yet.

Layer2 Data Provider for XML: Next Steps

​Please register, download and evaluate the free shareware edition of the Layer2 Cloud Connector for SharePoint and Office 365 today here.
Share this site on Xing
Share this site on Google+
Share this site on LinkedIn

If you are seeking a good and low-priced tool to integrate your LOB data with SharePoint: Layer2 Cloud Connector is the answer. We've successfully managed to synchronize XML data from an LOB application with SharePoint on-premise and Online as well.

Frank Daske

Frank Daske

Business Development Manager
+49 (0) 40 28 41 12 - 30
[email protected]

Please note that the 011 exit code must be dialed first for all international calls made from the USA, Canada and Australia.

Related News

Layer2 now connects 100+ commonly used IT systems with Twitter via its Layer2 Cloud Connector

The Layer2 Cloud Connector is now able to connect Twitter to integrate data to a wide range of IT backend systems including Office 365, SharePoint, SQL, ERP/CRM.

New Microsoft Teams Connectors: Layer2 adds 100+ typically used backend systems

​The Layer2 Cloud Connector is now able to connect to Microsoft Teams to quickly integrate more than 100 IT backend systems including local SQL, ERP/CRM.
Related Downloads
PDF Image

Cloud Connector Instruction

Download this step-by-step instruction to connect and sync your corporate or cloud data sources bi-directional to any native SharePoint 2010/2013/2016 list or library, including Microsoft Office 365.
PDF Image

Feasibility Study: Connecting local SQL Server to SharePoint Online

The study compares different approaches for SharePoint Online data integration regarding performance, features, security and investment.
PDF Image

Flyer: Layer2 Partner Program

Partner with us as a software distributer, reseller or SharePoint, Office 365 or Azure service provider. We are offering a free Partner Program with up to 30% Discount, free NFR licenses etc. Please download for more.
PDF Image

Layer2 Case Study: Cloud Connector helps ChemWerth to integrate the Microsoft Office 365 Cloud

"The Cloud Connector’s interface is easy to understand and use. Anyone familiar with utilities in the Microsoft stack will be productive immediately. Our recommendation: The Layer2 Cloud Connector is a no brainer.”
NoDoc Image

Layer2 Cloud Connector PAD File

This XML-based PAD file offers a Layer2 Cloud Connector product description for resellers to download and publish.
PDF Image

Office 365: How to sync with MS Dynamics CRM

You can sync any CRM data with native lists in SharePoint on-prem or online to make it available offline with Outlook.
PDF Image

Office 365: How to sync with SAP?

You can connect SharePoint and Office 365 with SAP via NetWeaver and OData.
PDF Image

Office 365: How to sync your local file share?

When you are moving to the cloud, there are a lot of reasons to keep your local file system. But you don't have to miss the benefits of the cloud.
PDF Image

Product Flyer: Cloud Connector for Microsoft SharePoint & Office 365

Flyer with features, benefits & pricing info for download as PDF.
PDF Image

Product Flyer: SharePoint Online Local File Server Sync

You can centrally migrate, synchronize, or backup your local file server department shares and home drives very flexible with SharePoint Online to close known gaps and overcome limitations of the Microsoft OneDrive for Business client.
PDF Image

Solutions Flyer: Data Integration with SharePoint, Office 365 and 100+

FileMaker can be integrated with 100+ other sources codeless using the Layer2 Cloud Connector.
Related Links

Layer2 Cloud Connector Community Group @ LinkedIn

​Are you already @ LinkedIn? Please join the Cloud Connector Community Group to share your experience.

Microsoft Partner Story Book for Office 365 about Cloud Connector

​Know more about a Layer2 Cloud Connector customer reference at the Microsoft Office web site.

Purchase Layer2 Cloud Connector via ComponentSource

​ComponentSource has offices in the USA, UK and Japan supporting over 125,000+ Customers, in over 180 Countries. They are also an approved Federal Government supplier through the GSA Schedule.



Sign Up for Layer2 Product Newsletter

We keep you up-to-date about new Layer2 product releases, added features and fixed issues.