company logo

Help center

Go to wpDataTables
YouTube Channel
All collectionsFAQTechnical issuesCan I use a file from OneDrive or SharePoint as a data source for wpDataTables?

Can I use a file from OneDrive or SharePoint as a data source for wpDataTables?

Learn why OneDrive and SharePoint URLs are not currently supported as data sources in wpDataTables, and see which file URL types are allowed.

Unfortunately, itโ€™s not currently possible to use a file stored on OneDrive or SharePoint as a data source for wpDataTables via a direct URL.


โœ… Supported options for using CSV or Excel files via URL

As explained in our documentation:
๐Ÿ‘‰ Creating wpDataTables from Excel

There are two supported methods for using CSV or Excel files as data sources:


1. Using the WordPress Media Library

You can upload your file directly to the WordPress Media Library.

๐Ÿ”น The file must be hosted on the same domain as your WordPress website.


2. Using an External URL

You can also link to a file hosted on another domain, as long as it meets the following conditions:

  • The file is publicly accessible (no login or authentication required)

  • The URL must end with the file name and its extension, such as:

https://example.com/files/data.xlsx  
https://example.com/files/data.csv

โš  URLs that end with query parameters (e.g., ...?id=123) or donโ€™t include the file extension will not work.


โŒ Why OneDrive and SharePoint URLs donโ€™t work

Files stored on OneDrive or SharePoint often:

  • Require login/authentication

  • Use URLs that do not end in a direct file name with .csv or .xlsx

  • Include redirects or session-based access tokens

Because of these limitations, they are not supported by wpDataTables at this time.


๐Ÿ’ก Want to request support for OneDrive or SharePoint?

Youโ€™re welcome to submit a suggestion on our official Feature Request page:
๐Ÿ‘‰ Submit a Feature Request

The more votes a request receives, the more likely it is to be prioritized by our development team.


๐Ÿ”” Stay informed about updates

To stay up to date with new features, fixes, and announcements:

  • ๐Ÿ“Œ Check our changelog

  • ๐Ÿ“ฐ Subscribe to our newsletter

Did this answer your question?
๐Ÿ˜ž
๐Ÿ˜
๐Ÿ˜