DCSIMG
Enterprise Wiki site template vs. Wiki Library template - itaysk

Enterprise Wiki site template vs. Wiki Library template

Posted Sunday, April 15, 2012 8:00 PM by Itay Shakury

Wiki-Linking-1We all know wikis and how they work. It's a quick way to create inter-connected items of unstructured data.
SharePoint 2010 Introduces two wiki solutions that appear similar on first sight, but are actually different. In this post I will cover technical differences between the two.

First is the "Enterprise Wiki" site template. It's a template that can be used to create site collections, or sub-sites. The Enterprise Wiki site template creates a site that is dedicated to wiki content. The main component in the site is the "Pages" Library. We will explorer it later.

Second is the "Wiki Page Library" list template. This Wiki Library can host wiki pages. It can be created in any kind of site.
As a matter of fact, this Wiki Library list template is used as the default pages library in the "Team Site" site template.

According to this article on MSDN, here is a short comparison between the two:

If you want to:

Use this site template:

Encourage one-to-many communication

Team Site

Encourage many-to-many communication

Enterprise Wiki

Offer a structured exchange of information

Team Site

Enable a collaborative exchange of information

Enterprise Wiki

Insert images or files in a pages

Team Site or Enterprise Wiki

Mark pages for easier reference by tagging them with enterprise keywords

Enterprise Wiki

These are nice guidelines, but what is the real difference of each?
I am now going to go through the detailed process that I took for investigating the case. You can skip to the end if you want the summary.

Wiki Page Library

The template is part of the feature called "WebPageLibrary". In this feature, you can find the list definition at: "14\TEMPLATES\FEATURES\WebPageLibrary\ListTemlpates\WebPageLibrary.xml".
If you look at it, you'll notice that the list template id is 119, and BaseType="1", which means it is a regular document library.

If we take a look at the schema.xml file at "14\TEMPLATES\FEATURES\WebPageLibrary\WebPageLib\schema.xml", we will see that the template associates a content type with ID 0x010108 to the library. This content type is called "WikiDocument", and is defined in: "14\TEMPLATES\FEATURES\ctypes\ctypeswss.xml". It inherits from the base "Document" content type, does 2 things: Add the "WikiField", and remove the "Title" field.
The "WikiField" field is what holds the content of the page.

Enterpries Wiki

This is an entierly different beast. First of all, it's a site definition. You will find the "Enterprise Wiki" site definition at 14\TEMPLATE\1033\XML\webtempsps.xml. Let's take a closer look at it.
The site definition onet.xml file is at: 14\TEMPLATE\SiteTemplates\ENTERWIKI\XML\onet.xml. In here, we can see that this is actually a publishing site (publishing features, such as "Publishing 22A9EF51-737B-4ff2-9346-694633FE4416" are activated).

In addition to the standatd pablishing features, there's an additional feature with id "76D688AD-C16E-4cec-9B71-7B7F0D79B9CD". This is the EnterpriseWiki feature, you can find it's source at: 14\TEMPALTE\FEATURES\EnterpriseWiki.

If you take a look at EnterpriseWikiContentTypeBinding.xml, you will see that the feature takes the default pages library that is created with the publishing infrastructure, and binds to it 2 content types. One is the standard Redirect Page content type, and the other is the Enterprise Wiki content type.
The Enterprise Wiki content type is defined at: 14\TEMPALTE\FEATURES\EnterpriseWikiContentTypes, and defines the following fields: ModifiedBy, PublishingPageContent, Rating, RatingCount.

If we take a look at the page layout at: 14\TEMPALTE\FEATURES\EnterpriseWikiLayouts\PageLayouts\EnterpriseWiki.aspx, we will see that the field that holds the content of the page is "PublishingPageContent". This field is just like the "WikiField" field that we discussed earlier.

Rendering

Handling wiki style markup is integrated into SharePoint foundation. From what I have found, it seems that the translation from wiki syntax to html is done in the field level (not UI control). The class "SPFieldMultilineText" has a property called "WikiLinking" (boolean), that toggles the feature on or off.
For publishing pages, the "HtmlField" inherits indirectly from SPFieldMultilineText, so it supports this too.

You can use this feature with regular publishing pages as well (not nessicarely wiki page layouts).
If you look at the source of a publishing page you will see a line similar to this: document.getElementById('ctl00_PlaceHolderMain_PageContent_RichHtmlField_displayContent').WikiLinking = 'on';
This controls whether or not the wiki syntax translation is active.

Summary

SharePoint has different 2 solutions for wiki style editing:

1. Wiki Library - a web pages library that uses the "Wiki Document" content type. This content type has a field called "WikiField" to hold the wiki content.

2. Enterprise Wiki - a site definition that is based on the publishing infrustructure. As such, it is based on the built in "Pages" library. It uses a content type called "Enterprise Wiki", in which the field "PublishingPageContent" is used to hold wiki content.

This knowledge can be helpful if you are developing solutions that are usign the wiki features programmatically.

 

-- My name is Itay Shakury, and I'm a SharePoint consultant --

תגים:,

Comments

# Enterprise Wiki site template vs. Wiki Library template – itaysk « i1 WP Wiki

Pingback from  Enterprise Wiki site template vs. Wiki Library template – itaysk «  i1 WP Wiki

# re: Enterprise Wiki site template vs. Wiki Library template

Wednesday, June 20, 2012 12:00 AM by Brian

Hi Itay, Can you provide a comparison between an Enterprise Wiki and a Wiki Page Library from a user's point of view?  What extra features does an enterprise/user get from an Enterprise Wiki that they don't get from a Wiki Page Library?  And does a Wiki Page Library offer anything that an Enterprise Wiki doesn't?  Would a company/user be most effective using both or may it be better to choose one or the other?

Thanks, Brian

# re: Enterprise Wiki site template vs. Wiki Library template

Saturday, June 23, 2012 9:27 PM by adderceErab

[http://labor-studies.org/ buy klonopin -  - images of generic klonopin

# re: Enterprise Wiki site template vs. Wiki Library template

Sunday, June 24, 2012 1:03 AM by adderceErab

klonopin online no prescription http://labor-studies.org/ - klonopin rxlist

# re: Enterprise Wiki site template vs. Wiki Library template

Sunday, January 06, 2013 8:37 PM by Hurst

A 5 volt signal is sent from the push button on the power source to tell it when to turn on.

But with the micro level, the exact level of which those individual ink

particles do their thing, they don't care where inside the bowl of water they are. This obviously takes more hours nonetheless it hopefully brings about you receiving a fully working product just about every time.

# re: Enterprise Wiki site template vs. Wiki Library template

Thursday, January 10, 2013 10:53 PM by Tuck

Hey I know this is off topic but I was wondering if you knew of any

widgets I could add to my blog that automatically tweet my newest

twitter updates. I've been looking for a plug-in like this for quite some time and was hoping maybe you would have some experience with something like this. Please let me know if you run into anything. I truly enjoy reading your blog and I look forward to your new updates.

# re: Enterprise Wiki site template vs. Wiki Library template

Friday, January 11, 2013 1:32 AM by Sanders

I'd like to thank you for the efforts you've put in writing this blog.

I am hoping to see the same high-grade blog posts

from you in the future as well. In fact, your creative writing abilities has motivated me to get my own website

now ;)

# re: Enterprise Wiki site template vs. Wiki Library template

Saturday, January 12, 2013 5:21 AM by Hardaway

Quality content is the crucial to be a focus for the viewers to visit the web site, that's what this website is providing.

# re: Enterprise Wiki site template vs. Wiki Library template

Saturday, January 12, 2013 7:18 AM by Wing

very much unlike the Habu that was too sensitive as well as

the movement were built with a harshness to it. Also you will see that

the buttons are slightly curved up, when you need to click, you'll click considerably faster which will improve overall game play on the computer. The second and fourth with the Razer Naga mouse buttons have a high peak while using button around the right thumb.

# re: Enterprise Wiki site template vs. Wiki Library template

Saturday, January 12, 2013 8:07 AM by Chu

I was able to find good advice from your articles.

# re: Enterprise Wiki site template vs. Wiki Library template

Saturday, January 12, 2013 8:39 AM by Driver

I am actually grateful to the owner of this web page who has shared

this great article at at this time.

# re: Enterprise Wiki site template vs. Wiki Library template

Saturday, January 12, 2013 9:21 AM by Prieto

You have made some good points there. I looked

on the internet to learn more about the issue and found most people will go along with your views

on this site.

# re: Enterprise Wiki site template vs. Wiki Library template

Saturday, January 12, 2013 9:40 AM by Mesa

Appreciate this post. Let me try it out.

# re: Enterprise Wiki site template vs. Wiki Library template

Saturday, January 12, 2013 6:48 PM by Rodriguez

When I removed the inside mold­ings around a window inside our house,

1 found six old pennies. In certain applications, however, digital penetration is already exceeding 50%. Here is a test to place to all that work in government offices, that make financial decisions: 1.

# re: Enterprise Wiki site template vs. Wiki Library template

Saturday, January 12, 2013 7:35 PM by Long

Recycling electronic parts can facilitate preserve these resources and can also facilitate use less energy compared to the output

of recent components. The game showed the graphical capabilities of the Wii, and has become one with the highest-selling games ever for the Wii.

Some ofthe games are really simple which you can even play them while working inthe office.

# re: Enterprise Wiki site template vs. Wiki Library template

Monday, April 29, 2013 9:39 PM by Katz

Home improvement projects can include many different finishes, including a skip trowel texture.

At the same time, persons having IVAs, defaults, CCJs, arrears, bankruptcy

etc can also enjoy all of its facilities. They do not need insulin to control diabetes, no heart or respiratory problems, no high blood pressure, epilepsy, or any vascular problems.

# re: Enterprise Wiki site template vs. Wiki Library template

Tuesday, April 30, 2013 3:01 AM by Fielder

You can contact your local sales people for these companies and tell

them that you have been wanting to try out their

lines as opposed to what you are using now and would like

to give it a test run. The first time I stayed over at

his place I woke up in a panic. Every color

she chooses with which she works with will retain earth tone hues.

# re: Enterprise Wiki site template vs. Wiki Library template

Saturday, May 04, 2013 7:45 AM by Higgins

It's the contractor that does offer more than one line of fiberglass pools that I personally would be cautious about. You may have to spend several hours, days or even weeks, getting your child comfortable in the water. If you can't find

a fibreglass pool to meet your requirements, a concrete pool will make

the most of limited space as its walls can

be designed to form part of building structures.

# re: Enterprise Wiki site template vs. Wiki Library template

Saturday, May 04, 2013 8:26 AM by Nichols

Prepaid cards are a newer phenomenon but are quickly catching on.

A personal loan deals more with credit rating and less with the potential revenue of

a business. They make use of the personal information of

the loan applicants for illegal purposes.

# re: Enterprise Wiki site template vs. Wiki Library template

Saturday, May 04, 2013 2:18 PM by Doll

When you go there you sure will like more than one plan.

However, we're only just coming out of a devastating recession, and I think you'll find that merely asking for a discount will work 90% of the time.

Absolutely without a shadow of a doubt this will

be one of your better decisions once you have it all set

up and running.

# re: Enterprise Wiki site template vs. Wiki Library template

Saturday, May 04, 2013 4:26 PM by Underhill

The truth is often times found somewhere in the middle.

There is little argument that list building is one of the smartest things anyone marketing on the internet can do.

It means you should give them as much information as is possible in any existing way.

# re: Enterprise Wiki site template vs. Wiki Library template

Friday, May 17, 2013 2:07 AM by Farr

The nail salon industry has grown exponentially in the

last several years. You can nail down sub-flooring and even build

trusses. Indeed, the frequency of 5 to 10% of the population is an average, but

athletes, soldiers, or miners are much more exposed to this disease.

# re: Enterprise Wiki site template vs. Wiki Library template

Friday, May 17, 2013 4:22 AM by Pearson

In 1828, following the Greek War of Independence, it is Aegina that emerges as the very first capital of the

new independent Greek State. But, if you stop and think about the holidays,

you'll find that they're really no different from any other days in the year.

Words would struggle to fit the description of the interior and the museum that resides within.

Leave a Comment

(required) 
(required) 
(optional)
(required) 

Enter the numbers above: