How can I read range of an excel file located on the SharePoint and create a new excel file by adding the value (No Document) at the end of some rows?
Basically as we cant connect and download the file and reupload the file to the sharepoint, I want to find an alternative to copy the info of the Excel file and add the informaiton of the No document at the end of some rows (depending if the rows has been processed or not). Maybe by coping the file somewhere else and work from that location instead from the sharepoint??
Copy the SharePoint Excel file to a local working folder, use read range to load the data into a DataTable, loop through the rows to append "No Document" where required, then write the updated DataTable into a new Excel file stored locally, and finally move or upload that file back to SharePoint
download it using HTTP Request.Give the bot the shared link so that anyone with the link can view and this removes the need for credentials inside UiPath.
Then use HTTP Request → Method: GET → URL = shareable link → Output = local file.Hope it helps
1.Go to the file → Click Share and you see option like " Anyone with the link" you MUST choose this
2.Then copy the url link
3.Convert it to a direct-download link - By adding “&download=1” in the end ot the url
4. Use this final link in UiPath HTTP Request**
Method: GET
Url: the download=1 link
Save response → your local file path