Aug 22 2024 04:59 AM
Hi,
I have a customer that wants to migrate its Intranet from an old CMS that has an API to SharePoint Online. Think of the intranet like a series of Communication Sites.
The challenge here is:
- Read pages from their API that has title, body, author, image and/or videos (can be YouTube videos or videos stored in the CMS itself that have to be migrated to Stream) and publish date
- For each page, create a corresponding SharePoint web page, and insert the appropriate web parts and if there are videos from the CMS, upload them to Stream and insert the Stream web part in the page
What kind of solution would you develop? These are the necessities I identity:
- API to Create a page
- API to create sections in the page (not sure if necesary)
- API to insert web parts in the page
- API to upload videos to Stream
Thanks
Sep 09 2024 04:01 AM - edited Sep 09 2024 04:02 AM
Can reformulate this, what do you want to achieve ? You want to automate the process or just want to know if it's possible?
From your posting it's Pages API that is needed and for the Streams video, you need to download the files and upload them to a SharePoint library
https://learn.microsoft.com/en-us/graph/api/resources/sitepage?view=graph-rest-1.0