SlideShare a Scribd company logo
1 of 7
Lab 10: Create a new WCM Master Page
Objectives
After completing this lab, you will be able to:
• Give rights to users
• Disable the default workflow in the development environment
• Use SharePoint Designer for creating, designing, and applying a new Master Page.
Prerequisites
Before working on this lab, you must have:
• Labs 1 and 2 fully completed
Scenario
In this lab, has a web designer, you will create and modify a new Master Page. Once created,
you will then apply the new Master Page to the desired site section.
Estimated time to complete this lab: 60 minutes
Exercise 1
Create a test Publishing Site
For convenience, it would be better to create/modify/test a new Master page on a sub site of
you development environment rather than to the top level site of your site collection. It will
be easier to recover from potential problems caused by incorrectly configured or designed
Master page file.
∑ Create a new Publishing site to apply your new customized Master
page
1. For this lab, please login as “brianc” on the “litwareinc” domain on your desktop.
Brian belongs to the “site owner” role thus will have the rights to modify the look and
feel of the site. First log out from the current user and log back in as “brianc” password
= pass@word1.
Lab 10: Create a new WCM Master Page
Once logged in, you will create a new Publishing site. Note: If this is the first time you
logged in as Brian you may need to close the “Manage Your Server” panel but first check the
“Don’t display this page at logon” box at the button left of the panel.
2. Before creating a new Publishing site (which you will create to test your new Master
Page), you will give Brian the rights to approve new sites and pages creation in and
under the “Sites” hierarchy. By allowing Brian to approve his own sites and pages you
will need to use a lesser amount of clicks to make things work i.e. the need to log in as a
different user to approve the page and login in again as Brian to continue further site
modification. To give Brian the rights to approve, launch you browser and from the
default site home page “http://hol.litwareinc.com/Pages/Default.aspx” click on “Sites”.
3. Once on the “Site Directory” site, click on “Site Actions”, then “Site settings”,
then “People and Groups”.
4. Once in the ‘People and Groups” page, select “Groups” from the top left
navigation
5. Click the “Approvers” group
6. Click New, Add Users
7. In the “Add Users: Sites” page, type “litwareincbrianc” in the Users box and click
“Check Names”
8. Make sure the Approvers [Limited Access, Approve] is set in the Give Permission
drop down and click Ok
9. Now that Brian Cox has the rights to approve on this site structure, click the “Sites”
link to return to the location where you will create the new site based on a “Publishing”
site template.
10. On the Site Directory page, click “Create Site”
11. In the “New SharePoint Site” page, enter “My WCM Site” (WCM = Web Content
Management) in the Title field, “MyWCMSite” in the Web Site Address field, click the
“Publishing” tab and select “Publishing Site” as the selected Template.
12. Click Create
Lab 10: Create a new WCM Master Page 3
13. Click “Publish”
The “My WCM Site” site is now approved and published!
Exercise 2
Disable the Default Workflow
As you have probably realized, by default, a new Publishing Site uses the default Approval
workflow automatically. To reduce the amount of clicks a developer will need to go through each
time he or she modifies a site/page you will need to bypass the default Approval workflow from
your development environment. In this case, to further reduce the number of clicks, you will also
disable the Versioning and Check in/Check out features.
∑ Make sure you are logged as “Brianc”
1. To disable the workflow, click the “My WCM Site” link in the breadcrumb (this action
will return you to the home page of the My WCM Site.)
Note: If the “My WCM Site” site does not appear in the navigation elements (left and top) and
you need to locate that site, click “Site” and then “Site Map”. The “My WCM Site” should be
listed under “Sites”.
2. Click “Site Actions”, select “Site Settings” then “Modify Pages Library Settings”.
3. Select “Versioning settings”
4. In the “Document Library Versioning Settings: Pages” page, select “No” for the
“Required content approval for submitted items” if not already selected, select “No
versioning” in the “Document Version History” section, and lastly, select “No” for the
“Required documents to be checked out before they can be edited?” in the “Required
Check Out” section.
5. Click Ok
6. Return to the “My WCM Site” home page by clicking the “My WCM Site” link in the
breadcrumb.
Exercise 3
Create and Edit a new master page in SharePoint Designer
Due to the fact that many page layouts can be use with a single Master page, you will need to
understand the design of each of the page layouts utilized with that Master page. In this exercise
you will create and modify a new simple Master page that could be used with page layouts. To
help understand the design of page layouts and their association with a specific Master page, we
will reverse engineer this site. First, we need to determine which “page layout” the home page of
the “My WCM Site” is based on and then, determine what are the “contentplaceholders” utilized
by that page layout. Each one of the contentplaceholders will also be referred to be in the Master
Lab 10: Create a new WCM Master Page
page. All page layouts contentplaceholders must be in the Master page but not all Master page
contentplaceholders needs to be in page layouts!
∑ ContentPlaceholders are common to both Page Layouts and Master
pages – see the SDK for further information
1. To determine the Page Layout the “My WCM Site” home page uses, first navigate
to the “My WCM Site” home page if not already there, then click on “Site Actions”, then
“Edit Page”. On the editing console of the resulted page, click “Page”, then “Page Settings”,
click Ok to the warning panel and take note of the “Page Layout setting” – the default Page
Layout should be “(Welcome Page) Welcome page with summary links”.
Note: The “(Welcome Page)” part of the “(Welcome Page) Welcome page with summary
links” page layout name indicates the “Associated Content Type” of that page layout. The
“Welcome page with summary links” indicates the “Title” of the page layout.
2. Click Cancel
3. Our next step will be to determine the “content placeholders” used by the default
Page Layout. To determine the “content placeholders” used by the default Page Layout, click
on “Site Actions”, then ”Site Settings”, and then “Modify All Site Settings”.
4. Click “Cancel” to the message box
5. In the “Site Settings” page, under the “Galleries” section, click “Master Page and
Page Layouts”
6. In the “Master Page Gallery”, locate the title “Welcome page with summary
links” page layout which is the “WelcomeLinks.aspx” page (you can modify the view to
show the Title). The best way to make sure you have the actual correct page layout would be
to check the “Site Content and Structure” (accessible via the Site Actions menu) for that
page and display its “Related Resources”.
7. In the down arrow menu of the “WelcomeLinks.aspx” page, select “Edit in
Microsoft Office SharePoint Designer”.
8. Click Ok to the message box – SharePoint Designer should launch and open the
Page Layout.
9. If this is the first time SharePoint Designer is launched, click Yes to the “set the
SharePoint Designer as the default Page editor”, then uncheck all boxes in the Privacy
Option page and click Ok – this may take a couple of minutes to fully load the page.
Note: In the eventuality that the SharePoint Designer does not launch once you selected the
“Edit in Microsoft Office SharePoint Designer” link, you could llaunch the SharePoint
Designer from the Start menu, and then open the following site http://hol.litwareinc.com.
Once opened, expand the “_catalogs” folder first and then the “masterpage (Master Page
Gallery)” folder and scroll down and click on “WelcomeLinks.aspx”. To open the page,
right click and select “open”. If you took this route, jump to step 11 below.
10. Select “Code View” located at the lower section of the middle pane.
Lab 10: Create a new WCM Master Page 5
11. In the Code page, take note of all ContentPlaceholders referred by their ID. There
should be four of them:
♦ PlaceHolderAdditionalPageHead
♦ PlaceHolderPageTitle
♦ PlaceHolderPageTitleInTitleArea
♦ PlaceHolderMain
12. Close SharePoint Designer and then “Discard Check Out” for that Page Layout in
the “Master Page Gallery”.
Now that we have the necessary information for our Master page… let create and modify a new
Master page.
13. To create a new Mater page for the “My WCM Site” site, return to the “My WCM
Site” site by clicking Site, Site Map, and then “My WCM Site” link from the “Sites” list.
14. Copy the link of the site i.e. http://hol.litwareinc.com/SiteDirectory/MyWCMSite/ .
This will save you the need to browse to this site within SharePoint Designer.
15. Launch SharePoint Designer from the Start menu and point it to your
“Publishing” site i.e. http://hol.litwareinc.com/SiteDirectory/MyWCMSite. Use the Open
Site option and enter the URL of your site in the Site name field.
16. In the SharePoint Designer folder list view, expand “_catalogs” and “masterpage
(Master Page Gallery)”
17. Make a copy of the “default.master” page within the same folder
18. Check out the “default_copy(1).master” and rename it with your
<initials>default.master
19. Double click on your new renamed master page to open it up.
Lab 10: Create a new WCM Master Page
20. In the next few steps, you will now modify this newly created Master page by
coping and pasting from an already configured sample Master page. To paste the necessary
code from the preconfigured Master page, browse to the
“CustomWCMDefaultMasterPage.txt” located in the “C:HOLMasterPage” folder with
Windows Explorer.
21. Open “CustomWCMDefaultMasterPage.txt” and copy all of its code.
22. Return to SharePoint Designer, select the Code view and select all existing code of
copied new Master page and paste. This will replace all existing code with the code of the
“CustomWCMDefaultMasterPage.txt” file.
23. Save your changes
On save, you will be prompted by the following message, click on Yes
Important Note: The customization referred by this message is also known as to be
“unghosted”. When site pages are customized, excluding browser-based customizations such as
modifications to Web Parts, the pages become “unghosted” and their contents are stored in the
database. Uploaded .aspx files are considered unghosted automatically. The contents of
unghosted pages are routed through safe mode parsing in ASP.NET, which prevents server-side
code from executing, and which depends entirely on the Safe Controls list specified in the
web.config file of the wwwroot directory to determine which controls can be rendered at run
time.
24. Click Yes to the following message
25. To apply this newly created Master page to this site, right click on the new Master
page in the “Folder List” view (left side of the SharePoint Designer) and select “Set as
Custom Master Page”. This setting will tell the system to use this Master page for this site
from now on.
26. To verify the functionality and its application to the “My WCM Site” site, return to
your browser and refresh the page.
27. If there are no errors, return to SharePoint Designer and Check Out the new Master
page.
28. To have the site return to it original Master page, simple right click on the original
“default.master” master page and select “Set as Custom Master Page”.
29. Refresh your browser session and all should be back to its original state.
30. Close SharePoint Designer.
Lab Completed!
Lab 10: Create a new WCM Master Page
20. In the next few steps, you will now modify this newly created Master page by
coping and pasting from an already configured sample Master page. To paste the necessary
code from the preconfigured Master page, browse to the
“CustomWCMDefaultMasterPage.txt” located in the “C:HOLMasterPage” folder with
Windows Explorer.
21. Open “CustomWCMDefaultMasterPage.txt” and copy all of its code.
22. Return to SharePoint Designer, select the Code view and select all existing code of
copied new Master page and paste. This will replace all existing code with the code of the
“CustomWCMDefaultMasterPage.txt” file.
23. Save your changes
On save, you will be prompted by the following message, click on Yes
Important Note: The customization referred by this message is also known as to be
“unghosted”. When site pages are customized, excluding browser-based customizations such as
modifications to Web Parts, the pages become “unghosted” and their contents are stored in the
database. Uploaded .aspx files are considered unghosted automatically. The contents of
unghosted pages are routed through safe mode parsing in ASP.NET, which prevents server-side
code from executing, and which depends entirely on the Safe Controls list specified in the
web.config file of the wwwroot directory to determine which controls can be rendered at run
time.
24. Click Yes to the following message
25. To apply this newly created Master page to this site, right click on the new Master
page in the “Folder List” view (left side of the SharePoint Designer) and select “Set as
Custom Master Page”. This setting will tell the system to use this Master page for this site
from now on.
26. To verify the functionality and its application to the “My WCM Site” site, return to
your browser and refresh the page.
27. If there are no errors, return to SharePoint Designer and Check Out the new Master
page.
28. To have the site return to it original Master page, simple right click on the original
“default.master” master page and select “Set as Custom Master Page”.
29. Refresh your browser session and all should be back to its original state.
30. Close SharePoint Designer.
Lab Completed!

More Related Content

More from LiquidHub

Share point 2010-uiimprovements
Share point 2010-uiimprovementsShare point 2010-uiimprovements
Share point 2010-uiimprovementsLiquidHub
 
Microsoft office-sharepoint-server-2007-presentation-120211522467022-2
Microsoft office-sharepoint-server-2007-presentation-120211522467022-2Microsoft office-sharepoint-server-2007-presentation-120211522467022-2
Microsoft office-sharepoint-server-2007-presentation-120211522467022-2LiquidHub
 
Managing metadata in_share_point_2010
Managing metadata in_share_point_2010Managing metadata in_share_point_2010
Managing metadata in_share_point_2010LiquidHub
 
Fast search for share point
Fast search for share pointFast search for share point
Fast search for share pointLiquidHub
 
Simple Farm Server Deployment
Simple Farm Server DeploymentSimple Farm Server Deployment
Simple Farm Server DeploymentLiquidHub
 
Pre Install Databases
Pre Install DatabasesPre Install Databases
Pre Install DatabasesLiquidHub
 
Moss 2007 Deployment Detail
Moss 2007 Deployment DetailMoss 2007 Deployment Detail
Moss 2007 Deployment DetailLiquidHub
 
Moss 2007 Backup Strategies
Moss 2007 Backup StrategiesMoss 2007 Backup Strategies
Moss 2007 Backup StrategiesLiquidHub
 
How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003
How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003
How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003LiquidHub
 
5060 A 01 Demonstration Steps
5060 A 01 Demonstration Steps5060 A 01 Demonstration Steps
5060 A 01 Demonstration StepsLiquidHub
 
Working With Infopath 2007
Working With Infopath 2007Working With Infopath 2007
Working With Infopath 2007LiquidHub
 
Whats New In Microsoft Windows Share Point Services Feature Walkthrough
Whats New In Microsoft Windows Share Point Services Feature WalkthroughWhats New In Microsoft Windows Share Point Services Feature Walkthrough
Whats New In Microsoft Windows Share Point Services Feature WalkthroughLiquidHub
 
Overviewofthe2007 Microsoft Office System Components Refresh
Overviewofthe2007 Microsoft Office System Components RefreshOverviewofthe2007 Microsoft Office System Components Refresh
Overviewofthe2007 Microsoft Office System Components RefreshLiquidHub
 
Organizingand Finding Resourceswith Office Share Point Server2007 Refresh
Organizingand Finding Resourceswith Office Share Point Server2007 RefreshOrganizingand Finding Resourceswith Office Share Point Server2007 Refresh
Organizingand Finding Resourceswith Office Share Point Server2007 RefreshLiquidHub
 
Organizingand Finding Resourceswith Office Share Point Server2007
Organizingand Finding Resourceswith Office Share Point Server2007Organizingand Finding Resourceswith Office Share Point Server2007
Organizingand Finding Resourceswith Office Share Point Server2007LiquidHub
 
Office Share Point Server2007 Functionaland Architectural Overview
Office Share Point Server2007 Functionaland Architectural OverviewOffice Share Point Server2007 Functionaland Architectural Overview
Office Share Point Server2007 Functionaland Architectural OverviewLiquidHub
 
Office2007 Overview Express
Office2007 Overview ExpressOffice2007 Overview Express
Office2007 Overview ExpressLiquidHub
 

More from LiquidHub (20)

Share point 2010-uiimprovements
Share point 2010-uiimprovementsShare point 2010-uiimprovements
Share point 2010-uiimprovements
 
Microsoft office-sharepoint-server-2007-presentation-120211522467022-2
Microsoft office-sharepoint-server-2007-presentation-120211522467022-2Microsoft office-sharepoint-server-2007-presentation-120211522467022-2
Microsoft office-sharepoint-server-2007-presentation-120211522467022-2
 
Managing metadata in_share_point_2010
Managing metadata in_share_point_2010Managing metadata in_share_point_2010
Managing metadata in_share_point_2010
 
Fast search for share point
Fast search for share pointFast search for share point
Fast search for share point
 
Simple Farm Server Deployment
Simple Farm Server DeploymentSimple Farm Server Deployment
Simple Farm Server Deployment
 
Pre Install Databases
Pre Install DatabasesPre Install Databases
Pre Install Databases
 
Moss 2007 Deployment Detail
Moss 2007 Deployment DetailMoss 2007 Deployment Detail
Moss 2007 Deployment Detail
 
Moss 2007 Backup Strategies
Moss 2007 Backup StrategiesMoss 2007 Backup Strategies
Moss 2007 Backup Strategies
 
How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003
How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003
How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003
 
Bdc Screens
Bdc ScreensBdc Screens
Bdc Screens
 
Bdc Screens
Bdc ScreensBdc Screens
Bdc Screens
 
5060 A 01 Demonstration Steps
5060 A 01 Demonstration Steps5060 A 01 Demonstration Steps
5060 A 01 Demonstration Steps
 
5060 A 01
5060 A 015060 A 01
5060 A 01
 
Working With Infopath 2007
Working With Infopath 2007Working With Infopath 2007
Working With Infopath 2007
 
Whats New In Microsoft Windows Share Point Services Feature Walkthrough
Whats New In Microsoft Windows Share Point Services Feature WalkthroughWhats New In Microsoft Windows Share Point Services Feature Walkthrough
Whats New In Microsoft Windows Share Point Services Feature Walkthrough
 
Overviewofthe2007 Microsoft Office System Components Refresh
Overviewofthe2007 Microsoft Office System Components RefreshOverviewofthe2007 Microsoft Office System Components Refresh
Overviewofthe2007 Microsoft Office System Components Refresh
 
Organizingand Finding Resourceswith Office Share Point Server2007 Refresh
Organizingand Finding Resourceswith Office Share Point Server2007 RefreshOrganizingand Finding Resourceswith Office Share Point Server2007 Refresh
Organizingand Finding Resourceswith Office Share Point Server2007 Refresh
 
Organizingand Finding Resourceswith Office Share Point Server2007
Organizingand Finding Resourceswith Office Share Point Server2007Organizingand Finding Resourceswith Office Share Point Server2007
Organizingand Finding Resourceswith Office Share Point Server2007
 
Office Share Point Server2007 Functionaland Architectural Overview
Office Share Point Server2007 Functionaland Architectural OverviewOffice Share Point Server2007 Functionaland Architectural Overview
Office Share Point Server2007 Functionaland Architectural Overview
 
Office2007 Overview Express
Office2007 Overview ExpressOffice2007 Overview Express
Office2007 Overview Express
 

Recently uploaded

Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 

Recently uploaded (20)

Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 

( 10 ) Office 2007 Create A New Wcm Master Page

  • 1. Lab 10: Create a new WCM Master Page Objectives After completing this lab, you will be able to: • Give rights to users • Disable the default workflow in the development environment • Use SharePoint Designer for creating, designing, and applying a new Master Page. Prerequisites Before working on this lab, you must have: • Labs 1 and 2 fully completed Scenario In this lab, has a web designer, you will create and modify a new Master Page. Once created, you will then apply the new Master Page to the desired site section. Estimated time to complete this lab: 60 minutes Exercise 1 Create a test Publishing Site For convenience, it would be better to create/modify/test a new Master page on a sub site of you development environment rather than to the top level site of your site collection. It will be easier to recover from potential problems caused by incorrectly configured or designed Master page file. ∑ Create a new Publishing site to apply your new customized Master page 1. For this lab, please login as “brianc” on the “litwareinc” domain on your desktop. Brian belongs to the “site owner” role thus will have the rights to modify the look and feel of the site. First log out from the current user and log back in as “brianc” password = pass@word1.
  • 2. Lab 10: Create a new WCM Master Page Once logged in, you will create a new Publishing site. Note: If this is the first time you logged in as Brian you may need to close the “Manage Your Server” panel but first check the “Don’t display this page at logon” box at the button left of the panel. 2. Before creating a new Publishing site (which you will create to test your new Master Page), you will give Brian the rights to approve new sites and pages creation in and under the “Sites” hierarchy. By allowing Brian to approve his own sites and pages you will need to use a lesser amount of clicks to make things work i.e. the need to log in as a different user to approve the page and login in again as Brian to continue further site modification. To give Brian the rights to approve, launch you browser and from the default site home page “http://hol.litwareinc.com/Pages/Default.aspx” click on “Sites”. 3. Once on the “Site Directory” site, click on “Site Actions”, then “Site settings”, then “People and Groups”. 4. Once in the ‘People and Groups” page, select “Groups” from the top left navigation 5. Click the “Approvers” group 6. Click New, Add Users 7. In the “Add Users: Sites” page, type “litwareincbrianc” in the Users box and click “Check Names” 8. Make sure the Approvers [Limited Access, Approve] is set in the Give Permission drop down and click Ok 9. Now that Brian Cox has the rights to approve on this site structure, click the “Sites” link to return to the location where you will create the new site based on a “Publishing” site template. 10. On the Site Directory page, click “Create Site” 11. In the “New SharePoint Site” page, enter “My WCM Site” (WCM = Web Content Management) in the Title field, “MyWCMSite” in the Web Site Address field, click the “Publishing” tab and select “Publishing Site” as the selected Template. 12. Click Create
  • 3. Lab 10: Create a new WCM Master Page 3 13. Click “Publish” The “My WCM Site” site is now approved and published! Exercise 2 Disable the Default Workflow As you have probably realized, by default, a new Publishing Site uses the default Approval workflow automatically. To reduce the amount of clicks a developer will need to go through each time he or she modifies a site/page you will need to bypass the default Approval workflow from your development environment. In this case, to further reduce the number of clicks, you will also disable the Versioning and Check in/Check out features. ∑ Make sure you are logged as “Brianc” 1. To disable the workflow, click the “My WCM Site” link in the breadcrumb (this action will return you to the home page of the My WCM Site.) Note: If the “My WCM Site” site does not appear in the navigation elements (left and top) and you need to locate that site, click “Site” and then “Site Map”. The “My WCM Site” should be listed under “Sites”. 2. Click “Site Actions”, select “Site Settings” then “Modify Pages Library Settings”. 3. Select “Versioning settings” 4. In the “Document Library Versioning Settings: Pages” page, select “No” for the “Required content approval for submitted items” if not already selected, select “No versioning” in the “Document Version History” section, and lastly, select “No” for the “Required documents to be checked out before they can be edited?” in the “Required Check Out” section. 5. Click Ok 6. Return to the “My WCM Site” home page by clicking the “My WCM Site” link in the breadcrumb. Exercise 3 Create and Edit a new master page in SharePoint Designer Due to the fact that many page layouts can be use with a single Master page, you will need to understand the design of each of the page layouts utilized with that Master page. In this exercise you will create and modify a new simple Master page that could be used with page layouts. To help understand the design of page layouts and their association with a specific Master page, we will reverse engineer this site. First, we need to determine which “page layout” the home page of the “My WCM Site” is based on and then, determine what are the “contentplaceholders” utilized by that page layout. Each one of the contentplaceholders will also be referred to be in the Master
  • 4. Lab 10: Create a new WCM Master Page page. All page layouts contentplaceholders must be in the Master page but not all Master page contentplaceholders needs to be in page layouts! ∑ ContentPlaceholders are common to both Page Layouts and Master pages – see the SDK for further information 1. To determine the Page Layout the “My WCM Site” home page uses, first navigate to the “My WCM Site” home page if not already there, then click on “Site Actions”, then “Edit Page”. On the editing console of the resulted page, click “Page”, then “Page Settings”, click Ok to the warning panel and take note of the “Page Layout setting” – the default Page Layout should be “(Welcome Page) Welcome page with summary links”. Note: The “(Welcome Page)” part of the “(Welcome Page) Welcome page with summary links” page layout name indicates the “Associated Content Type” of that page layout. The “Welcome page with summary links” indicates the “Title” of the page layout. 2. Click Cancel 3. Our next step will be to determine the “content placeholders” used by the default Page Layout. To determine the “content placeholders” used by the default Page Layout, click on “Site Actions”, then ”Site Settings”, and then “Modify All Site Settings”. 4. Click “Cancel” to the message box 5. In the “Site Settings” page, under the “Galleries” section, click “Master Page and Page Layouts” 6. In the “Master Page Gallery”, locate the title “Welcome page with summary links” page layout which is the “WelcomeLinks.aspx” page (you can modify the view to show the Title). The best way to make sure you have the actual correct page layout would be to check the “Site Content and Structure” (accessible via the Site Actions menu) for that page and display its “Related Resources”. 7. In the down arrow menu of the “WelcomeLinks.aspx” page, select “Edit in Microsoft Office SharePoint Designer”. 8. Click Ok to the message box – SharePoint Designer should launch and open the Page Layout. 9. If this is the first time SharePoint Designer is launched, click Yes to the “set the SharePoint Designer as the default Page editor”, then uncheck all boxes in the Privacy Option page and click Ok – this may take a couple of minutes to fully load the page. Note: In the eventuality that the SharePoint Designer does not launch once you selected the “Edit in Microsoft Office SharePoint Designer” link, you could llaunch the SharePoint Designer from the Start menu, and then open the following site http://hol.litwareinc.com. Once opened, expand the “_catalogs” folder first and then the “masterpage (Master Page Gallery)” folder and scroll down and click on “WelcomeLinks.aspx”. To open the page, right click and select “open”. If you took this route, jump to step 11 below. 10. Select “Code View” located at the lower section of the middle pane.
  • 5. Lab 10: Create a new WCM Master Page 5 11. In the Code page, take note of all ContentPlaceholders referred by their ID. There should be four of them: ♦ PlaceHolderAdditionalPageHead ♦ PlaceHolderPageTitle ♦ PlaceHolderPageTitleInTitleArea ♦ PlaceHolderMain 12. Close SharePoint Designer and then “Discard Check Out” for that Page Layout in the “Master Page Gallery”. Now that we have the necessary information for our Master page… let create and modify a new Master page. 13. To create a new Mater page for the “My WCM Site” site, return to the “My WCM Site” site by clicking Site, Site Map, and then “My WCM Site” link from the “Sites” list. 14. Copy the link of the site i.e. http://hol.litwareinc.com/SiteDirectory/MyWCMSite/ . This will save you the need to browse to this site within SharePoint Designer. 15. Launch SharePoint Designer from the Start menu and point it to your “Publishing” site i.e. http://hol.litwareinc.com/SiteDirectory/MyWCMSite. Use the Open Site option and enter the URL of your site in the Site name field. 16. In the SharePoint Designer folder list view, expand “_catalogs” and “masterpage (Master Page Gallery)” 17. Make a copy of the “default.master” page within the same folder 18. Check out the “default_copy(1).master” and rename it with your <initials>default.master 19. Double click on your new renamed master page to open it up.
  • 6. Lab 10: Create a new WCM Master Page 20. In the next few steps, you will now modify this newly created Master page by coping and pasting from an already configured sample Master page. To paste the necessary code from the preconfigured Master page, browse to the “CustomWCMDefaultMasterPage.txt” located in the “C:HOLMasterPage” folder with Windows Explorer. 21. Open “CustomWCMDefaultMasterPage.txt” and copy all of its code. 22. Return to SharePoint Designer, select the Code view and select all existing code of copied new Master page and paste. This will replace all existing code with the code of the “CustomWCMDefaultMasterPage.txt” file. 23. Save your changes On save, you will be prompted by the following message, click on Yes Important Note: The customization referred by this message is also known as to be “unghosted”. When site pages are customized, excluding browser-based customizations such as modifications to Web Parts, the pages become “unghosted” and their contents are stored in the database. Uploaded .aspx files are considered unghosted automatically. The contents of unghosted pages are routed through safe mode parsing in ASP.NET, which prevents server-side code from executing, and which depends entirely on the Safe Controls list specified in the web.config file of the wwwroot directory to determine which controls can be rendered at run time. 24. Click Yes to the following message 25. To apply this newly created Master page to this site, right click on the new Master page in the “Folder List” view (left side of the SharePoint Designer) and select “Set as Custom Master Page”. This setting will tell the system to use this Master page for this site from now on. 26. To verify the functionality and its application to the “My WCM Site” site, return to your browser and refresh the page. 27. If there are no errors, return to SharePoint Designer and Check Out the new Master page. 28. To have the site return to it original Master page, simple right click on the original “default.master” master page and select “Set as Custom Master Page”. 29. Refresh your browser session and all should be back to its original state. 30. Close SharePoint Designer. Lab Completed!
  • 7. Lab 10: Create a new WCM Master Page 20. In the next few steps, you will now modify this newly created Master page by coping and pasting from an already configured sample Master page. To paste the necessary code from the preconfigured Master page, browse to the “CustomWCMDefaultMasterPage.txt” located in the “C:HOLMasterPage” folder with Windows Explorer. 21. Open “CustomWCMDefaultMasterPage.txt” and copy all of its code. 22. Return to SharePoint Designer, select the Code view and select all existing code of copied new Master page and paste. This will replace all existing code with the code of the “CustomWCMDefaultMasterPage.txt” file. 23. Save your changes On save, you will be prompted by the following message, click on Yes Important Note: The customization referred by this message is also known as to be “unghosted”. When site pages are customized, excluding browser-based customizations such as modifications to Web Parts, the pages become “unghosted” and their contents are stored in the database. Uploaded .aspx files are considered unghosted automatically. The contents of unghosted pages are routed through safe mode parsing in ASP.NET, which prevents server-side code from executing, and which depends entirely on the Safe Controls list specified in the web.config file of the wwwroot directory to determine which controls can be rendered at run time. 24. Click Yes to the following message 25. To apply this newly created Master page to this site, right click on the new Master page in the “Folder List” view (left side of the SharePoint Designer) and select “Set as Custom Master Page”. This setting will tell the system to use this Master page for this site from now on. 26. To verify the functionality and its application to the “My WCM Site” site, return to your browser and refresh the page. 27. If there are no errors, return to SharePoint Designer and Check Out the new Master page. 28. To have the site return to it original Master page, simple right click on the original “default.master” master page and select “Set as Custom Master Page”. 29. Refresh your browser session and all should be back to its original state. 30. Close SharePoint Designer. Lab Completed!