Hi,
I have a requirement where I have to fetch all the file ids inside google drive folder. I have a folder id as input. Please let me know your thoughts.
Note: We are using service account for Gsuite authentication.
Thanks in advance!
Hi,
I have a requirement where I have to fetch all the file ids inside google drive folder. I have a folder id as input. Please let me know your thoughts.
Note: We are using service account for Gsuite authentication.
Thanks in advance!
Hi
Welcome back to UiPath forum
Have a view on this video and it has a demo on how to print file ids
Cheers @Newton_Rich_SV
Hi @Newton_Rich_SV ,
'your-folder-id' in parents and trashed = false
(replace âyour-folder-idâ with the actual ID of the folder you want to fetch files from).DriveFilesResult.Files
.item.Id
.Thanks
Try below steps
Use Find Files activities and pass your Id as below
â'â+ VariableofYourFolderID +ââ in parentsâ
Declare a variable for Result
Now use For Each activity and pass the Result variable
Also For Each TypeArgument Property set as Google.Apis.Drive.v3.Data.File
Inside for each you can use Item.Id to get all the IDâs inside the Folder ID you have given
Hope this may help you
Thanks,
Srini