Hi there, I was asked to write a blog post for European SharePoint Conference Training Week. After some brainstorming to figure out the topic, it struck me –why not write a post on some of the configurations and adjustments I have done in Document templates, libraries and Document Centre the last ten years.

Learn how to build a smart Taxonomy and use this as Quick Parts inside Word/Office templates. Furthermore you can use this setup in navigation, search, views, and a lot more to gain super skyrocketing efficiency Smilefjes

clip_image002
Picture1 – This Contract template contains a combination of terms from the Term store, and SharePoint site columns, used as quick parts inside the document header/footer and body.

clip_image004Picture; Inside Off365 it looks nice, click the Tiles and you see documents filtered by the specific content type. Document ID adjusted and other smart stuff Smilefjes

clip_image006Picture; End users will give you high cred for the ability to have smart templates to launch from word.

Please mr.BossMan don’t let me work in Shared Folder no more Smilefjes som blunker

clip_image008

Enough said, let’s get to business;

I did all the work on an Office 365 tenant, using no code or scripting. One of the great additions to Off365 is that you have a Document Centre there. This also works fine on an on premise Enterprise edition.

First task to accomplish is to get a nice taxonomy up and running (Document Center is a Site collection). I start off with some Term store management. In Site settings select Term store management.

clip_image010

Inside Term store management locate your Document Center site collection and add New Term Sets. I added Doc-type and Customers.

clip_image012

For the Doc-type term “Contract” I removed the availability for tagging, this because I will have my end users to select either private or public-sector (or levels underneath these two) – makes sense huh?
Any observant reader will notice that I have added the Spanish word Contrato as a synonym in Other Labels. (practicing for Barcelona 5-8th May …hehe) This is a nice thing to do to support two languages without full language pack and the hassle with multiple templates. More on this later.

clip_image014
Picture; A good tip in building the Taxonomy is reusing terms. Here you see “Norway” is reused from the Farm Wide Taxonomy –Underneath Norway you will find the 19 counties. “Norway” is a term set that all site collections in my farm can reuse.

For the Customers term set I set the Submission Policy to open, but still add some of the major customers to select from. Effective and smart. I often experience that open submission are really effective, and when the end user adopt the method to add records they will contribute a lot, and I find seldom typos in these scenarios. –It is also very easy to do, since you add them via Word properties or in Off365. The correct buzzword for this is Folksonomy.

clip_image016

After the term set taxonomy are all set,
we continue with the Site Columns. Site columns is an equal important part to the whole taxonomy as the Term store. While the term store is great on many features –like navigation, cross site references. Site Columns are end user friendly formatted and very flexible. This together with term sets is a match made in heaven J

Navigate inside Site settings –select Site columns

clip_image018

For my document I create a Site Column named Choice, I already have a group called “ESPC 14 Columns” If this is your first Site Column, then you create your group, and add the rest of the site columns in this group.

clip_image020

clip_image022

Picture; I formatted this site column as a choise menu, displayed using drop-down menu. There is a lot of other formats and display types, be creative!

I continue creating two more site columns that use the terms I created in the Term Store manager for Doc-type and Customers.

clip_image024
Picture; Here I create a site column for Doc-type and use managed metadata

clip_image026

Picture; Searching for term sets is a nice feature when you have many term sets, and navigation might be tedious.

I now have three site columns, two connected to the term store, and one that is a choice column.

Let’s start creating a site content type template to host these columns.
In site settings, click Site content types.
clip_image028

Create a new Site Content Type:

clip_image030

Picture; Provide a good description for the content type, for a normal Office template like Word, Excel, PPT. Select parent type “Document Content Types” and parent content type “Document”. Group the templates, since this was my first template I can create the group from this view.

Save the form, open it again to add the site columns from the link “Add from existing site columns”

clip_image032

Picture; add the site columns we created in the Site Content Type.

clip_image034
Picture; grouping the columns and templates make it easy to find and select the correct columns to use.

Next step is to add a template, do this from the advanced settings in the content type
clip_image036

From advanced settings browse for a template, NB! The template must be in the .dotx format (word template). At this point I presume you already have a template, if not you find many nice templates at office.com.
clip_image038

Then it is time to add the template in a document library.
Go to library settings in the documents library in Document Center. Click the “Add from existing site content types”, locate the Contract template.
clip_image040

Picture; if you don’t see the option “Add from existing site content types” inside the library settings, you need to activate it in the advanced library settings link.

Now it’s time to do some magic J -start up the template:

clip_image041

Save the document to a local folder on your computer. This document contains the Site Columns including the managed metadata as quick parts all ready to be inserted anywhere, or as many times as you like inside the document.
clip_image043
Picture; Document property contains the Site Columns we created and added in the template. Use this as many times as you like, anywhere in the document.
clip_image045
Picture; I use the Site Columns in header, headings, body, footer or simply anywhere as many times as I need inside the document. I can also set a fixed value like public sector for the doc-type, a-haa this gives me the flexibility to set different standard values in different templates, like one contract type for the private sector and another one for the public. Nice! J

All set with the template, I simply just upload it to the Site Content Type “Contract” and overwrite the V1 with this new version 2.

clip_image047
Picture; from the advanced settings of the Contract site content type I upload and overwrite the V1 with my new V2 contract.

Open the document from the library.

clip_image048

Fill inn data, text and save it back in the library.

clip_image050
Picture; add metadata, fill inn text and save back in to the library!

Yeah!!! Juhuuu!!! –It works J

clip_image051

Tell the users to hit the “Add to SharePoint Sites” to link these nice templates inside Word

clip_image053

Good Luck on creating more Skyrocketing Document templates!

by Thorbjørn Værp on Dec 2, 2013 at 12:38 PM

tagged:

Leave a Reply