I am using a find files and folders and activity to pick up subfolders, then need another find files and folders activity to go into a subfolder - the issue is that the output of the activity is a drive item so I cannot use the output of the first activity as the input of the second
You have to follow something like this
From the drive item you can get the name you need…and then use find files again…also can do recursion
The requirement is little different but the idea still remains same
Cheers
As I understand, you want to get files and folders details from all folders, their subfolders, and their subfolder and so on.
you can use for all folders:
strArray = Directory.GetDirectories(folderpath,“*”,searchOption.AllDirectories)
and for all files:
strArray = Directory.GetFiles(folderpath,“*”,searchOption.AllDirectories)
They aren’t working with Windows directories so this won’t work. They’re working with Office 365 drive items.
We can map the network drive and take it from there.
Is there an easier way I can use file paths - I don’t need the details of the subfolders I just need to navigate to the correct subfolder
If you know the full path then use find files directly with subfolder as the folder till which you want to search and query would be the required subfolder name
cheers