Forum Discussion
Convert our traditional Discussion Board list items into modern pages
we have sharepoint on-premises 2013 site which we want to migrate inside sharepoint online. and i am using one of the best tools which is Share-gate to do the migration. but as part of the migration (more accurate as part of adopting the modern UI), we want to convert all the on-premises discussion board items to be modern pages.
so now the share-gate tool will not support such a conversion (which is understandable), but i am trying to find another approach to do the conversion, so not sure if these steps should work on reality:-
1. i will migrate the on-premises site as is.
2. i will write a remote power-shell script which will do these 3 main steps:-
- will loop through the migrated discussion board items.
- create a new modern page. where the modern page title & body will be equal to the discussion board item's title + body
- will also add any reply to the discussion board item to be a reply on the modern page.
so can anyone advice if my above points should work on reality ? and is there an easier way to achieve what i am looking for?
6 Replies
- AndrewWarlandIron Contributor
We replaced most of our discussion boards with Yammer (included embedded on pages), or with MS Teams. This works well for discussion in a group. If you are using discussions as a kind of announcement, then modern 'news' pages are the better way to go.
So the first thing to ask is if you want to have discussion (Yammer/Teams) or make announcements (news pages). I wouldn't use modern pages for discussions.
- john johnIron Contributor
AndrewWarland wrote:We replaced most of our discussion boards with Yammer (included embedded on pages), or with MS Teams. This works well for discussion in a group. If you are using discussions as a kind of announcement, then modern 'news' pages are the better way to go.
So the first thing to ask is if you want to have discussion (Yammer/Teams) or make announcements (news pages). I wouldn't use modern pages for discussions.@
AndrewWarland Yes most of the discussion board items we have are mainly news announcements, and some have comments. Also our discussion board list is titled as "news and announcements". so i think modern pages are best fit for us and not yammer.. but you did not actually answer my original question about converting discussion board items into modern pages?.
- Basically your approach is not to do a real conversion, is to migrate the content of your discussions to modern pages...what I wonder is if this makes sense, but anyway, check CSOM SPO API / PnP to accomplish this...you need to test if the API allows you to read the discussions in the way you need...the API for sure allow you to create modern pages and write on them.