Enterprise Wiki site template vs. Wiki Library template

15 באפריל 2012

תגיות: ,
25 תגובות

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.


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.


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 —

הוסף תגובה
facebook linkedin twitter email

כתיבת תגובה

האימייל לא יוצג באתר. שדות החובה מסומנים *

25 תגובות

  1. Brian20 ביוני 2012 ב 0:00

    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

  2. adderceErab23 ביוני 2012 ב 21:27

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

  3. adderceErab24 ביוני 2012 ב 1:03

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

  4. Hurst6 בינואר 2013 ב 20:37

    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.

  5. Tuck10 בינואר 2013 ב 22:53

    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.

  6. Sanders11 בינואר 2013 ב 1:32

    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 😉

  7. Hardaway12 בינואר 2013 ב 5:21

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

  8. Wing12 בינואר 2013 ב 7:18

    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.

  9. Chu12 בינואר 2013 ב 8:07

    I was able to find good advice from your articles.

  10. Driver12 בינואר 2013 ב 8:39

    I am actually grateful to the owner of this web page who has shared
    this great article at at this time.

  11. Prieto12 בינואר 2013 ב 9:21

    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.

  12. Mesa12 בינואר 2013 ב 9:40

    Appreciate this post. Let me try it out.

  13. Rodriguez12 בינואר 2013 ב 18:48

    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.

  14. Long12 בינואר 2013 ב 19:35

    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.

  15. Katz29 באפריל 2013 ב 21:39

    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.

  16. Fielder30 באפריל 2013 ב 3:01

    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.

  17. Higgins4 במאי 2013 ב 7:45

    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.

  18. Nichols4 במאי 2013 ב 8:26

    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.

  19. Doll4 במאי 2013 ב 14:18

    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.

  20. Underhill4 במאי 2013 ב 16:26

    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.

  21. Farr17 במאי 2013 ב 2:07

    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.

  22. Pearson17 במאי 2013 ב 4:22

    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.

  23. Curtin27 ביוני 2013 ב 12:04

    Not to mention the time away from family and friends.
    But in choosing a photographer, make sure that he
    or she has additional knowledge about real estate so that there will be no need for
    you to orient him or her. If you already have a neighborhood in mind, get one who
    is based there.

  24. Nieves7 באוגוסט 2013 ב 19:43

    You will have additional communication opportunities, increase productivity and sales.
    I do not mean that you should not respect your family and treat them with the utmost love and admiration.
    Right capabilities: Employees need to know that time invested
    in learning and usage will yield personal advantages.

  25. Gallagher18 בספטמבר 2013 ב 19:45

    The next time you do a listing presentation for selling or leasing a property, it will be that
    much more focused and directed to the needs of the customer.

    When you get the right property solutions for
    your real estate, you can sell it out to get maximum profitability.
    Don't allow these risks stop you from jumping into the real estate investing waters, just keep your eyes open as you leap.