Thursday, June 17, 2010

Provisioning a custom Wiki Page within a SharePoint 2010 Team Site

style="PADDING-BOTTOM: 10px; MARGIN: 1px 0px; PADDING-LEFT: 13px; PADDING-RIGHT: 0px; COLOR: #e9ab17; FONT-WEIGHT: bold; PADDING-TOP: 10px">Topic


style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px">I
have explained in my generic post about href="http://mosshowto.blogspot.com/2010/06/sharepoint-2010-wiki-customizing.html">Wiki
Page customization within a SharePoint 2010 Team Site
that the Wiki Page of
the Team Site are based on an unique template that cannot be customized.

However, there is a way of customizing a Wiki Page by provisioning a page in
a Wiki Library. I do not speak here to use a SharePoint 2010 Feature, but
provisioning a custom prepopulated Wiki Page as you can create a blank Wiki Page
by using the "New Page" menu item within the Site Actions menu or
the "New Wiki Page" menu item in the "New Document" menu item in a Wiki
Page Document Library.


style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px">This
process is already present in SharePoint 2010 when you create a new team site
and the product is provisioning the Home Page of the team site or when you
create an new Wiki Library and the product is provisioning the Welcome Page
that is pre populated with explanation about the Wiki Libraries.


style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px">As
a picture is worth than long explanations, here is that I propose to show in
this post:

Imgine a new Wiki Page Library where you could find a "Custom
Wiki Page" button in the "New" group of the SharePoint 2010
Ribbon. 



style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px">



style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px">Then,
when clicking on this button, a custom dialog, redesigned, would invite you to
create a custom Wiki Page.


style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px">






style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px">When
having typed the title and submited the dialog, you would be redirected to your
new Custom Wiki page prepopulated with the typed title of the page, plus
your name and your photo.


style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px">




style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px">Much
more! When editing the page, you would notice a new Text Layout, that is not
provided by the default SharePoint 2010 Text Layout menu items.


style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px">




style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px">Of
course the page could be Saved properly...


style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px">



style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px"> 


style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px">To
be able to mount such a solution, several steps has to be performed:


    style="MARGIN-TOP: 5px; FONT-FAMILY: arial; MARGIN-BOTTOM: 5px; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal">
  1. First you have to create a new Button within the SharePoint 2010 Ribbon.
  2. Second, you need to create the custom application page that will provision
    the custom Wiki Page in this custom Document Library

style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px">
So
let us do all this now... but before some little explanations about Content Types
for the Team Site Wiki Pages Library are to be provided


style="PADDING-BOTTOM: 10px; MARGIN: 1px 0px; PADDING-LEFT: 13px; PADDING-RIGHT: 0px; COLOR: #e9ab17; FONT-WEIGHT: bold; PADDING-TOP: 10px">1
- You CANNOT add Content Types to a Team Site Wiki Library


style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px">Now
that you have seen what I wanted to do, you might be thinking "wait a minute,
why he has not created a new content type for his custom wiki page so as the
"New"  menu of the Wiki Library will be automatically populated with an
item to create a custom page?".


style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px">I
tried, tried very much, but as I discovered a first limitation of the Team Site
Wiki Library that does not allow them to create pages based on several
templates, I have now discovered that you cannot add new content types to a Team
Site Wiki Library.


style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px">When
you try to add a content type to a Wiki Library you may be surprised because, by
default, a Wiki Library is not configured to support Content Types. It is normal
since the original goal is not to create other document than a native SharePoint
2010 Wiki Page for a Team Site. Here is an excerpt of the Microsoft
documentation on the topic (href="http://msdn.microsoft.com/en-us/library/aa543576.aspx">How to: Add a
Content Type to a List
):


style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px">[...
Before
you can add a content type to a list definition, you must be sure that the list
is configured to support content types. The first thing to check is the template
from which the list instance is created. If the id=ctl00_MTCS_main_ctl32_ctl00_ctl00
onclick="javascript:Track('ctl00_MTCS_main_ctl32_ctl00_contenthere|ctl00_MTCS_main_ctl32_ctl00_ctl00',this);"
href="http://msdn.microsoft.com/en-us/library/ms462947.aspx">color=#0033cc>ListTemplate
element has an attribute named class=input>DisallowContentTypes and the
attribute is set to TRUE,
then the list does not support content types. If the attribute is set to
FALSE or is missing, then
the list does support content types.


style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px">The
next thing to check is whether content types are enabled on the list instance.
The Schema.xml file that defines the list instance has a id=ctl00_MTCS_main_ctl32_ctl00_ctl01
onclick="javascript:Track('ctl00_MTCS_main_ctl32_ctl00_contenthere|ctl00_MTCS_main_ctl32_ctl00_ctl01',this);"
href="http://msdn.microsoft.com/en-us/library/ms415091.aspx">color=#0033cc>List
element. This element must include an attribute
named EnableContentTypes,
and the attribute must be set to class=input>TRUE. Setting the attribute to
TRUE is equivalent to
selecting face="Segoe UI">Yes under face="Segoe UI">Allow management of content types? in the
Advanced
Settings
section of face="Segoe UI">List Settings.
..]


style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px">So
first, I tried to  to created a new Custom Wiki Library  with a new
type and changed the schema configuration, then created a new Wiki Page Content
Type and added it to the library, and it worked, this new library accepted a new
Wiki Page content type, and I had a new menu entry in my New Document menu :
Wiki Custom Page - Create a new wiki page.


style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px">




style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px">
But
just after that, when trying to create the page, it failed, and I had the
following error message : "You cannot create a Wiki Page in a Library that is
not a Wiki Library".


style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px">Ok,
then I tried to create a custom Wiki Page library with the same type (119),
even if it is idiot, since we cannot see the difference after and that
time, although I had configured and test several times the configuration, the
library just did not show the UI entries corresponding to the possibility
to add new Content Types.
So, the conclusion is the following:


style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px">You
cannot add new Content Types to the Team Site Wiki Page Libraries in
SharePoint 2010.
You cannot create Wiki Pages in a custom Team Site Wiki
Page Library.


style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px">Ok,
no trouble then, I will create my custom pages from a new button within the
Ribbon. ( I also tried many hours to add a new entry in the New Document menu
using a Custom Action feature, even tried to create first a new section in the
menu, but no way. If somebody finds it, let me know...)


style="PADDING-BOTTOM: 10px; MARGIN: 1px 0px; PADDING-LEFT: 13px; PADDING-RIGHT: 0px; COLOR: #e9ab17; FONT-WEIGHT: bold; PADDING-TOP: 10px">2
- Creating a "New Document" custom button in the Ribbon


style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px">
There
is a lot of documentation now on the Internet about how to create a custom
button in SharePoint 2010 so here is just the code and a few comments:


style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px">

class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US><?
style="FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>xml
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>
style="FONT-FAMILY: 'Courier New'; COLOR: red; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>version
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>=
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>"1.0"
encodingstyle="COLOR: blue">="utf-8"style="COLOR: blue">?>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US><
style="FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>Feature
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>
style="FONT-FAMILY: 'Courier New'; COLOR: red; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>xmlns
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>=
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>"style="COLOR: blue">http://schemas.microsoft.com/sharepoint/"


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
style="FONT-FAMILY: 'Courier New'; COLOR: red; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>Id
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>=
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>"style="COLOR: blue">afe52f83-a20e-42d4-8aa7-35d8c5fdfc50"


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
style="FONT-FAMILY: 'Courier New'; COLOR: red; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>Title
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>=
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>"Ribbon New
Button
"


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
style="FONT-FAMILY: 'Courier New'; COLOR: red; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>Scope
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>=
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>"Web"


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
style="FONT-FAMILY: 'Courier New'; COLOR: red; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>Description
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>=
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>"Add a new menu button to a Wiki Page
Library to provision custom Wiki Pages
"


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt">>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt">


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt">style="mso-tab-count: 1">      
<
style="FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 9pt">ElementManifestsstyle="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt">>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt">


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt">style="mso-tab-count: 2">            
<
style="FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 9pt">ElementManifeststyle="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt"> style="FONT-FAMILY: 'Courier New'; COLOR: red; FONT-SIZE: 9pt">Locationstyle="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt">=style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt">"style="COLOR: blue">newButton.xml"style="COLOR: blue">/>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt">style="mso-tab-count: 1">      
</
style="FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 9pt">ElementManifestsstyle="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt">>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt">


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt"></style="FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 9pt">Featurestyle="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt"> 


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt"> 


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt"><?style="FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 9pt">xmlstyle="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt"> style="FONT-FAMILY: 'Courier New'; COLOR: red; FONT-SIZE: 9pt">versionstyle="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt">=style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt">"style="COLOR: blue">1.0" style="COLOR: red">encoding="style="COLOR: blue">utf-8"style="COLOR: blue">?>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt"><style="FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 9pt">Elementsstyle="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt"> style="FONT-FAMILY: 'Courier New'; COLOR: red; FONT-SIZE: 9pt">xmlnsstyle="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt">=style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt">"style="COLOR: blue">http://schemas.microsoft.com/sharepoint/"style="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt">style="mso-tab-count: 1">      
<
style="FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 9pt">CustomActionstyle="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt">


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt">style="mso-tab-count: 2">            
style="FONT-FAMILY: 'Courier New'; COLOR: red; FONT-SIZE: 9pt">Idstyle="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt">=style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt">"style="COLOR: blue">Ribbon.Library.Actions.AddAButton"


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt">style="mso-tab-count: 2">            
style="FONT-FAMILY: 'Courier New'; COLOR: red; FONT-SIZE: 9pt">RegistrationIdstyle="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt">=style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt">"style="COLOR: blue">119"


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt">style="mso-tab-count: 2">            
style="FONT-FAMILY: 'Courier New'; COLOR: red; FONT-SIZE: 9pt">RegistrationTypestyle="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt">=style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt">"style="COLOR: blue">List"


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt">style="mso-tab-count: 2">            
style="FONT-FAMILY: 'Courier New'; COLOR: red; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>Location
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>=
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>"style="COLOR: blue">CommandUI.Ribbon"


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-tab-count: 2">            
style="FONT-FAMILY: 'Courier New'; COLOR: red; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>Sequence
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>=
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>"5"


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-tab-count: 2">            
style="FONT-FAMILY: 'Courier New'; COLOR: red; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>Title
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>=
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>"New Custom Wiki Page"style="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-tab-count: 2">            
<
style="FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>CommandUIExtension
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>>
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-tab-count: 3">                   
<
style="FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>CommandUIDefinitions
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>>
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-tab-count: 4">                          
<
style="FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>CommandUIDefinition
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>
style="FONT-FAMILY: 'Courier New'; COLOR: red; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>Location
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>=
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>"style="COLOR: blue">Ribbon.Documents.New.Controls._children"style="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-tab-count: 6">                                       
<
style="FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>Button
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-tab-count: 6">                                       
style="FONT-FAMILY: 'Courier New'; COLOR: red; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>Id
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>=
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>"style="COLOR: blue">Ribbon.Documents.New.NewCustomWikiPage"


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-tab-count: 6">                                       
style="FONT-FAMILY: 'Courier New'; COLOR: red; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>Alt
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>=
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>"Add a Custom Wiki
Page
"


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-tab-count: 6">                                       
style="FONT-FAMILY: 'Courier New'; COLOR: red; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>Sequence
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>=
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>"5"


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-tab-count: 6">                                       
style="FONT-FAMILY: 'Courier New'; COLOR: red; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>Command
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>=
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>"style="COLOR: blue">CreateCustomWikiPage"


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-tab-count: 5">                                 
      
style="FONT-FAMILY: 'Courier New'; COLOR: red; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>Image16by16
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>=
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>"style="COLOR: blue">/_layouts/$Resources:core,Language;/images/formatmap16x16.png"style="COLOR: blue"> Image16by16Topstyle="COLOR: blue">="-48"style="COLOR: blue"> Image16by16Leftstyle="COLOR: blue">="style="COLOR: blue">-16"


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-tab-count: 5">                                 
      
style="FONT-FAMILY: 'Courier New'; COLOR: red; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>Image32by32
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>=
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>"style="COLOR: blue">/_layouts/$Resources:core,Language;/images/formatmap32x32.png"style="COLOR: blue"> Image32by32Topstyle="COLOR: blue">="0"style="COLOR: blue"> Image32by32Leftstyle="COLOR: blue">="style="COLOR: blue">-64"


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-tab-count: 6">                                       
style="FONT-FAMILY: 'Courier New'; COLOR: red; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>LabelText
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>=
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>"Custom Wiki
Page
"


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-tab-count: 6">                                       
style="FONT-FAMILY: 'Courier New'; COLOR: red; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>Description
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>=
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>"Create a new Custom Wiki
Page
"


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-tab-count: 6">                                       
style="FONT-FAMILY: 'Courier New'; COLOR: red; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>TemplateAlias
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>=
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>"o1"


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-tab-count: 6">                                       
/>
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-tab-count: 4">                          
</
style="FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>CommandUIDefinition
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>>
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-tab-count: 3">                   
</
style="FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>CommandUIDefinitions
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>>
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-tab-count: 3">                   
<
style="FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>CommandUIHandlers
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>>
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-tab-count: 4">                          
<
style="FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>CommandUIHandler
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-tab-count: 3">                   
 
style="FONT-FAMILY: 'Courier New'; COLOR: red; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>Command
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>=
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>"style="COLOR: blue">CreateCustomWikiPage"


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-tab-count: 3">                   
 
style="FONT-FAMILY: 'Courier New'; COLOR: red; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>CommandAction
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>=
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>"style="COLOR: blue">javascript:OpenCreateWebPageDialog('/_layouts/createCustomWebPage.aspx?List={ListId}');"style="COLOR: blue"> />


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-tab-count: 3">                   
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt"></style="FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 9pt">CommandUIHandlersstyle="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt">>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt">


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt">style="mso-tab-count: 2">            
</
style="FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 9pt">CommandUIExtensionstyle="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt">>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt">


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt">style="mso-tab-count: 1">      
</
style="FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 9pt">CustomActionstyle="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt">>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt">


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt"></style="FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 9pt">Elementsstyle="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt">>


face=Calibri> 



style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px"> You
can notice that you have to specify the type of the library in the
RegistrationId, so don not mistake when creating a button for a library.
And
a fantastic thing is that JavaScript supports the old syntax for the parameter:
{ListId}
Do not forget the quotes in the javaScript method.


style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px">Now,
very important, how to know if the component installtion has worked or failed.


style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px">First, as
you maybe know, you can also add an item to the Ribbon by using a Web Part. So if you check the
html source code of the page, you will see this Web Part that shows the parameters of the native Sharepoint configuration for the Ribbon. You can check this parameters as an example if you want to create a custom control later within the Ribbon.


style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px">




style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px">



style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px">But if you want to check the installation of a custom control,
there will be also available javascript code to be checked, within the dataExtension, and
the Command UI Handler objects in json format. If you see them, it will be the
confirmation that the installation is successful, and you will also be able to
check that the parameters are correct, if something is going wrong:


style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px">




style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px">




style="PADDING-BOTTOM: 10px; MARGIN: 1px 0px; PADDING-LEFT: 13px; PADDING-RIGHT: 0px; COLOR: #e9ab17; FONT-WEIGHT: bold; PADDING-TOP: 10px">3 -
Provisioning the Team Site Wiki Page 


class=SYN_TXT> 

style="PADDING-BOTTOM: 10px; MARGIN: 1px 0px; PADDING-LEFT: 26px; COLOR: #e9ab17; FONT-WEIGHT: normal; PADDING-TOP: 10px">3.1
Implementing the custom Web part


style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px">So
as the goal of our tutorial was to prepopulate a Wiki Page with some text and a
Web Part that can retrieve the name and the picture of the author, let us first
implement the Web Part.


style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px">I
called the assembly MyCompany.Frameworks.SharePoint
I have created a folder
to add a WebParts part to the namespace
And the first Web Part of this
framework is called GetAuthorInfo


style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px">




style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px"> 


style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px">

class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>using
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> System;


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>using
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> System.Linq;


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>using
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> System.Runtime.InteropServices;


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>using
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> System.Web.UI.WebControls;


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>using
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> System.Web.UI.WebControls.WebParts;


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>using
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> Microsoft.SharePoint;


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> 


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> 


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>namespace
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> MyCompany.Frameworks.SharePoint.WebParts


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>{


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>    [style="COLOR: #2b91af">Guid(style="COLOR: #a31515">"5aa223b6-fd04-48c1-83e6-9531bf45ef19")]


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>    style="COLOR: blue">public class style="COLOR: #2b91af">GetAuthorInfo :
System.Web.UI.WebControls.WebParts.style="COLOR: #2b91af">WebPart


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>   
{


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
protected style="COLOR: blue">override void
CreateChildControls()


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
{


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">           
style="COLOR: blue">base.CreateChildControls();


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> 


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">           
string HtmlOutput = style="COLOR: blue">string.Empty, pictureUrl ;


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> 


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">           
Label label = style="COLOR: blue">new style="COLOR: #2b91af">Label();


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">           
SPWeb myWeb = style="COLOR: #2b91af">SPContext.Current.Web;


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">           
SPList myUserInfo = style="COLOR: blue">null;


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> 


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">           
string author = style="COLOR: #2b91af">SPContext.Current.Item[style="COLOR: #a31515">"Created By"].ToString();


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">           
author = author.Split(new style="COLOR: #2b91af">Char[] { '#'
})[1].ToLower();


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">           
HtmlOutput += "Author: " +
author;


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> 


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">           
myUserInfo = myWeb.Site.RootWeb.Lists["User
Information List"
];


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">           
var results =
myUserInfo.Items.Cast<style="COLOR: #2b91af">SPListItem>().Where(item => Equals(style="COLOR: blue">string.Compare(item[style="COLOR: #a31515">"Name"].ToString(), author, style="COLOR: blue">true), style="COLOR: brown">0));


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> 


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">           
if (results.Count() > style="COLOR: brown">0)


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">           
{


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">               
pictureUrl = results.First<style="COLOR: #2b91af">SPListItem>()[style="COLOR: #a31515">"Picture"].ToString().Split(style="COLOR: blue">new Char[] {
',' })[style="COLOR: brown">0];


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">               
HtmlOutput += "<br/><br/><img
src='"
+ pictureUrl + "'
/>"
;


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
style="mso-spacerun: yes">    }


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> 


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">           
label.Text = HtmlOutput;


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> 


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">           
style="COLOR: blue">this.Controls.Add(label);


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt">}


class=MsoNormal>style="mso-spacerun: yes">    }


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt">}


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt"> 


face=Calibri> 


style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px">notice
that if you want the previous code works on SharePoint 2010 you have to
configure it for Linq and I have a post for a minimal configuration :


style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px">href="http://mosshowto.blogspot.com/2009/04/linq-sharepoint-configuration-minimal.html">Use
Linq inside a Script Block of an Application Page - SharePoint minimal
configuration for Linq


style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px">Until
now except some minor differences with SharePoint 2007, we were in a known land,
it is now that it becomes interesting since we are going to discover the
SharePoint 2010 wiki pages content new syntax.


style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px"> So
I will give soon the code of the custom SharePoint 2010 dialog and inside the in
line script code to provision the Wiki Page. But before, some indications:


style="PADDING-BOTTOM: 10px; MARGIN: 1px 0px; PADDING-LEFT: 26px; COLOR: #e9ab17; FONT-WEIGHT: normal; PADDING-TOP: 10px">3.2 -
to create a wiki page file and get the SPListItem corresponding to the
file:


style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px">face="Courier New">SPListItem listItem =
files.Add(strUrl, color=#2b91af>SPTemplateFileType.WikiPage).GetListItem(color=#0000ff>new
color=#0000ff>string[] { color=#a31515>"WikiField"size=1> });
size=2>face="Courier New">


style="PADDING-BOTTOM: 10px; MARGIN: 1px 0px; PADDING-LEFT: 26px; COLOR: #e9ab17; FONT-WEIGHT: normal; PADDING-TOP: 10px">
3.3 -
to add some content to a wiki page programmatically:


style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px">listItem[color=#a31515 face="Courier New">color=#a31515 size=2 face="Courier New">"WikiField"size=1 face="Courier New">] =
content;

listItem.UpdateOverwriteVersion();
size=1 face="Courier New">



style="PADDING-BOTTOM: 10px; MARGIN: 1px 0px; PADDING-LEFT: 26px; COLOR: #e9ab17; FONT-WEIGHT: normal; PADDING-TOP: 10px">3.4 -
to add a Web part within this content:


style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px">
 Give
it a storageKey
 add it to the Web part manager


style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px"> then
use this syntax to place it within the Wiki page content, based on the storage
key



face="Courier New">

string
face="Courier New"> str3 =
face="Courier New">face="Courier New">stringcolor=#000000 face="Courier New">.Format(face="Courier New">face="Courier New">CultureInfoface="Courier New">.InvariantCulture,
face="Courier New">"<div
class=\"ms-rtestate-read ms-rte-wpbox\" contentEditable=\"false\"><div
class=\"ms-rtestate-read {0}\" id=\"div_{0}\"></div><div
style='display:none' id=\"vid_{0}\"/></div>"
face="Courier New">, color=#0000ff face="Courier New">color=#0000ff face="Courier New">newface="Courier New"> color=#0000ff face="Courier New">color=#0000ff face="Courier New">objectface="Courier New">[] {
storageKey.ToString(
color=#a31515 face="Courier New">face="Courier New">"D"
face="Courier New">)
});

 


style="PADDING-BOTTOM: 10px; MARGIN: 1px 0px; PADDING-LEFT: 26px; COLOR: #e9ab17; FONT-WEIGHT: normal; PADDING-TOP: 10px">3.5 -
Structure of the text layout:


style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px">This
is the html to store in WikiField field of the WikiPage SPListItem if you want
to obtain the same page than this tutorial.


style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px"> Notice
the nested DIV with the size=2>ms-rte-layoutszone-outer and the color=#0000ff>ms-rte-layoutszone-inner classes. and the color=#0000ff size=2><color=#a31515 size=2>spancolor=#000000 size=2> size=2>idsize=2>="layoutsData" color=#ff0000 size=2>stylecolor=#0000ff size=2>="color=#ff0000 size=2>displaycolor=#000000 size=2>: size=2>none">size=2>true,false,2size=2></size=2>spansize=2>>


style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px"> that
is corresponding to the structure (I think the integer is the number of rows),
but I have not any clue about the boolean. I had to set the second to false
if not my page could not be saved! If somebody finds information about it,
let me know...


style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px">

class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US><
style="FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>table
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US> idstyle="COLOR: blue">="layoutsTable" style="COLOR: red">style="style="COLOR: red">width: style="COLOR: blue">100%">


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>    style="COLOR: blue"><tbodystyle="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>style="mso-spacerun: yes">       
<style="COLOR: #a31515">tr stylestyle="COLOR: blue">="vertical-align:
top">


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>style="mso-spacerun: yes">           
<style="COLOR: #a31515">td stylestyle="COLOR: blue">="width: style="COLOR: blue">100%">


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>style="mso-spacerun: yes">               
<style="COLOR: #a31515">div classstyle="COLOR: blue">="ms-rte-layoutszone-outer" style="COLOR: red">style="style="COLOR: red">width: style="COLOR: blue">100%">


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>style="mso-spacerun: yes">                   
<style="COLOR: #a31515">div classstyle="COLOR: blue">="ms-rte-layoutszone-inner" style="COLOR: red">style="style="COLOR: red">min-height: 60px;
word-wrap: style="COLOR: blue">break-word">


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>style="mso-spacerun: yes">                       
<style="COLOR: #a31515">h1 classstyle="COLOR: blue">="ms-rteElement-H1B" style="COLOR: red">style="style="COLOR: red">margin-bottom: style="COLOR: blue">0px;style="COLOR: blue">">


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>style="mso-spacerun: yes">                           
<style="COLOR: #a31515">span><style="COLOR: #a31515">span>Wiki 1
</style="COLOR: #a31515">spanstyle="COLOR: blue">></style="COLOR: #a31515">spanstyle="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>style="mso-spacerun: yes">                       
</style="COLOR: #a31515">h1style="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>style="mso-spacerun: yes">                       
<style="COLOR: #a31515">pstyle="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>style="mso-spacerun: yes">                           
&#160;style="COLOR: blue"></pstyle="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>style="mso-spacerun: yes">                       
<style="COLOR: #a31515">pstyle="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>style="mso-spacerun: yes">                           
&#160;style="COLOR: blue"></pstyle="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>style="mso-spacerun: yes">                       
<style="COLOR: #a31515">pstyle="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>  style="mso-spacerun: yes">                          style="COLOR: red">&#160;</style="COLOR: #a31515">pstyle="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>style="mso-spacerun: yes">                   
</style="COLOR: #a31515">divstyle="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>style="mso-spacerun: yes">               
</style="COLOR: #a31515">divstyle="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>style="mso-spacerun: yes">           
</style="COLOR: #a31515">tdstyle="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>style="mso-spacerun: yes">       
</style="COLOR: #a31515">trstyle="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>style="mso-spacerun: yes">       
<style="COLOR: #a31515">tr stylestyle="COLOR: blue">="vertical-align:
top">


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>style="mso-spacerun: yes">           
<style="COLOR: #a31515">td stylestyle="COLOR: blue">="width: style="COLOR: blue">100%">


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>style="mso-spacerun: yes">               
<style="COLOR: #a31515">div classstyle="COLOR: blue">="ms-rte-layoutszone-outer" style="COLOR: red">style="style="COLOR: red">width: style="COLOR: blue">100%">


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>style="mso-spacerun: yes">                   
<style="COLOR: #a31515">div classstyle="COLOR: blue">="ms-rte-layoutszone-inner" style="COLOR: red">style="style="COLOR: red">min-height: 60px;
word-wrap: style="COLOR: blue">break-word">


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>style="mso-spacerun: yes">                       
<style="COLOR: #a31515">pstyle="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>style="mso-spacerun: yes">                           
&#160;style="COLOR: blue"></pstyle="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>style="mso-spacerun: yes">                       
<style="COLOR: #a31515">pstyle="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>style="mso-spacerun: yes">                       
</style="COLOR: #a31515">pstyle="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>style="mso-spacerun: yes">                       
<style="COLOR: #a31515">pstyle="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>style="mso-spacerun: yes">                           
&#160;style="COLOR: blue"></pstyle="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>style="mso-spacerun: yes">                       
<style="COLOR: #a31515">pstyle="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>style="mso-spacerun: yes">                           
&#160;style="COLOR: blue"></pstyle="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>style="mso-spacerun: yes">                       
<style="COLOR: #a31515">pstyle="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>style="mso-spacerun: yes">                           
&#160;style="COLOR: blue"></pstyle="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>style="mso-spacerun: yes">                       
<style="COLOR: #a31515">pstyle="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>style="mso-spacerun: yes">                          
 style="COLOR: red">&#160;</style="COLOR: #a31515">pstyle="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>style="mso-spacerun: yes">                       
<style="COLOR: #a31515">div classstyle="COLOR: blue">="ms-rtestate-read ms-rte-wpbox" style="COLOR: red">contenteditablestyle="COLOR: blue">="false">


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>style="mso-spacerun: yes">                           
<style="COLOR: #a31515">div classstyle="COLOR: blue">="ms-rtestate-read
ae26f6c9-8cf4-438c-8a38-26cd309d0ec6"
style="COLOR: red">idstyle="COLOR: blue">="div_ae26f6c9-8cf4-438c-8a38-26cd309d0ec6">


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>style="mso-spacerun: yes">         
style="mso-spacerun: yes">                  style="COLOR: blue"></divstyle="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>style="mso-spacerun: yes">                           
<style="COLOR: #a31515">div stylestyle="COLOR: blue">='display: style="COLOR: blue">none' idstyle="COLOR: blue">="vid_ae26f6c9-8cf4-438c-8a38-26cd309d0ec6" style="COLOR: blue">/>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>style="mso-spacerun: yes">                       
</style="COLOR: #a31515">divstyle="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>style="mso-spacerun: yes">                       
<style="COLOR: #a31515">pstyle="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>style="mso-spacerun: yes">                           
&#160;style="COLOR: blue"></pstyle="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>style="mso-spacerun: yes">                   
</style="COLOR: #a31515">divstyle="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>style="mso-spacerun: yes">               
</style="COLOR: #a31515">divstyle="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>style="mso-spacerun: yes">           
</style="COLOR: #a31515">tdstyle="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>style="mso-spacerun: yes">       
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-no-proof: yes"></style="FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 9pt; mso-no-proof: yes">trstyle="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-no-proof: yes">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes">style="mso-spacerun: yes">    style="COLOR: blue"></tbodystyle="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-no-proof: yes"></style="FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 9pt; mso-no-proof: yes">tablestyle="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-no-proof: yes">>


style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US><
style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US>span
style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US; mso-no-proof: yes"
lang=EN-US> idstyle="COLOR: blue">="layoutsData" style="COLOR: red">style="style="COLOR: red">display: style="COLOR: blue">none">true,false,2style="COLOR: blue"></spanstyle="COLOR: blue">>



style="PADDING-BOTTOM: 10px; MARGIN: 1px 0px; PADDING-LEFT: 26px; COLOR: #e9ab17; FONT-WEIGHT: normal; PADDING-TOP: 10px"> 3.6 -
To close the dialog and be redirected to the provisioned page


style="TEXT-ALIGN: justify; PADDING-BOTTOM: 18px; MARGIN: 1px 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 5px; FONT-FAMILY: arial; COLOR: gray; FONT-SIZE: 10pt; FONT-WEIGHT: normal; PADDING-TOP: 5px"> size=1 face="Courier New">size=2>window.frameElement.navigateParent(ProvisionedPageUrl);


style="PADDING-BOTTOM: 10px; MARGIN: 1px 0px; PADDING-LEFT: 13px; PADDING-RIGHT: 0px; COLOR: #e9ab17; FONT-WEIGHT: bold; PADDING-TOP: 10px"> 4
- Code of the all dialog page (createCustomWebpage.aspx)


 



class=MsoNormal>style="FONT-FAMILY: 'Courier New'; BACKGROUND: yellow; FONT-SIZE: 9pt; mso-highlight: yellow"><%style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt">@style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt"> style="COLOR: maroon">Page Languagestyle="COLOR: blue">="C#" style="COLOR: red">AutoEventWireupstyle="COLOR: blue">="true" Inheritsstyle="COLOR: blue">="Microsoft.SharePoint.WebControls.LayoutsPageBase"prefix = o ns = "urn:schemas-microsoft-com:office:office"
/>


class=MsoNormal>style="mso-spacerun: yes">    style="COLOR: red">DynamicMasterPageFilestyle="COLOR: blue">="~masterurl/default.master" style="BACKGROUND: yellow; mso-highlight: yellow">%>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt"> 


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; BACKGROUND: yellow; FONT-SIZE: 9pt; mso-highlight: yellow; mso-ansi-language: EN-US"
lang=EN-US><%
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>@
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> Assembly style="COLOR: red">Name="Microsoft.SharePoint,
Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
style="BACKGROUND: yellow; mso-highlight: yellow">%>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; BACKGROUND: yellow; FONT-SIZE: 9pt; mso-highlight: yellow; mso-ansi-language: EN-US"
lang=EN-US><%
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>@
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> Assembly style="COLOR: red">Namestyle="COLOR: blue">="MyCompany.Frameworks.SharePoint, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=11b701f527101e0f"
style="BACKGROUND: yellow; mso-highlight: yellow">%>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; BACKGROUND: yellow; FONT-SIZE: 9pt; mso-highlight: yellow; mso-ansi-language: EN-US"
lang=EN-US><%
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>@
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> Register style="COLOR: red">TagPrefixstyle="COLOR: blue">="SharePoint" style="COLOR: red">Namespacestyle="COLOR: blue">="Microsoft.SharePoint.WebControls"


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>    style="COLOR: red">Assemblystyle="COLOR: blue">="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral,
PublicKeyToken=71e9bce111e9429c"
style="BACKGROUND: yellow; mso-highlight: yellow">%>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; BACKGROUND: yellow; FONT-SIZE: 9pt; mso-highlight: yellow; mso-ansi-language: EN-US"
lang=EN-US><%
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>@
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> Import style="COLOR: red">Namespacestyle="COLOR: blue">="Microsoft.SharePoint" style="BACKGROUND: yellow; mso-highlight: yellow">%>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; BACKGROUND: yellow; FONT-SIZE: 9pt; mso-highlight: yellow; mso-ansi-language: EN-US"
lang=EN-US><%
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>@
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> Import style="COLOR: red">Namespacestyle="COLOR: blue">="System.Text" style="BACKGROUND: yellow; mso-highlight: yellow">%>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; BACKGROUND: yellow; FONT-SIZE: 9pt; mso-highlight: yellow; mso-ansi-language: EN-US"
lang=EN-US><%
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>@
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> Import style="COLOR: red">Namespacestyle="COLOR: blue">="Microsoft.SharePoint.Utilities" style="BACKGROUND: yellow; mso-highlight: yellow">%>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; BACKGROUND: yellow; FONT-SIZE: 9pt; mso-highlight: yellow; mso-ansi-language: EN-US"
lang=EN-US><%
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>@
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> Import style="COLOR: red">Namespacestyle="COLOR: blue">="Microsoft.SharePoint.WebPartPages" style="BACKGROUND: yellow; mso-highlight: yellow">%>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; BACKGROUND: yellow; FONT-SIZE: 9pt; mso-highlight: yellow; mso-ansi-language: EN-US"
lang=EN-US><%
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>@
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> Import style="COLOR: red">Namespacestyle="COLOR: blue">="System.Globalization" style="BACKGROUND: yellow; mso-highlight: yellow">%>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; BACKGROUND: yellow; FONT-SIZE: 9pt; mso-highlight: yellow; mso-ansi-language: EN-US"
lang=EN-US><%
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>@
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> Import style="COLOR: red">Namespacestyle="COLOR: blue">="MyCompany.Frameworks.SharePoint.WebParts" style="BACKGROUND: yellow; mso-highlight: yellow">%>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; BACKGROUND: yellow; FONT-SIZE: 9pt; mso-highlight: yellow; mso-ansi-language: EN-US"
lang=EN-US><%
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>@
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> Import style="COLOR: red">Namespacestyle="COLOR: blue">="System.Web.UI.WebControls.WebParts" style="BACKGROUND: yellow; mso-highlight: yellow">%>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US><
style="FONT-FAMILY: 'Courier New'; COLOR: maroon; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>asp
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>:
style="FONT-FAMILY: 'Courier New'; COLOR: maroon; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>content
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> contentplaceholderidstyle="COLOR: blue">="PlaceHolderAdditionalPageHead" style="COLOR: red">runatstyle="COLOR: blue">="server">


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>      
<style="COLOR: maroon">SharePoint:style="COLOR: maroon">UIVersionedContent style="COLOR: red">IDstyle="COLOR: blue">="UIVersionedContent1" style="COLOR: red">UIVersion="4" style="COLOR: red">runatstyle="COLOR: blue">="server"><style="COLOR: maroon">ContentTemplatestyle="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-tab-count: 2">             
<style="COLOR: maroon">SharePoint:style="COLOR: maroon">CssRegistration style="COLOR: red">runat="server" style="COLOR: red">Name="forms.css"
/>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>      
</style="COLOR: maroon">ContentTemplatestyle="COLOR: blue">></style="COLOR: maroon">SharePoint:style="COLOR: maroon">UIVersionedContentstyle="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US></
style="FONT-FAMILY: 'Courier New'; COLOR: maroon; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>asp
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>:
style="FONT-FAMILY: 'Courier New'; COLOR: maroon; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>content
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>>
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US><
style="FONT-FAMILY: 'Courier New'; COLOR: maroon; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>asp
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>:
style="FONT-FAMILY: 'Courier New'; COLOR: maroon; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>content
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> idstyle="COLOR: blue">="Main" style="COLOR: red">contentplaceholderidstyle="COLOR: blue">="PlaceHolderMain" style="COLOR: red">runatstyle="COLOR: blue">="server">


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>  


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US><
style="FONT-FAMILY: 'Courier New'; COLOR: maroon; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>script
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> languagestyle="COLOR: blue">="C#" runatstyle="COLOR: blue">="server">


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>   


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>    style="COLOR: #2b91af">SPList myList = style="COLOR: blue">null;


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>    style="COLOR: #2b91af">SPWeb myWeb = style="COLOR: blue">null;


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>    style="COLOR: blue">protected override
void OnLoad(style="COLOR: #2b91af">EventArgs e)


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>   
{


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
isProvisioningFinished.Value = style="COLOR: #a31515">"false";


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> 


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
myWeb = style="COLOR: #2b91af">SPContext.Current.Web;


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> 


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
Guid listGuid = style="COLOR: blue">new style="COLOR: #2b91af">Guid(Request.QueryString[style="COLOR: #a31515">"List"]);


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
myList = myWeb.Lists[listGuid];


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> 


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
TargetLibrary.Text = "This page will be
created in this library: <br/><div
style='color:#0072bc;padding-top:3px'>"
+ myList.Title + style="COLOR: #a31515">"</div>";


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
NameDescLabel.Text = "New page name:
"
;


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>   
}


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> 


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>    style="COLOR: blue">protected void
provision(object sender, style="COLOR: #2b91af">EventArgs e)


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>   
{


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
SPFolder rootFolder =
myList.RootFolder;


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
SPWeb parentWeb =
myList.ParentWeb;


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> 


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
SPFileCollection files =
rootFolder.Files;


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> 


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
string pageName =
txtPageName.Text;


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> 


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
string strUrl =
rootFolder.ServerRelativeUrl + "/" +
pageName + ".aspx";


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> style="mso-spacerun: yes">       style="COLOR: blue">if
(!parentWeb.GetFile(strUrl).Exists)


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
{


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">           
SPListItem listItem =
files.Add(strUrl, style="COLOR: #2b91af">SPTemplateFileType.WikiPage).GetListItem(style="COLOR: blue">new string[] { style="COLOR: #a31515">"WikiField" });


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">           
ProvisionWikiPageHomePage(listItem.File, pageName);


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">           
ProvisionedPageUrl.Value = strUrl;


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> 


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">           
isProvisioningFinished.Value = style="COLOR: #a31515">"true";


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
}


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>   
}


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> 


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>    style="COLOR: blue">protected void
ProvisionWikiPageHomePage(SPFile wikiPage,
string pageName)


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>   
{


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
if (wikiPage == style="COLOR: blue">null)


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
{


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">           
throw style="COLOR: blue">new style="COLOR: #2b91af">ArgumentNullException(style="COLOR: #a31515">"wikiPage");


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
}


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
SPListItem listItem =
wikiPage.GetListItem(new style="COLOR: blue">string[] { style="COLOR: #a31515">"WikiField" });


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
if (listItem == style="COLOR: blue">null)


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
{


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">           
throw style="COLOR: blue">new style="COLOR: #2b91af">ArgumentException(style="COLOR: #2b91af">SPResource.GetString(style="COLOR: #a31515">"OnlyInWikiLibraries", style="COLOR: blue">new object[style="COLOR: brown">0]));


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
}


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
SPList parentList =
listItem.ParentList;


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> 


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> 


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
SPWeb parentWeb =
parentList.ParentWeb;


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
string serverRelativeUrl =
parentWeb.ServerRelativeUrl;


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
if (serverRelativeUrl.EndsWith(style="COLOR: #a31515">"/"))


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
{


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">           
serverRelativeUrl = serverRelativeUrl.Substring(style="COLOR: brown">0, serverRelativeUrl.Length - style="COLOR: brown">1);


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
}


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
SPList list = style="COLOR: blue">null;


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
string str2 = style="COLOR: blue">null;


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
using (style="COLOR: #2b91af">SPLimitedWebPartManager manager =
wikiPage.GetLimitedWebPartManager(style="COLOR: #2b91af">PersonalizationScope.Shared))


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
{


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">           
str2 = RenderListViewWebPartForWikiPage(manager);


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
}


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> 


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
StringBuilder builder = style="COLOR: blue">new style="COLOR: #2b91af">StringBuilder();


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
StringBuilder builder2 = style="COLOR: blue">new style="COLOR: #2b91af">StringBuilder();


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
builder.Append("\r\nstyle="mso-spacerun: yes">               
<table id=\"layoutsTable\" style=\"width: 100%\">\r\nstyle="mso-spacerun: yes">                   
<tbody>\r\nstyle="mso-spacerun: yes">                       
<tr style=\"vertical-align:top\">"
);


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
builder.Append("\r\nstyle="mso-spacerun: yes">                           
<td style=\"width: 100%\">\r\nstyle="mso-spacerun: yes">       
<div class=\"ms-rte-layoutszone-outer\"
style=\"width:100%\">\r\nstyle="mso-spacerun: yes">         
<div class=\"ms-rte-layoutszone-inner\"
style=\"min-height:60px;word-wrap:break-word\">\r\n<h1
class=\"ms-rteElement-H1B\"
style=\"margin-bottom:0px;\"><span><span>"
);


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
builder.Append(style="COLOR: #2b91af">SPHttpUtility.HtmlEncode(pageName));


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
builder.Append("\r\nstyle="mso-spacerun: yes">                                       
</span></span></h1>\r\nstyle="mso-spacerun: yes">  "
);


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
builder.Append("\r\nstyle="mso-spacerun: yes">           
<p>&#160;</p>\r\nstyle="mso-spacerun: yes">           
<p>&#160;</p>\r\nstyle="mso-spacerun: yes">           
<p>&#160;</p>\r\nstyle="mso-spacerun: yes">         
</div>\r\n    
style="mso-spacerun: yes">   </div>\r\nstyle="mso-spacerun: yes">     
</td>"
);


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
builder.Append("\r\n
</tr>"
);


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
builder.Append("\r\n <tr
style=\"vertical-align:top\">"
);


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
builder2.Append("\r\nstyle="mso-spacerun: yes">                           
<td style=\"width: 100%\">\r\nstyle="mso-spacerun: yes">       
<div class=\"ms-rte-layoutszone-outer\"
style=\"width:100%\">\r\nstyle="mso-spacerun: yes">         
<div class=\"ms-rte-layoutszone-inner\"
style=\"min-height:60px;word-wrap:break-word\">\r\n"
);


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
builder2.Append("style="mso-spacerun: yes">                                       
<p>&#160;</p>\r\nstyle="mso-spacerun: yes">                                
style="mso-spacerun: yes">       <p>"
);


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
builder2.Append("\r\nstyle="mso-spacerun: yes">                                       
</p>\r\nstyle="mso-spacerun: yes">                     
<p>&#160;</p>\r\nstyle="mso-spacerun: yes">           
<p>&#160;</p>\r\nstyle="mso-spacerun: yes">           
<p>&#160;</p>\r\nstyle="mso-spacerun: yes">                                       
<p>&#160;</p>"
);


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
if (!style="COLOR: blue">string.IsNullOrEmpty(str2))


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
{


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">           
builder2.Append(str2);


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
}


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
builder2.Append(style="COLOR: #a31515">"<p>&#160;</p>\r\nstyle="mso-spacerun: yes">    
\r\n</div>\r\nstyle="mso-spacerun: yes">       
</div>\r\nstyle="mso-spacerun: yes">     
</td>"
);


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
builder.Append(builder2.ToString());


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
builder.Append("\r\nstyle="mso-spacerun: yes">    </tr>\r\nstyle="mso-spacerun: yes"> 
</tbody>\r\n</table>\r\nstyle="mso-spacerun: yes">           
<span id=\"layoutsData\" style=\"display:
none\">true,false,2</span>"
);


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
string result = style="COLOR: #a31515">"";


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
result = builder.ToString();


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> 


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
//to see the generated code (user must have
the write permission on C drive...)


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
style="COLOR: green">//System.IO.File.WriteAllText("c:\\test.html",result);


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
listItem["WikiField"] =
result;


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
listItem.UpdateOverwriteVersion();


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>   
}


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> 


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>    style="COLOR: blue">protected string
RenderListViewWebPartForWikiPage(style="COLOR: #2b91af">SPLimitedWebPartManager
lwpm)


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>  style="mso-spacerun: yes">  {


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
if (lwpm == style="COLOR: blue">null)


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
{


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">           
throw style="COLOR: blue">new style="COLOR: #2b91af">ArgumentNullException(style="COLOR: #a31515">"lwpm");


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
}


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> 


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
System.Web.UI.WebControls.WebParts.style="COLOR: #2b91af">WebPart webPart = style="COLOR: blue">new style="COLOR: #2b91af">GetAuthorInfo();


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> 


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
webPart.Title = style="COLOR: #a31515">"Author";


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
webPart.ChromeType = style="COLOR: #2b91af">PartChromeType.None;


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> 


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
Guid storageKey = style="COLOR: #2b91af">Guid.NewGuid();


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
webPart.ID = StorageKeyToID(storageKey);


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> 


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
lwpm.AddWebPart(webPart, "wpz", style="COLOR: brown">0);


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> 


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
string str =
storageKey.ToString();


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
StringBuilder builder = style="COLOR: blue">new style="COLOR: #2b91af">StringBuilder();


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> 


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
string str3 = style="COLOR: blue">string.Format(style="COLOR: #2b91af">CultureInfo.InvariantCulture, style="COLOR: #a31515">"<div class=\"ms-rtestate-read ms-rte-wpbox\"
contentEditable=\"false\"><div class=\"ms-rtestate-read {0}\"
id=\"div_{0}\"></div><div style='display:none'
id=\"vid_{0}\"/></div>"
, new
object[] { storageKey.ToString(style="COLOR: #a31515">"D") });


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
return str3;


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>   
}


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> 


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>    style="COLOR: blue">internal string
StorageKeyToID(Guid
storageKey)


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>   
{


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
if (!(style="COLOR: #2b91af">Guid.Empty == storageKey))


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
{


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">           
return (style="COLOR: #a31515">"g_" + storageKey.ToString().Replace(style="COLOR: #a31515">'-', style="COLOR: #a31515">'_'));


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
}


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
return style="COLOR: blue">string.Empty;


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>   
}


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> 


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US></
style="FONT-FAMILY: 'Courier New'; COLOR: maroon; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>script
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>>
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">        


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US><
style="FONT-FAMILY: 'Courier New'; COLOR: maroon; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>asp
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>:
style="FONT-FAMILY: 'Courier New'; COLOR: maroon; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>Label
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> IDstyle="COLOR: blue">="Label1" runatstyle="COLOR: blue">="server" Textstyle="COLOR: blue">=""></style="COLOR: maroon">asp:style="COLOR: maroon">Labelstyle="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>      
<style="COLOR: maroon">div stylestyle="COLOR: blue">="widthstyle="COLOR: blue">:350px; style="COLOR: red">margin-right:auto;
margin-leftstyle="COLOR: blue">:auto;">


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-tab-count: 2">             
<style="COLOR: maroon">br style="COLOR: blue">/>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-tab-count: 2">             
<style="COLOR: maroon">div stylestyle="COLOR: blue">="heightstyle="COLOR: blue">:3.75em;">


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-tab-count: 3">                    
<style="COLOR: maroon">asp:style="COLOR: maroon">Label idstyle="COLOR: blue">="TargetLibrary" style="COLOR: red">runat="server" style="COLOR: blue">/>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-tab-count: 2">             
</style="COLOR: maroon">divstyle="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-tab-count: 2">             
<style="COLOR: maroon">divstyle="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-tab-count: 2">             
<style="COLOR: maroon">br style="COLOR: blue">/>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-tab-count: 2">             
<style="COLOR: maroon">br style="COLOR: blue">/>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-tab-count: 3">                    
<style="COLOR: maroon">asp:style="COLOR: maroon">Label stylestyle="COLOR: blue">='padding-bottomstyle="COLOR: blue">:5px;displaystyle="COLOR: blue">:block' idstyle="COLOR: blue">="NameDescLabel" style="COLOR: red">runat="server" style="COLOR: blue">/>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-tab-count: 2">             
</style="COLOR: maroon">divstyle="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-tab-count: 2">             
<style="COLOR: maroon">divstyle="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-tab-count: 3">                    
<style="COLOR: maroon">asp:style="COLOR: maroon">TextBox idstyle="COLOR: blue">="txtPageName" style="COLOR: red">runat="server" style="COLOR: blue">/>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-tab-count: 2">             
</style="COLOR: maroon">divstyle="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-tab-count: 2">             
<style="COLOR: maroon">div stylestyle="COLOR: blue">="heightstyle="COLOR: blue">:3.75em;" classstyle="COLOR: blue">="ms-formvalidation">


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-tab-count: 3">                    
<style="COLOR: maroon">asp:style="COLOR: maroon">Label idstyle="COLOR: blue">="NameErrorLabel" style="COLOR: red">runat="server" style="COLOR: blue">/>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-tab-count: 2">             
</style="COLOR: maroon">divstyle="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-tab-count: 2">             
<style="COLOR: maroon">divstyle="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">           
<style="COLOR: maroon">asp:style="COLOR: maroon">LinkButton style="COLOR: red">style="style="COLOR: red">border:solid 1px
#0072bc;
paddingstyle="COLOR: blue">:2px" runatstyle="COLOR: blue">="server" Textstyle="COLOR: blue">="Provision the page " style="COLOR: red">OnClick="provision"
/>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-tab-count: 2">             
</style="COLOR: maroon">divstyle="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">           
<style="COLOR: maroon">input typestyle="COLOR: blue">='hidden' runatstyle="COLOR: blue">='server' idstyle="COLOR: blue">='isProvisioningFinished' style="COLOR: blue">/>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">           
<style="COLOR: maroon">input typestyle="COLOR: blue">='hidden' runatstyle="COLOR: blue">='server' idstyle="COLOR: blue">='ProvisionedPageUrl' style="COLOR: blue">/>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
</style="COLOR: maroon">divstyle="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">       
<style="COLOR: maroon">script typestyle="COLOR: blue">="text/javascript">


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> 


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">           
var isProvisioningFinishedClientID =
'style="BACKGROUND: yellow; mso-highlight: yellow"><%=isProvisioningFinished.ClientIDstyle="BACKGROUND: yellow; mso-highlight: yellow">%>';


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">           
var ProvisionedPageUrlClientID = style="COLOR: maroon">'style="BACKGROUND: yellow; mso-highlight: yellow"><%=ProvisionedPageUrl.ClientIDstyle="BACKGROUND: yellow; mso-highlight: yellow">%>';


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> 


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">           
var isFinished = style="COLOR: maroon">"false";


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">           
var ProvisionedPageUrl = style="COLOR: maroon">"";


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> 


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">           
isFinished =
document.getElementById(isProvisioningFinishedClientID).value;


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">           
ProvisionedPageUrl =
document.getElementById(ProvisionedPageUrlClientID).value;


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> 


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> 


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">           
if (isFinished == style="COLOR: maroon">"true") {


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> 


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">               
isFinished.value = style="COLOR: maroon">"false";


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">               
window.frameElement.navigateParent(ProvisionedPageUrl);


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>style="mso-spacerun: yes">           
}      


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>      
    style="COLOR: blue"></scriptstyle="COLOR: blue">>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> 


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US></
style="FONT-FAMILY: 'Courier New'; COLOR: maroon; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>asp
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>:
style="FONT-FAMILY: 'Courier New'; COLOR: maroon; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>content
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>>
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US><
style="FONT-FAMILY: 'Courier New'; COLOR: maroon; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>asp
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>:
style="FONT-FAMILY: 'Courier New'; COLOR: maroon; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>content
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> idstyle="COLOR: blue">="PageTitle" style="COLOR: red">contentplaceholderidstyle="COLOR: blue">="PlaceHolderPageTitle" style="COLOR: red">runatstyle="COLOR: blue">="server">


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>New Custom Wiki Page


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US></
style="FONT-FAMILY: 'Courier New'; COLOR: maroon; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>asp
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>:
style="FONT-FAMILY: 'Courier New'; COLOR: maroon; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>content
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>>
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US><
style="FONT-FAMILY: 'Courier New'; COLOR: maroon; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>asp
style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>:
style="FONT-FAMILY: 'Courier New'; COLOR: maroon; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>content
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US> idstyle="COLOR: blue">="PageTitleInTitleArea" style="COLOR: red">contentplaceholderidstyle="COLOR: blue">="PlaceHolderPageTitleInTitleArea"


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>    style="COLOR: red">runatstyle="COLOR: blue">="server">


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-ansi-language: EN-US"
lang=EN-US>New Custom Wiki Page


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt"></style="FONT-FAMILY: 'Courier New'; COLOR: maroon; FONT-SIZE: 9pt">aspstyle="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt">:style="FONT-FAMILY: 'Courier New'; COLOR: maroon; FONT-SIZE: 9pt">contentstyle="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt">>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt">


class=MsoNormal>style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt"> 


style="LINE-HEIGHT: 115%; FONT-SIZE: 9pt">face=Calibri> 

No comments:

Post a Comment