How to Create Data Sources Using SharePoint Designer 2013, Part III: Custom Connection String

With Microsoft SharePoint Designer 2013, you can connect to any kind of database, including Microsoft SQL Server (SQL Server 2005 and SQL Server 2008), Oracle, and OLE DB protocol. Moreover, there are three options for connecting to databases:

This article shows you how to create a connection to a database. It also shows you how to connect to a database using a custom connection string.

Steps

Step 1: Using SharePoint Designer 2013, connect to site.

Make sure the site you are working on is a Microsoft SharePoint Foundation 2013 site or a Microsoft SharePoint Server 2013 site. Then, identify kind of authentication you want to use.

Open SharePoint Designer 2013 program, and select Open Site:

Type the site name into the Open Site dialog box, and click the Open button:

The Windows Security dialog box is shown; you need to input the user name and password of an authorized user:

 

Step 2: Connect to Data Source

  •  Click Data Sources in the Navigation Pane:

  •  On the Data Sources tab in the Rbbon, in the New group, click Database Connection:

  •  In the Data Source Properties dialog box, on the Source tab, click Configure Database Connection:

 

  • In the Configure Database Connection dialog box, select the Use Custom connection string check box, and then click Edit.
  • In the Edit Connection String dialog box, in the Provider Name list, click the data provider that you want to use.
  • In the Connection String text box, type your connection string.
  • An example of an OLE DB connection string:
    Provider=myProvider;Data Source=myPath;Initial Catalog=catalogName;
    User Id=username;Password=password;
  • An example of an Oracle connection string:
    Data Source=myDatabase;User Id=username;
    Password=password;Integrated Security=no;
  • An example of an SQL Server connection string:
    Data Source=myServerAddress;Initial Catalog=myDataBase;
    User Id=username;Password=password;
  • Click OK.
  • Click Next.

For example: Here, I connect to SQL Server 2008; with Northwind Database; Employees table:

You will see the Database Name under Database Connections:

Cheers!


SharePoint

Applications

SharePoint apps are stand-alone applications that perform specific tasks on a SharePoint site. Apps can perform functions such as managing a discussion board or knowledge base, performing project management or time tracking tasks, or doing other workflow operations.

SharePoint

Product Suites

Experience greater power and savings by bundling our SharePoint apps and web parts.


Essentials


Essentials Plus


Bamboo Premier


Project Management Suite


Knowledge Management Suite


External User Manager


SharePoint

Web Parts

Extend SharePoint beyond its out-of-the-box capabilities by tailoring it to your requirements with Bamboo Solution’s growing portfolio of Web Parts. Web Parts are the building blocks of pages on a SharePoint site that can be used to customize the user interface and content of a site page. 

SharePoint

Product Suites

Experience greater power and savings by bundling our SharePoint apps and web parts.


Essentials


Essentials Plus


Bamboo Premier


Project Management Suite


Knowledge Management Suite


External User Manager


Office 365

Cloud Parts

Cloud Parts are functional components that extend your SharePoint environment whether it’s hosted, on-premises, or part of Microsoft Office 365. More than mere ports of existing software to the cloud, our Cloud Parts have been built from the ground up to take advantage of the best that the cloud has to offer.

SharePoint

Product Suites

Experience greater power and savings by bundling our SharePoint apps and web parts.


Cloud Parts Suite for O365/SP Onl.


Featured Services

SharePoint Health Check

A SharePoint Health Check will identify the causes of issues and risks associated with your specific environment, and is custom tailored to provide you with the best recommendations to optimize your SharePoint environment.

SQL Health Check

Document recommendations relating to performance, stability, availability, or a specific focus you request of your SQL Server database instances.

My SharePointXperts

The truth is that each SharePoint skill may not be a full time job for many organizations, and it is nearly impossible for one person to do everything you need – so augment your team with SharePointXperts; providing the skill sets you need when you need them!