How to Fix Blank Name Error When Saving SharePoint Page Templates
Question details
Users encounter a blank name error when attempting to save a page template in a SharePoint communication site.

- Product
- SharePoint
- Device & OS
- not provided
- Scenario
- Saving a newly created or modified page template within a SharePoint communication site.
- Observed behavior
- The system reports that the page template name is blank and prevents saving. This occurs because the Name or Title column is hidden and empty in the Templates library.
Ensure you have the necessary site member or owner permissions to edit page properties and manage column views in the SharePoint Pages library.
Display Hidden Columns and Update Template Properties
This method resolves the error by ensuring both the Name and Title fields are visible and properly filled out in the site Pages library.
In SharePoint communication sites, the Templates folder relies on the 'Name' and 'Title' metadata fields to properly save and identify page templates. If these columns are hidden from your current view, they might be left blank during creation, triggering the error.
Navigate to your SharePoint site, click on the gear icon (Settings), select 'Site contents', and then click on the 'Site Pages' library.
Within the Site Pages library, locate and open the folder named 'Templates'.
Click on any column header menu, select 'Column settings', and then choose 'Show/hide columns'. Ensure the 'Title' and 'Name' columns are checked and click Apply to make them visible.
Select the problematic template by clicking the checkmark next to its name. In the command bar at the top, click the three dots (More) > 'Properties' > 'Edit all'.
Enter appropriate text values in both the 'Name' and 'Title' fields. Save your changes and reopen the template to confirm that the blank name error is resolved.

Looking for a Hassle-Free Document Suite? Try WPS Office
While troubleshooting SharePoint site issues, consider optimizing your offline document workflow with WPS Office. It's a free, lightweight, and highly compatible alternative to Microsoft Office that simplifies creating, editing, and managing your templates and documents.
- 1. Download and Install: Visit the official WPS website and download the free installer for your Windows, Mac, or Linux operating system.
- 2. Open Your Documents: Launch WPS Office and open your existing Microsoft Office files. The software retains all your original formatting perfectly.
- 3. Save and Share: Edit your documents and save them in standard Office formats, or easily export them as PDFs to share with your team.

Frequently Asked Questions
Why does SharePoint hide the Name or Title column in the Templates library?
SharePoint often customizes default views in the Pages library to simplify the interface for content creators. However, the Title and Name columns are still mandatory backend fields for templates, which causes the blank name error when left empty.
Can I still use a page template if the publish button is missing?
If the Publish button is missing after creating a page from a template, it typically indicates a permissions issue or a corrupted draft state rather than a template naming issue. You may need to review your site publishing permissions or discard the draft and recreate the page.
Does this blank name error affect all site collections?
No, this error is generally isolated to specific communication sites or Pages libraries where the default views have been modified or where templates were created without the required metadata fields exposed.




