Can you archive in Microsoft lists?

For a more controlled archiving to a database we recommend the kalmstrom.com Silver solution SP Archive.)

Show

Can you archive in Microsoft lists?

Follow kalmstrom.com on LinkedInFacebook or Twitter!


This blog walks you through the process of how to archive SharePoint lists using Microsoft Power Automate flow and focuses on a SharePoint list which has column types such as Multiple lines of text, Hyperlink or Picture, Choice and Lookup type columns. In addition, the Multiple lines of text column has the append changes to an existing text option selected as yes.

Scenario

Consider a SharePoint list whose list items need to be archived i.e. copied over to either another SharePoint list or a data source such as Excel or Azure SQL table or CDS entity. The source list has some complex SharePoint columns such as

  • Multiple lines of text which appending to an existing text option selected as yes
  • Hyperlink of Picture
  • Choice
  • Lookup

Here are screenshots of the list and their column types:

Can you archive in Microsoft lists?

Comments column and its settings:

Can you archive in Microsoft lists?

Here is a screenshot of the destination list:

Can you archive in Microsoft lists?

As you can see the comment column in the destination list does not have the append feature set as yes:

Can you archive in Microsoft lists?

Power Automate flow

The Power Automate flow does a great job copying the Single line of text and Hyperlink or Picture directly, however, the Choice type column and the Multiple lines of text with append does require some extra work.

To copy the Choice type columns, we use the variable function and for Multiple lines of text with append, we use a combination of HTTP request and HTML table.

Video

This video walks you through the two SharePoint lists and the flow.

Conclusion

The destination is also a SharePoint list, however, you can use other data sources such as an Excel spreadsheet in OneDrive, Azure SQL Table or CDS entity. Keep in mind if you do use Azure SQL Table or CDS entity then you will need either Power Automate per-flow or per-use plan in addition to your Office 365 license.

This is how you should archive SharePoint lists using Microsoft Power Automate flow! Read my previous blog posts and see the videos for more great how-tos and tips & tricks:

Build your own Audit App
Pre-populate PowerApps controls using URL
How to split gallery items in Power Apps

***

Interested to see how you can make your workday more efficient? Why not book a free demo. Let us show you how our tools can help to re-engage and motivate your staff!

BOOK A FREE DEMO

rajeshvsnk-1241 asked Aug 27, '20 | JerryXu-MSFT commented Sep 2, '20

I have sharepoint list having the data from last 2 years in SharePoint online

I want to move the archive data of this sharepoint liist to some list in SharePoint onlineHow we can achieve this ?how many methods?

Is there any possibility to archive this data by using workflows?

office-sharepoint-online

Comment