Skip to main content
Solved

FeatureReader

  • November 25, 2024
  • 6 replies
  • 65 views

0xbox0
Contributor
Forum|alt.badge.img+4

Hi,

I would like to setup a FeatureReader to read all the XML files in a onedrive folder.  My OneDrive (graph) connection works and I’m able to view the contents of my folder.  I am able to select individual files to read in the FeatureReader parameters but I want to be able to read all XML files.  How would I go about accomplishing this?  

Thanks in advance.

Best answer by _jacques_

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.

View original
Did this help you find an answer to your question?

6 replies

_jacques_
Supporter
Forum|alt.badge.img+13
  • Supporter
  • November 26, 2024

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!


0xbox0
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • November 26, 2024

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


davtorgh
Contributor
Forum|alt.badge.img+10
  • Contributor
  • November 27, 2024

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!

 


0xbox0
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • November 27, 2024

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!


_jacques_
Supporter
Forum|alt.badge.img+13
  • Supporter
  • Best Answer
  • November 28, 2024

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.


0xbox0
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • November 28, 2024

Thanks!  This is what I was looking for.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings