Forum Discussion
Convert our traditional Discussion Board list items into modern pages
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?.
- john johnDec 20, 2018Iron Contributor
jcgonzalezmartin wrote:
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.jcgonzalezmartin but why the API will not allow me to read the discussion? i have never try this , but i would assume i can do so.
second point, what about the comments on modern pages ? can add them using powershell, and preserve the original created by?
- NotAlexDec 20, 2018Iron Contributor
You should be fine to read the discussion, you could output this to text file then read it back in or just read -> create.
Please see this thread for adding a comment
https://sharepoint.stackexchange.com/questions/248841/comment-on-o365-modern-site-page-with-pnp