Others

How to Configure a SharePoint External Data Column for PostgreSQL

Maira MehtabMaira Mehtab Oct 26, 2026 868 views

Question details

The user wants to populate a SharePoint list with data from a PostgreSQL data warehouse using an External Data column without relying heavily on Visual Studio.

How to Configure a SharePoint External Data Column for PostgreSQL
Product
SharePoint
Device & OS
not provided
Scenario
Creating an External Data column to pull customer and complaint data from PostgreSQL when creating the required BDC model directly is difficult.
Observed behavior
SharePoint requires a BDC model and external content type, but native direct connectivity to PostgreSQL is not straightforward and often requires intermediate services or custom development.
Before you start

Verify your SharePoint architecture (Online vs. On-Premises) as this determines whether you can use SharePoint Designer 2013 or need to build a custom intermediate API.

Solution 1Recommended

Use an Intermediate WCF or OData Service

Since SharePoint does not offer a native PostgreSQL connector out-of-the-box, wrapping your database in a supported intermediate service is the standard approach.

SharePoint Online provides built-in connectors for WCF and SQL Server Azure. To integrate PostgreSQL, you must first create an intermediate web service (OData or WCF) that queries your PostgreSQL database. Once hosted, SharePoint Designer can easily connect to this service.

1
Host an Intermediate Service

Develop and deploy an OData or WCF REST service that securely connects to your PostgreSQL data warehouse and exposes the required customer and complaint records.

2
Open SharePoint Designer 2013

Launch SharePoint Designer 2013 and connect it to your target SharePoint site using your administrator credentials.

3
Create an External Content Type

Navigate to 'External Content Types' in the left pane, click 'New External Content Type', and set your newly created OData or WCF service endpoint as the external system connection.

4
Configure the External Data Column

Go to your SharePoint list in the web browser, click 'Add Column', select 'External Data', and link it to the External Content Type you just created.

Use an Intermediate WCF or OData Service
Service Authentication: Ensure your intermediate service has proper authentication configured (such as OAuth or Business Connectivity Services Secure Store) so SharePoint can read the data securely.
Free Microsoft Office alternative

Easily Analyze Exported SharePoint Data with WPS Office

If configuring complex BDC models for external data proves too tedious, you can export your PostgreSQL or SharePoint lists to CSV and analyze them seamlessly using WPS Office. It is a free, lightweight alternative offering excellent compatibility with Microsoft Office formats.

  1. 1. Export Your Data: Export your PostgreSQL query results or existing SharePoint list as a CSV or XLSX file to your local drive.
  2. 2. Open in WPS Spreadsheet: Launch WPS Office, click on 'Spreadsheet', and open the downloaded database export file.
  3. 3. Analyze and Report: Use WPS Spreadsheet's built-in charts, data validation, and formulas to analyze your customer and complaint data locally.
Seamlessly open, edit, and save Microsoft Excel (.xlsx) and CSV files without format corruption.Analyze your exported PostgreSQL data using powerful built-in spreadsheet pivot tables and advanced filtering.Enjoy a familiar, user-friendly interface that allows you to manage data without a steep learning curve.Free, lightweight application that installs quickly and runs smoothly on Windows, Mac, and Linux.
microsoft office alternative - wps office

Frequently Asked Questions

Can SharePoint Online natively connect directly to PostgreSQL?

No. SharePoint Online includes native connectors for WCF and Azure SQL. Connecting directly to PostgreSQL requires setting up an intermediate OData/WCF service or using a specialized third-party integration tool.

What is a Business Data Connectivity (BDC) model in SharePoint?

A BDC model is an XML-based file that defines the connection parameters, authentication, and data structures required for SharePoint to read and write data from an external system like a database or web service.

Do I need Visual Studio to create an External Content Type?

Not necessarily. While Visual Studio provides advanced coding capabilities for complex models, SharePoint Designer 2013 is a no-code tool that can easily generate BDC models and External Content Types for supported data connections.