how do we migrate custom web parts from sharepoint onpremisis to SP online?

sns 9,251 Reputation points
2021-03-16T05:22:21.127+00:00

how do we migrate custom web parts from sharepoint onpremisis to SP online?
Please help

Microsoft 365 and Office | SharePoint | For business | Windows
{count} votes

Answer accepted by question author
  1. Jerry Xu-MSFT 7,961 Reputation points
    2021-03-17T02:03:38.26+00:00

    Hi, @sns ,

    I will suggest you to recreate the web part as SharePoint Add-in or SPFx web parts. In SharePoint Online, code-based sandbox solution (.wsp files) has been deprecated for long time.

    Intro on add-ins: https://learn.microsoft.com/en-us/sharepoint/dev/sp-add-ins/sharepoint-add-ins?redirectedfrom=MSDN
    SPFx: https://learn.microsoft.com/en-us/sharepoint/dev/spfx/sharepoint-framework-overview


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.