How to use queries in some of the MicrosoftOffice365 activities.
As well as how to correctly reference a sharepoint url and then iterate through its subfolders, move items around to different folders.
How to use graph API to create sharepoint lists?
Hi @Divya_Salve
Welcome to the Community
For SP URL
say sp url is : https://SPurl.com/sitename/sites/drivename/folder1/folder2/file.xlsx
sp url - https://SPurl.com/sitename
drivename - your document library name either get from site contents or generally its similar to what you see in url (drivename)
sub folder - folder1/folder2
query - file.xlsx
use this in find file to get the file.xlsx
cheers
Hi @Divya_Salve
Please try the below attached workflow for creating sharepoint lists & adding items to lists.
Application ID & Tenant Id are marked null. Please add your application credentials.
P.S : To add new items you need to have the necessary permissions (at least “Contribute” permissions) on the respective list. The full list of the permissions
are - (User permissions and permission levels in SharePoint Server - SharePoint Server | Microsoft Learn).
Main.xaml (12.5 KB)
Thank you @VijithaD
A small correction in the xaml
We should not be having add list items inside the for each list item loop I guess
cheers
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.