Not sure if I understand the problem, but I will assume that you currently only can select one file for reading.
You can use the OneDriveConnector to list all files in a folder, then use a second OneDriveConnector to download the file using the _id attribute. You can select to download the file contents as attribute values.
Hope that helps!
Hi,
Thanks for the reply. I’m trying to avoid having to download the files if at all possible. Is it possible to read all the files of a certain type using a wildcard directly from OneDrive?
Thanks
Hi @0xbox0,
I don’t use the OneDriveConnector but, as far as I can see, it works like a GoogleDriveConnector (which I use).
Here is my usual workflow:
- get a list of the files/folders from a starting point folder;
- filter out everything I don’t want (first of all the subfolders) using the various attributes returned;
- download the selected files, one at a time;
- process these files as needed.
Hope that helps!
Yes, that’s my current OneDriveConnector workflow. I was just curious if I can skip the download the selected files part (and related file management) and just pull the data directly from OneDrive. It doesn’t sound like it. Good to know I’m doing it similarly to how others are doing it I guess.
Thanks!
If you just want the contents of the file, you can select download as : “attribute”. This will read the file contents into attribute values instead of downloading the files.
Thanks! This is what I was looking for.