I have a transformation that has Table input to get the data from the Oracle server.
In order to export the data/table in Excel (xlsx) or CSV to the shared network drive, we all know to use Microsoft Excel writer or Text file output.
Que:
How to export the xlsx or csv files to Sharepoint?
What I tried so far (2 methods)
1:
I have got the link for my Sharepoint folder and tried connecting it using SFTP as below.
However, I get this error message.
2:
Used HTTP Client as below and surprisingly it runs successfully.
However, the file does not exist when checked in that folder in SharePoint. When I entered some random characters in the server name, it still runs successfully. So, I'm not sure where the file is being sent to by Pentaho.
Does anyone know how to upload the data file to SharePoint via Pentaho?
Related
I am trying to access a file from Sharepoint from my Azure Logic App. I am using the Sharepoint connector "When a file is created or modified in a folder". The file is accessed by the connector but it the properties the file name is given as "Z2lnYWJpdF92b3VjaGVycy5jc3Y=" rather than the actual file name "mydata.csv". Anyone know why this is?
It will be in a base64 format so you need to use base64tostring in compose connector i.e.. base64ToString(< FileName >)
Here is the screenshot for your reference
I have an excel data file stored on box.com. Say the url of the file to be https://box.com/file/302595154 .
I need to connect to this file from my local excel file and read data.
I only need to read data and update not required.
I need to supply credentials to box.com before I can acccess the data.
use this link.
https://techcommunity.microsoft.com/t5/Microsoft-Forms-Blog/Forms-for-Excel-new-experience-for-Excel-survey-in-Office-365/ba-p/109195
step by step follow.
Thanks You
I have a file_name.iqy file which I am trying to open automatically within Excel 2016.
The contents of the file are this:
WEB
1
https://link goes here
Selection=3
Formatting=Rich Text
DisableRedirections=False
I want to add my credentials into this file so I can stop being prompted for them within the script that I am running (I am trying to automate logging into this site and grabbing the data which is downloaded as an .iqy file). Can anyone provide any assistance? Lastly, I have no reason to believe that link in the file is static for each download.
Ive tried this method http://username:password#example.com/ in the url. But it didnt work. Ive also tried using SendKeys from within Excel and the result in VBA is hanging at the part for credential entering.
I want to export a table to an Excel file. I need to export a report.
ORA_EXCEL.new_document;
ORA_EXCEL.add_sheet('Sheet name');
ORA_EXCEL.query_to_sheet('select * from mytable');
ORA_EXCEL.save_to_blob(myblob);
I saved my table to blob.
How do I export/respond to the user (client)?
I need something that is simple to allow a user to be able to download an Excel file to their own computer. I tried doing this procedure in an Oracle workflow:
ORA_EXCEL.save_to_file('EXPORT_DIR', 'example.xlsx');
But this did not help, because it is saves the file to a directory on the server and I need it in the real server.
The way I have handled similar issues in the past was to work with the systems people to mount a directory from either a web server or file server on the Database server.
Then create a directory object so that the procedure can save to a location that is accessible to the user.
If the files are not sensitive and there are a limited number of users then a file server makes sense as it is then just a matter of giving the user access to the file share.
If files are sensitive or this is a large number or unknown users we then used the Web server and sent a email with a link to the user enabling them to download their file. Naturally there needs to be security built into this to stop people being able to download other users files.
We didn't just email the files as an attachment because...
1) Emails with attachments tend to get blocked
2) We always advise not to open attachments on emails. (Yes I know we advise not to click on links as well but nothing is perfect)
Who or what is invoking the production of the document?
If it´s done by an application, which the user is working on, this application can fetch the BLOB, stores it at f.e. TEMP-Directory and calls
System.Diagnostics.Process.Start("..."); to open it with the associated application. (see Open file with associated application)
If it´s a website, this one could stream the blob back as Excel-Mimetype (see Setting mime type for excel document)
Also you could store in an Oracle-DIRECTORY, but this one has to be on the server and should be a netword-share to be accessible for clients (which is rarely accepted in a productive environment!)
If MAIL isn´t the solution, then maybe FTP can be a way to store files in a common share. See UTL_TCP - Package, with this a FTP-transfer can be achieved (a bit hard to code, but there are solutions to find in the web) and I guess, professional tools that generate Office-documents out of Oracle-DB and distribute them do it like this.
I'm trying to integrate with Microsoft OneDrive service. I read API docs and went throw Authorization. Unfortunatelly, there's no info in docs about creating different File types.
I created a .txt file using HTTP Requests as it's written here https://dev.onedrive.com/items/upload_put.htm .
When I'm trying to create an Excel file this way, it does, but the document doesn't open. I think I need to send some special params (metadata?) also, but I don't know which ones.
I would be very pleased for any help :)