Good day all,
I have trouble building a scheduled flow where I want my Sharepoint list too backup or just copy the current list too a folder where I can access each list after the period has passed. And need too create a new list each time the flow runs not overwrite the old one.
I have tried
Copy SharePoint file then make the designation the folder but did not work.
I tried get items and then create new items ( in the SharePoint Library ) but also did not work.
May someone please help me.
Hello gazzo1967
If the flow was to run daily, is there a way to just save on top of the previous days copy instead of having a new csv file added into a folder every day?
Thanks
Shelley
@IvanMeere
Ok this will export all items as a csv.
To send an automated back up of your list to a folder
Add as your trigger and set the options to what you want.
Add Get Items
Add Create CSV Table with 'From' as 'Value' Get Items
Add A Compose
Select add Dynamic Content if not already showing.
Select 'Expression tab'
In the input box = utcnow('M')
This will give you the 'Month' if you want different use this page as a reference
Then Add either Sharepoint or Onedrive 'Create File'
Use Folder path to navigate to where you wish to store the file
File name Text name with OUTPUT from Compose (important ensure whatever you named the file the you end it with '.csv'
The second OUTPUT is from the Create CSV action
That will give you a CSV copy of all List items at the point of the run flow
If you look in the CSV one of the columns has the version number in it 🙂
Regards Gary
Please mark topics as solved if they are and give kudos to make people happy
Good day yess that is true,
I got the copy right now. My problem is saving the version history of the lists
@IvanMeere
Are you wanting to copy the list contents to a file at specific time schedule?
for example 1st every month?
Gary
Hi,
My aplogy only for replaying now.
Please see a picture of my flow. I just want too know if you also know how too convert a csv file too pdf ?
@IvanMeere
Hi
May help if you post a picture of what your current flow looks like 🙂
As they say a picture paints a thousand words 🙂
Gary
WarrenBelz
146,771
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,091
Most Valuable Professional