I need some Help

Hi All,
I have an excel file that has many names of folders in it, I need to search the robot for those names in sharepoint and all the subfolders they have, that again count the pdf files in there, and need to write that again in the excel spreadsheet and put “X” in the “Ok” column, otherwise if it already says “X” then I don’t need to count the robot.

1 Like

Hello @momo10 ,

Please use this to get the PDF file count:

System.IO.Directory.EnumerateFiles (MainFolderPath, “*.pdf”, SearchOption.AllDirectories).Count

Thanks!
Athira

hi @athira.somasekharan,
i have used this, but how can i work with share-point now?

Hi

Have a view on this doc for sharepoint activities

Hope this would help you resolve this

Cheers @momo10