Talend (Placing the Xls file in sharepoint) - sharepoint

I am quite new for the Talend tool.
I have the requirement to place the xls/.csv file in sharepoint application using Talend.
How can I achieve this and which components we need to use to achieve the result.

You can try using tFileFetch component.
In the advanced settings enable Upload File option.
You can refer this link

Related

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

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.

read the settings of a office add-in manifest file from the angular app which is inside the Excel task pane

Requirement: Read the AutoConfig element in a manifest file using office.js/angular app and will
hide/show the content in my angular app in task pane based on the AutoConfig value.
The 1st approach I will put a custom tag i.e <AutoConfig>true</AutoConfig>
in the manifest file and this custom tag should read by the angular app/office.js in the task pane.
The 2nd approach will pass the URL parameter from the<SourceLocation https://localhost:3000/index.html?autoConfig=true> if it is not possible to give a custom tag in the manifest file (1st approach)
could you please help me how can I achieve this requirement?
I'm afraid that there is no way at present for an Office Add-in to read its own manifest. But you can vote for the same idea at Create an API for reading resource strings and URLs from the add-in manifest.

Embed Excel in a website to edit a locally stored document

Is it possible to embed google excel in my website to edit document stored locally?
My manager asked me if it is possible to integrate the Microsoft office webapp in my own website.
Clients have excel files stored on our website, we want to know if it is possible for them to open the file with a web excel page, edit the file and save the modifications. For now, they use SharePoint so it is easy for them but we intend to use an other platform.
Our client can have all the license we need.
I searched but I didn't find any solution.
I know you should be able to do this with ASP and the .Net Framework. SharePoint uses ASP pages, so you may try to do something simpler.
If you go over the Internet you'll see several solutions because people do this too.
e.g. a thing you can do is to use Open XML API to do this, and it is like reading / modifying a flat file on the server. A restriction is it has to be .xlsx / 2007 format onward.

Copy Selected File in SharePoint To Local Drive

I am trying to copy a selected from from a SharePoint Document List to the servers local drive. But I can not for the life of me find a way to do this within SharePoint 2010 using C# or JavaScript (preferably C#) anywhere. Is this possible? If it is, can anyone provide some pointers that would get me started in the right direction? Thanks!
You can use custom actions to integrate the functionnality to ribbon (see this article).
Once you have added your custom action in the code you can:
If you know a file server relative URL you can get it from the web
SPFile file = YourWebObject.GetFile("FileServerRelativeUrl");
Ones you have your SPFile object you can save it, using .NET IO library, to a disk using
FileStream fileStreamToSave = YourWebObject.OpenBinaryStream();
Than just save it...
IMPORTANT! - You have to give writ access to the folder where you files will be stored.

Change file extension in SharePoint

I'm trying to find out how to change the file extension of a file in a document library in SharePoint, so that a newer version with a different extension can be uploaded without a separated copy being created (e.g. suppose I want to replace a .doc file with .zip).
Looks like you can write some codes to workaround but I feel there's gotta be a simpler way to do a simple task like this.
You could change the extension by opening the library in windows explorer.
Actions - Open In Windows Explorer
Then ensure that in your file view settings you don't have 'Hide Extensions for known file types' enabled.

Resources