If you're following the steps in How to transform Classic Pages built using ShortPoint into Modern Pages and can't find the "Add a page" option, you might have the SharePoint Server Publishing Infrastructure enabled on your classic site collection.
In this case, follow the alternative steps outlined in this article to transform your classic pages into modern successfully.
TABLE OF CONTENTS
- Prerequisites
- Step-by-step Tutorial
- Step 1: Disable SharePoint List and Libraries Experience in Site Collection Features
- Step 2: Enable the “Add a page” feature in Site Features
- Step 3: Access the left AppBar from Site Contents
- Step 4: Create a blank Modern page
- Step 5: Add a ShortPoint web part
- Step 6: Paste the copied Classic page
- Step 7: Save and Publish
Prerequisites
- You have the latest ShortPoint SPFx version installed on your SharePoint Microsoft 365 Environment.
- You are a ShortPoint Designer with an active license.
- You are a site collection administrator.
Step-by-step Tutorial
Follow these steps to add a modern page to your site collection when SharePoint Server Publishing Infrastructure is enabled:
Note: Ensure you've completed parts 1 and 2 in the "How to transform Classic Pages built using ShortPoint into Modern Pages" section of the main "ShortPoint Microsoft 365 Classic Pages Deprecation: Transforming Classic Pages to Modern Pages" article before proceeding.
Step 1: Disable SharePoint List and Libraries Experience in Site Collection Features
- Launch the SharePoint settings window by clicking the cogwheel icon.
- Click Site Contents and open Site Settings.
- Go to the Site Collection Administration section and select Site Collection Features.
- Deactivate the "SharePoint Lists and Libraries experience" feature. This will allow you to view Site Contents in the modern interface rather than the classic view.
Step 2: Enable the “Add a page” feature in Site Features
- Go back to Site Settings.
- Under Site Actions, click Manage site features.
- Enable the “Add a page” feature by activating Site Pages.
Step 3: Access the left AppBar from Site Contents
- Navigate to the modern view of Site Contents.
- Hit the “+” button on the left AppBar to view the different Create options.
Step 4: Create a blank Modern page
- Create a Page and select the site where you want to add a new modern page.
- Choose a Blank template.
- Rename the page to the original name of your Classic Page.
Note:
If the "Add page" option continues to create a Classic page, you'll need to run the following commands in PowerShell:
Connect-SPOService -Url https://yoursite.sharepoint.com
Set-SPOsite -Identity https://yoursite.sharepoint.com/sites/Classic -DenyAddAndCustomizePage 0
Where you replace yoursite with your site name.
Step 5: Add a ShortPoint web part
- Select the default section and delete it by clicking the trash icon.
- Hover and click the Add new web part “+” button to show the web part options.
- Hit the ShortPoint icon and you will be brought to the ShortPoint edit mode.
- Click the Choose a layout icon and add a one-column layout.
Step 6: Paste the copied Classic page
- Hit the Section label and click the other actions ellipsis icon. You can also right-click the Section label to open the other actions dropdown.
- Select the Paste page before section option. Your copied classic page will now appear on the new modern page.
- Review the pasted content to ensure all the Design Elements work as they should.
Step 7: Save and Publish
- Once you are done, hit Save and Publish the page.
Note:
If you are transforming a home page, you must publish the page first. Then go to Site Contents > Site Pages and select the Make homepage option from the Site Properties dropdown menu.
You can now complete part 4 of the "How to transform Classic Pages built using ShortPoint into Modern Pages" section of the main "ShortPoint Microsoft 365 Classic Pages Deprecation: Transforming Classic Pages to Modern Pages" once you have successfully transformed all your classic pages in your site collection to modern.
Related articles: