SharePoint, SharePoint Online

SharePoint 2013 find site template ID

How to find SharePoint 2013 Site Template ID

So you have a custom site template and you want to be able to programmatically create a subsite? I’m sure there is already somewhere someplace that has already blogged about how you can source this site template ID but I couldn’t find it so here I am passing on my findings.

Saving your site as a Site Template.

First of all Navigate to the Site you would like to reuse as a template, go to ‘Site Settings’ and click save site as template.

Fill out your details for the new site template & you have the option to include all the content of the site (example: all documents in a document library)

Click ‘OK’ & your site has been saved as a template, now we need to find the unique ID that belongs to the site collection.

Finding the ID for the Site Template to reuse

For this step I prefer to use Google Chrome as you can find the Template ID quite easily –

Navigate to create a single sub site with your template the url should be something like /_layouts/15/newsbweb.aspx

On prem) http://yourspserver/_layouts15/newsbweb.aspx


When you navigate to this url you will see the section to select a template:

Now as this is open in google chrome right click on your template and click ‘Inspect Element’

You will need to expand the following code which will be highlighted as we are inspecting it’s element.

Once you have expanded the code you will receive the ID associated to the template.

So in my case ‘TestTemplate’ ID is “{6E9A9064-9174-4BEC-9A95-FEF99F7D1CFC}#TestTemplate

Keep in mind you must use the entire id including the name of the template itself.

Walla you now have the template ID! You can now start deploying sites with the template programmatically.

In my next blog post I’ll be demonstrating how to use deploy subsites with a site template using Client Object Model & SharePoint Online

SharePoint Online

What Version of SharePoint Online am I on?


With Microsoft upgrading the Office 365 tenants to it’s latest wave (Wave 15) it’s now a regular occurrence from customers to find out what SharePoint version they are on SP2010 or SP2013.

The easiest way to do this is simply opening your SharePoint site and adding ‘_vti_pvt/service.cnf’ to the URL


You will see that the Version is listed at 16:0.0.1810 which is the latest Wave which is in fact SharePoint 2013


SharePoint 2007, Uncategorized

Customize Announcements View

Sharepoint Custom Announcements View

Have you ever Created an Announcement list and seen how badly the Announcements view looks?

In this Blog post I’ll take you through how to create a new DisplayForm for the Announcements page but also how to apply it as the default.

This blog is assuming that you are using SharePoint Designer 2007 and MOSS 2007


Step 1 )

Load up SharePoint Designer and Navigate to the site that your Announcements list resides.
e.g http://yoursite/

Create a New aspx page:

File > New > Aspx 

Step 2)

Click Insert > SharePoint Controls > Custom List Form

Once you have selected the Custom List Form you will be presented with a few options:

Choose Announcements List and their should only be one Content type available which will be ‘Announcement’

Select Display item form (used to view list items) as we want to display existing forms & uncheck ‘Show standard toolbar’

Once this is completed a new display form is created which you can style the page using css, html formatting to suit your needs – I won’t be going through this today but will in a later blog post.

Step 3) 

Save your Form into the Announcements list folder

e.g yoursite > Lists > Announcements and Save the form as newdispform.aspx

Step 4) 

To actually be able to use this new display form you have created you will need to make it the new display default for the list.

To do this step go to the following:

Yoursite> Lists – this will display all the existing lists in your site that is open

Right click on the Announcements List and Click properties this will bring up the List Properties Window

Step 5)

Once the List Properties window is open click the Supporting Files Tab and you will see the following options:

Step 6)

Navigate down to the Display item form option and select browse this will allow you to set the default display form.

Navigate to the newdispform.apx page we created Click ‘OK‘ and were done!