I need to know if its possible to do that :
How can i Extract the entire folder hierarchy from a SharePoint ?
Use SharePoint Activities : UiPath provides activities specifically designed for interacting with SharePoint. You’ll need to use these activities to navigate through the folder hierarchy and extract the necessary data.
Connect to SharePoint : Use the “SharePoint Application Scope” activity to connect to your SharePoint site. Provide the necessary credentials and site URL.
Loop Through Folders : Use a loop (such as a “For Each” activity) to iterate through the folders in the hierarchy. You can use the “Get Folder Contents” activity to retrieve the contents of a folder.
Download Files : Within the loop, you can use the “Download File” activity to download files from each folder if needed
i need also the name of every folder it exist in each folder, do you have an example to share with me ?
Also i can’t download the activity :
Use microsoft 365 packages
ExtractSubfolders :
Get Files in Folder:
Site URL: Your SharePoint Site URL
Folder Path: folderPath
Recursive: True
For Each item in FilesAndFolders:
Assign:
folderName = item.DisplayName
subfolderPath = item.ServerRelativeUrl
Log Message: "Folder Name: " + folderName
If item.ItemType = Folder:
Invoke Workflow: ExtractSubfolders (pass subfolderPath)
do you have the save with real activities, its easier for me to have the same display plz
And for local using, not unatended, i need only application ID and tenant ID ?