Others

Retrieve a Custom SharePoint 2013 Web Template ID with CSOM or REST

Camila MilosovichCamila Milosovich Nov 22, 2026 869 views

Question details

Find the custom web template identifier and name for a SharePoint Server 2013 site using CSOM or REST.

Retrieve a Custom SharePoint 2013 Web Template ID with CSOM or REST
Product
SharePoint Server 2013
Device & OS
not provided
Scenario
A console application queries a SharePoint site and needs its custom template identifier in the form {GUID}#CustomName.
Observed behavior
The application receives a base web template name, such as BLANKINTERNET, rather than the expected custom template identifier and name.
Before you start

Identify the exact site URL and record the CSOM property or REST endpoint your application queries. Ask a site collection administrator for access to the Solutions gallery if you need to inspect the custom template package.

Solution 1Recommended

Check the Base Template and Inspect the Custom Template Package

Use the returned site properties and the Solutions gallery to investigate the template used for provisioning.

A base web template name such as BLANKINTERNET is not necessarily the custom template identifier used when the site was created. These checks can help identify the template, but they do not guarantee that the original {GUID}#CustomName value can be recovered from the site.

1
Inspect the site properties

In your console application, load the target Web object's WebTemplate and Configuration properties through CSOM, or inspect the corresponding properties through REST. Record both values and confirm that the request targets the intended site URL.

2
Check the Solutions gallery

Open the site collection's Site Settings page and select Solutions under Web Designer Galleries. Look for the custom site template package and check its name and activation status.

3
Review provisioning records

Check the site-creation script, configuration, or deployment documentation for the template identifier passed when the site was created. Compare that value with the package found in the Solutions gallery.

4
Request SharePoint guidance

If the original identifier is still unclear, post the site properties, provisioning details, and relevant CSOM or REST request on Microsoft Q&A with the SharePoint tag. Remove credentials and other sensitive details before posting.

Check the Base Template and Inspect the Custom Template Package
Available packages are not proof of origin: A template package in the Solutions gallery may help identify candidates, but its presence alone does not prove that it was used to create the site.
Free Microsoft Office alternative

Document Your SharePoint Template Investigation in WPS Office

WPS Office is a free, lightweight alternative for documenting your investigation and sharing results in familiar Office formats. Its familiar interface makes it easy to move existing documents and spreadsheets, but it does not retrieve SharePoint template IDs or fix SharePoint APIs.

Record site properties and provisioning details in a document or spreadsheet.Open and edit Microsoft Word and Excel formats, including DOCX and XLSX.Work in a familiar interface when moving from Microsoft Office.Use a free, lightweight suite for everyday office tasks.
microsoft office alternative - wps office

Frequently Asked Questions

Why does WebTemplate return BLANKINTERNET instead of my custom template name?

WebTemplate can report the site's base template name rather than the custom identifier used during provisioning. Check the Configuration property and the original site-creation records for more context.

Where can I find a saved site template package in SharePoint 2013?

On the site collection's Site Settings page, select Solutions under Web Designer Galleries. Access depends on your permissions, and the package's presence does not by itself establish that it created a particular site.

Can I reconstruct the custom template ID from WebTemplate and Configuration?

Do not assume those properties are enough to reconstruct the original {GUID}#CustomName value. Check the provisioning script or deployment documentation, or ask the site collection administrator for the original template details.

Where can I get help with a SharePoint 2013 CSOM or REST query?

Post your request and the returned properties on Microsoft Q&A using the SharePoint tag. Include the SharePoint version and the relevant code or REST request, while removing credentials and sensitive site information.