I am having problem reading Excel file using OData SSIS component from Share Point - sharepoint

as title says I am trying to read the Excel file placed on online SharePoint using the OData component in SSIS.
I am trying to make an SSIS package that will update my database in sql server with the data from that Excel file. I managed to do that when my file is placed locally.
I also managed to see my file using by adding /_vti_bin/listdata.svc/ inside target URI, i get an Share Point list where one of the components is my excel file, but I can't open it that way.
Also I need to use credentials to access the SharePoint.
I would be thankfull for any help :D
Acceptable solution would be to download that file first, but I haven't managed to do that either.

Related

Reading data from shared teams text file using VBA in Excel

I have created a tool using VBA that performs several pulls from BigQuery and does a variety of transformations and summarization inside of Excel. The tool is an evolving tool and to make sure that the users are using the most current version of the tool, I would like to have a version file saved on the shared Teams page that the tool would check and if needed, download the newest version onto the tool to the user's folder. I have scrubbed the web for several solutions to this ask but not one that actually works. Below are the links to the solutions I have attempted. The issue is that the connectors for opening text files seem to not work with a URL from Teams. I need to know how to make this work. Any help would be greatly appreciated.
https://www.excel-easy.com/vba/examples/read-data-from-text-file.html
This solution doesn't seem to work with a URL as I get a Bad Filename error.
https://chandoo.org/forum/threads/download-file-from-sharepoint-and-save-it-in-system-folder.41779/
Problem with this one is that the download for some reason shows completed but actually never moves local.
Connecting to Excel file stored on SharePoint via ADODB
https://www.connectionstrings.com/textfile/
I attempted to use this solution using the text file connection string but was not successful here either.
https://www.exceltip.com/import-and-export-in-vba/import-data-from-a-text-file-ado-using-vba-in-microsoft-excel.html
Again, another bad name error.
Any help or advice on how to connect to a simple text file shared in a Teams folder would be greatly appreciated.

Open and save .iqy to table from script

I'm looking for a way to open a .iqy file from script and save the file that i get.
Context: Where I work we currently try to automate the process of renaming building elements. For those we have the properties saved in an SharePoint Excel file and we want to find a 1-Click-Solution, where a programm fetches the data from the SharePoint tables and uses ArchiCAD API to get those changes into the project.
If anyone knows a comfortable way to get the data from SharePoint (tried REST API with not much success) or the .iqy file, i would be very grateful :)
Kind Regards
Dayiz1

Uploading excel from local machine to sharepoint through SSIS

I am trying to upload an excel from a shared folder on network to share-point.
I need to pass credentials to access the SharePoint.
Please suggest how this can be achieved through SSIS package.
Thanks!
i used below complex component to achieve it. See if it suitable to you
https://ssisconnectorsharepointonline.codeplex.com/

Spreadsheet stored on Sharepoint needed in Access

I have a spreadsheet that is stored on a SharePoint site and I would like to link to this spreadsheet to create a "live" table in my Access database. When I go to Get external data->Excel->Link to the Data source by creating a linked table, I get an error because the filepath begins with http:. Is there a workaround for this? Thanks!
You cannot link to a web site, or a file sitting on some web site. You need (must) use the windows file networking system for this to work.
You thus could as a workaround download the file local, and then link to the local file.

Dynamically Updating Excel Web Part Excel File

I have multiple Excel Web Parts in my SharePoint 2010 site. Each web part is connected to an Excel work book which is generated automatically by a scheduled task on a separate server. Given this, is there a way to automatically map a newly generated excel file to an existing excel web part instead of manually updating them?
I saw a tutorial but it uses the SharePoint dll and other dlls which are found from the SharePoint server itself and as far as I know, I can only execute these items if I have SharePoint installed locally. Is there any way to make it work without having to install SharePoint locally? By the way I was referring to this tutorial from MSDN.
Edit
I was able to create web parts programmatically using SharePoint.Client.WebParts but I'm having problems creating Excel Web Access Web Parts.
I was able to make it work by using the same concept found in this page.
All that I needed to do was properly escape quotation marks from the exported web part file in order to map the correct file.

Resources