Can DataTables directly pull a csv file from OneDrive (to be published in an html webpage)?
Can DataTables directly pull a csv file from OneDrive (to be published in an html webpage)?
Link to test case:
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem:
Answers
Possibly... If the CSV file can be accessed via the web (e.g. there is a share link for it), and OneDrive's CORS setup allows the file to be read, then yes it would work. However, I strongly suspect that the CORS headers will not allow that, and instead you would need to use a server-side proxy script which will read the file from one drive and then serve it to the client-side. It would of course still need the share link for the file in question.
Allan
Thanks Allan, I will try it