Migrating custom client side code to SP online

Sherazad Ahmed 51 Reputation points
2022-11-11T15:51:54.757+00:00

Hello,

Good morning. Does anyone know how to successfully migrate custom client side code in in SP form files to SP online using the Microsoft SharePoint Migration tool? I've run the PNP powershell to turn on the migration of scripts, but no luck. (PS below)

Set-PnPSite -Identity <site> -NoScriptSite $false

Also, does the migration tool allow the migration of items in the "pages" library? My migration is skipping this library for some reason.

thanks,

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,249 questions
{count} votes

Accepted answer
  1. Tong Zhang_MSFT 9,141 Reputation points
    2022-11-14T06:03:41.367+00:00

    Hi @Sherazad Ahmed ,

    According to your description, do you want to migrate existing Script Editor web part customizations to the SharePoint? If my understanding is wrong, please feel free to contact me. If yes, you can refer to this document: Migrate existing Script Editor web part customizations to the SharePoint Framework

    Also, according to my research and testing, unfortunately, we cannot migrate publishing pages using SharePoint Migration Tool at this time. The Pages library in the publishing site is not a list template supported by SharePoint Migration Tool. I suggest you can ask for help from a 3rd-party migration tool that supports it.

    Hope it can help you. Thanks for your understanding.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    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.


    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Sherazad Ahmed 51 Reputation points
    2022-11-14T14:15:47.007+00:00

    Thank you Tony.

    0 comments No comments