SlideShare a Scribd company logo
SpringPoint Technologies, LLC    www.myspringpoint.com 1 SharePoint Publishing Sites with Variations (Multi-Lingual) David McCollough
Architecture SpringPoint Technologies, LLC    2
Introduction SpringPoint Technologies, LLC    3 Enabling SharePoint Variations on a Publishing Portal allows you to (somewhat) easily create a web application where you can have content pages translated into other languages.  Variations can also be used to provide alternate pages for mobile devices.
Planning SpringPoint Technologies, LLC    4 Supporting multiple languages should be considered very early in your design process.  Variations effects all aspects of a publishing portal including site structure, lists, master pages, page layouts, document libraries, basically everything.
Implementation SpringPoint Technologies, LLC    5 A key factor in successfully implementing variations is the patch level of the SharePoint Farm.  The Minimum level that should be used is 12.0.0.6318. This is MOSS 2007 SP1 plus the infrastructure updates for both WSS 3.0 (KB 951695) and MOSS 2007 (KB 951297).
Implementation SpringPoint Technologies, LLC    6 If you have Home as your root site, when you turn on variations it will become /EN/Home Any code that you might be using to create lists, page instances, site structure will need to be variation aware. Page content is not translated. Variation labels MUST match the culture codes in order for page propagation to work.
SpringPoint Technologies, LLC    7
Implementation SpringPoint Technologies, LLC    8 Once variations are turned on, you can’t turn them off.
Implementation SpringPoint Technologies, LLC    9
Implementation SpringPoint Technologies, LLC    10
Performance SpringPoint Technologies, LLC    11 Performance, Creating the site hierarchies for the target sites is VERY resource intensive and time consuming. It is recommended that you create only one target site at a time. You will experience performance problems using variations in a virtual environment, unless that virtual environment very closely mimics physical hardware. Depending on site size, page propagation times will vary.
Lessons Learned SpringPoint Technologies, LLC    12 Hidden pages in a pages gallery will be propagated to the target web sites, but they will not be hidden in the target web sites. Document libraries are not propagated to the target web sites. If you have a page hidden in the current navigation it will not be hidden in the target web sites.
Lessons Learned SpringPoint Technologies, LLC    13 Changing the default welcome page requires you to reset it on the target sites. Source variation lists are not propagated to target sites. Only page galleries will be propagated and the pages will be in draft mode.
Lessons Learned SpringPoint Technologies, LLC    14 Using a custom master page on the source site requires you to reset the master page on the target sites. Images in the source variation are not propagated to the target sites. Content Types must match between page gallery’s in both the source and target sites.
Sample Code SpringPoint Technologies, LLC    15 Retrieve all variation labels and iterate over // Grab all of the variations.      ReadOnlyCollection<VariationLabel> variationLabels = 				Variations.Current.UserAccessibleLabels;      foreach (VariationLabelvlinvariationLabels)      {         using (SPWebwebSite = siteCollection.OpenWeb("/" + vl.Title + "/AboutUs"))         { 		//List Creation code omitted …         }      }
Sample Code SpringPoint Technologies, LLC    16 Retrieve the source (default) variation ReadOnlyCollection<VariationLabel> variationLabels = 		Variations.Current.UserAccessibleLabels; foreach (VariationLabelvlinvariationLabels) {    if (vl.IsSource)    { returnvl;    } }
Sample Code SpringPoint Technologies, LLC    17 Retrieve relative url for current variation stringcurrentUrl = SPContext.Current.Web.Url; ReadOnlyCollection<VariationLabel> variationLabels = 			Variations.Current.UserAccessibleLabels; foreach (VariationLabelvlinvariationLabels) {    if (currentUrl.StartsWith(vl.TopWebUrl, 				StringComparison.CurrentCultureIgnoreCase))    { variationUrl = "/" + vl.Title; break;    } }
Utilities SpringPoint Technologies, LLC    18 If you find that variations just isn’t working  as you would expect there is a possibility that the relationships list has become corrupt. Tim Dobrinski has created a variations editor utility to help fix the relationships list. You can download it from this url: http://tinyurl.com/dbclsp.
SpringPoint Technologies, LLC    19 Q/A
Contact Info SpringPoint Technologies, LLC    20 Email: dmccollough@mySpingPoint.com Blog: http://weblogs.asp.net/DavidMcCollough/ Company: www.MySpringPoint.com

More Related Content

Viewers also liked

Value stream mapping ppt
Value stream mapping pptValue stream mapping ppt
Value stream mapping ppt
Naik Devang
 
TOMS Shoe
TOMS ShoeTOMS Shoe
Value Stream Mapping Workshop
Value Stream Mapping WorkshopValue Stream Mapping Workshop
Value Stream Mapping Workshop
Michael Sahota
 
Value stream mapping training
Value stream mapping trainingValue stream mapping training
Value stream mapping training
Justo Castellon
 
Value stream mapping for non manufacturing environments
Value stream mapping for non manufacturing environmentsValue stream mapping for non manufacturing environments
Value stream mapping for non manufacturing environments
Association for Manufacturing Excellence
 
Value Stream Mapping Process
Value Stream Mapping ProcessValue Stream Mapping Process
Value Stream Mapping Process
Anand Subramaniam
 
Value Stream Mapping: Case Studies
Value Stream Mapping: Case StudiesValue Stream Mapping: Case Studies
Value Stream Mapping: Case Studies
TKMG, Inc.
 
Value Stream Mapping in Office & Service Setttings
Value Stream Mapping in Office & Service SetttingsValue Stream Mapping in Office & Service Setttings
Value Stream Mapping in Office & Service Setttings
TKMG, Inc.
 

Viewers also liked (8)

Value stream mapping ppt
Value stream mapping pptValue stream mapping ppt
Value stream mapping ppt
 
TOMS Shoe
TOMS ShoeTOMS Shoe
TOMS Shoe
 
Value Stream Mapping Workshop
Value Stream Mapping WorkshopValue Stream Mapping Workshop
Value Stream Mapping Workshop
 
Value stream mapping training
Value stream mapping trainingValue stream mapping training
Value stream mapping training
 
Value stream mapping for non manufacturing environments
Value stream mapping for non manufacturing environmentsValue stream mapping for non manufacturing environments
Value stream mapping for non manufacturing environments
 
Value Stream Mapping Process
Value Stream Mapping ProcessValue Stream Mapping Process
Value Stream Mapping Process
 
Value Stream Mapping: Case Studies
Value Stream Mapping: Case StudiesValue Stream Mapping: Case Studies
Value Stream Mapping: Case Studies
 
Value Stream Mapping in Office & Service Setttings
Value Stream Mapping in Office & Service SetttingsValue Stream Mapping in Office & Service Setttings
Value Stream Mapping in Office & Service Setttings
 

Similar to Share Point Publishing Sites With Variations

Sps redmond 2014 deck
Sps redmond 2014 deckSps redmond 2014 deck
Sps redmond 2014 deck
Dorinda Reyes
 
An Introduction to GitHub for DBAs - Brent Ozar
An Introduction to GitHub for DBAs - Brent OzarAn Introduction to GitHub for DBAs - Brent Ozar
An Introduction to GitHub for DBAs - Brent Ozar
Brent Ozar
 
MOSS Content Deployment 12.18.2008 Final
MOSS Content Deployment 12.18.2008 FinalMOSS Content Deployment 12.18.2008 Final
MOSS Content Deployment 12.18.2008 Final
Shadeed Eleazer
 
How Scala, Wicket, and Java EE Can Improve Web Development
How Scala, Wicket, and Java EE Can Improve Web DevelopmentHow Scala, Wicket, and Java EE Can Improve Web Development
How Scala, Wicket, and Java EE Can Improve Web Development
Bruno Borges
 
Everything about flutter web development
Everything about flutter web developmentEverything about flutter web development
Everything about flutter web development
Katy Slemon
 
Developing Branding Solutions for 2013
Developing Branding Solutions for 2013Developing Branding Solutions for 2013
Developing Branding Solutions for 2013
Thomas Daly
 
SharePoint 2013 Sandbox Solutions for On Premise or Office 365
SharePoint 2013 Sandbox Solutions for On Premise or Office 365SharePoint 2013 Sandbox Solutions for On Premise or Office 365
SharePoint 2013 Sandbox Solutions for On Premise or Office 365
Ed Musters
 
How to Website Redesign | Website Redesign SEO Checklist
How to Website Redesign | Website Redesign SEO ChecklistHow to Website Redesign | Website Redesign SEO Checklist
How to Website Redesign | Website Redesign SEO Checklist
Kotla Ranjith Kumar Reddy
 
MCA 6th Sem Project Report
MCA 6th Sem Project ReportMCA 6th Sem Project Report
MCA 6th Sem Project Report
PRADEEP GUPTA
 
Spsat nyc19 190621150118
Spsat nyc19 190621150118Spsat nyc19 190621150118
Spsat nyc19 190621150118
Peter_1020
 
Going from Classic to Modern. 10 Things you must know before you commit
Going from Classic to Modern. 10 Things you must know before you commitGoing from Classic to Modern. 10 Things you must know before you commit
Going from Classic to Modern. 10 Things you must know before you commit
spsnyc
 
A Beginner's Guide to Client Side Development with Javascript
A Beginner's Guide to Client Side Development with JavascriptA Beginner's Guide to Client Side Development with Javascript
A Beginner's Guide to Client Side Development with Javascript
SharePoint Saturday New Jersey
 
Sp sat philly2019
Sp sat philly2019Sp sat philly2019
Sp sat philly2019
Peter_1020
 
Sps Boston The Share Point Beast
Sps Boston   The Share Point BeastSps Boston   The Share Point Beast
Sps Boston The Share Point Beast
gueste918732
 
5 Simple Actions to Make a Measurable Impact on Your Responsive Site
5 Simple Actions to Make a Measurable Impact on Your Responsive Site5 Simple Actions to Make a Measurable Impact on Your Responsive Site
5 Simple Actions to Make a Measurable Impact on Your Responsive Site
5th Finger
 
Cross Site Collection Navigation with SPFX, PowerShell PnP, PnP-JS, Office UI
Cross Site Collection Navigation with SPFX, PowerShell PnP, PnP-JS, Office UICross Site Collection Navigation with SPFX, PowerShell PnP, PnP-JS, Office UI
Cross Site Collection Navigation with SPFX, PowerShell PnP, PnP-JS, Office UI
Thomas Daly
 
Make SharePoint Look Not Like SharePoint - SPSNashville - Cathy Dew
Make SharePoint Look Not Like SharePoint - SPSNashville - Cathy DewMake SharePoint Look Not Like SharePoint - SPSNashville - Cathy Dew
Make SharePoint Look Not Like SharePoint - SPSNashville - Cathy Dew
Cathy Dew
 
How to build and deploy app on Replit
How to build and deploy app on ReplitHow to build and deploy app on Replit
How to build and deploy app on Replit
matiasfund
 
How backbone.js is different from ember.js?
How backbone.js is different from ember.js?How backbone.js is different from ember.js?
How backbone.js is different from ember.js?
SoftProdigy - We know software!
 
Benefits of cake_php_in_web_development
Benefits of cake_php_in_web_developmentBenefits of cake_php_in_web_development
Benefits of cake_php_in_web_development
Xicom Technologies
 

Similar to Share Point Publishing Sites With Variations (20)

Sps redmond 2014 deck
Sps redmond 2014 deckSps redmond 2014 deck
Sps redmond 2014 deck
 
An Introduction to GitHub for DBAs - Brent Ozar
An Introduction to GitHub for DBAs - Brent OzarAn Introduction to GitHub for DBAs - Brent Ozar
An Introduction to GitHub for DBAs - Brent Ozar
 
MOSS Content Deployment 12.18.2008 Final
MOSS Content Deployment 12.18.2008 FinalMOSS Content Deployment 12.18.2008 Final
MOSS Content Deployment 12.18.2008 Final
 
How Scala, Wicket, and Java EE Can Improve Web Development
How Scala, Wicket, and Java EE Can Improve Web DevelopmentHow Scala, Wicket, and Java EE Can Improve Web Development
How Scala, Wicket, and Java EE Can Improve Web Development
 
Everything about flutter web development
Everything about flutter web developmentEverything about flutter web development
Everything about flutter web development
 
Developing Branding Solutions for 2013
Developing Branding Solutions for 2013Developing Branding Solutions for 2013
Developing Branding Solutions for 2013
 
SharePoint 2013 Sandbox Solutions for On Premise or Office 365
SharePoint 2013 Sandbox Solutions for On Premise or Office 365SharePoint 2013 Sandbox Solutions for On Premise or Office 365
SharePoint 2013 Sandbox Solutions for On Premise or Office 365
 
How to Website Redesign | Website Redesign SEO Checklist
How to Website Redesign | Website Redesign SEO ChecklistHow to Website Redesign | Website Redesign SEO Checklist
How to Website Redesign | Website Redesign SEO Checklist
 
MCA 6th Sem Project Report
MCA 6th Sem Project ReportMCA 6th Sem Project Report
MCA 6th Sem Project Report
 
Spsat nyc19 190621150118
Spsat nyc19 190621150118Spsat nyc19 190621150118
Spsat nyc19 190621150118
 
Going from Classic to Modern. 10 Things you must know before you commit
Going from Classic to Modern. 10 Things you must know before you commitGoing from Classic to Modern. 10 Things you must know before you commit
Going from Classic to Modern. 10 Things you must know before you commit
 
A Beginner's Guide to Client Side Development with Javascript
A Beginner's Guide to Client Side Development with JavascriptA Beginner's Guide to Client Side Development with Javascript
A Beginner's Guide to Client Side Development with Javascript
 
Sp sat philly2019
Sp sat philly2019Sp sat philly2019
Sp sat philly2019
 
Sps Boston The Share Point Beast
Sps Boston   The Share Point BeastSps Boston   The Share Point Beast
Sps Boston The Share Point Beast
 
5 Simple Actions to Make a Measurable Impact on Your Responsive Site
5 Simple Actions to Make a Measurable Impact on Your Responsive Site5 Simple Actions to Make a Measurable Impact on Your Responsive Site
5 Simple Actions to Make a Measurable Impact on Your Responsive Site
 
Cross Site Collection Navigation with SPFX, PowerShell PnP, PnP-JS, Office UI
Cross Site Collection Navigation with SPFX, PowerShell PnP, PnP-JS, Office UICross Site Collection Navigation with SPFX, PowerShell PnP, PnP-JS, Office UI
Cross Site Collection Navigation with SPFX, PowerShell PnP, PnP-JS, Office UI
 
Make SharePoint Look Not Like SharePoint - SPSNashville - Cathy Dew
Make SharePoint Look Not Like SharePoint - SPSNashville - Cathy DewMake SharePoint Look Not Like SharePoint - SPSNashville - Cathy Dew
Make SharePoint Look Not Like SharePoint - SPSNashville - Cathy Dew
 
How to build and deploy app on Replit
How to build and deploy app on ReplitHow to build and deploy app on Replit
How to build and deploy app on Replit
 
How backbone.js is different from ember.js?
How backbone.js is different from ember.js?How backbone.js is different from ember.js?
How backbone.js is different from ember.js?
 
Benefits of cake_php_in_web_development
Benefits of cake_php_in_web_developmentBenefits of cake_php_in_web_development
Benefits of cake_php_in_web_development
 

Share Point Publishing Sites With Variations

  • 1. SpringPoint Technologies, LLC www.myspringpoint.com 1 SharePoint Publishing Sites with Variations (Multi-Lingual) David McCollough
  • 3. Introduction SpringPoint Technologies, LLC 3 Enabling SharePoint Variations on a Publishing Portal allows you to (somewhat) easily create a web application where you can have content pages translated into other languages. Variations can also be used to provide alternate pages for mobile devices.
  • 4. Planning SpringPoint Technologies, LLC 4 Supporting multiple languages should be considered very early in your design process. Variations effects all aspects of a publishing portal including site structure, lists, master pages, page layouts, document libraries, basically everything.
  • 5. Implementation SpringPoint Technologies, LLC 5 A key factor in successfully implementing variations is the patch level of the SharePoint Farm. The Minimum level that should be used is 12.0.0.6318. This is MOSS 2007 SP1 plus the infrastructure updates for both WSS 3.0 (KB 951695) and MOSS 2007 (KB 951297).
  • 6. Implementation SpringPoint Technologies, LLC 6 If you have Home as your root site, when you turn on variations it will become /EN/Home Any code that you might be using to create lists, page instances, site structure will need to be variation aware. Page content is not translated. Variation labels MUST match the culture codes in order for page propagation to work.
  • 8. Implementation SpringPoint Technologies, LLC 8 Once variations are turned on, you can’t turn them off.
  • 11. Performance SpringPoint Technologies, LLC 11 Performance, Creating the site hierarchies for the target sites is VERY resource intensive and time consuming. It is recommended that you create only one target site at a time. You will experience performance problems using variations in a virtual environment, unless that virtual environment very closely mimics physical hardware. Depending on site size, page propagation times will vary.
  • 12. Lessons Learned SpringPoint Technologies, LLC 12 Hidden pages in a pages gallery will be propagated to the target web sites, but they will not be hidden in the target web sites. Document libraries are not propagated to the target web sites. If you have a page hidden in the current navigation it will not be hidden in the target web sites.
  • 13. Lessons Learned SpringPoint Technologies, LLC 13 Changing the default welcome page requires you to reset it on the target sites. Source variation lists are not propagated to target sites. Only page galleries will be propagated and the pages will be in draft mode.
  • 14. Lessons Learned SpringPoint Technologies, LLC 14 Using a custom master page on the source site requires you to reset the master page on the target sites. Images in the source variation are not propagated to the target sites. Content Types must match between page gallery’s in both the source and target sites.
  • 15. Sample Code SpringPoint Technologies, LLC 15 Retrieve all variation labels and iterate over // Grab all of the variations.      ReadOnlyCollection<VariationLabel> variationLabels = Variations.Current.UserAccessibleLabels;      foreach (VariationLabelvlinvariationLabels)      {         using (SPWebwebSite = siteCollection.OpenWeb("/" + vl.Title + "/AboutUs"))         { //List Creation code omitted …         }      }
  • 16. Sample Code SpringPoint Technologies, LLC 16 Retrieve the source (default) variation ReadOnlyCollection<VariationLabel> variationLabels = Variations.Current.UserAccessibleLabels; foreach (VariationLabelvlinvariationLabels) { if (vl.IsSource) { returnvl; } }
  • 17. Sample Code SpringPoint Technologies, LLC 17 Retrieve relative url for current variation stringcurrentUrl = SPContext.Current.Web.Url; ReadOnlyCollection<VariationLabel> variationLabels = Variations.Current.UserAccessibleLabels; foreach (VariationLabelvlinvariationLabels) { if (currentUrl.StartsWith(vl.TopWebUrl, StringComparison.CurrentCultureIgnoreCase)) { variationUrl = "/" + vl.Title; break; } }
  • 18. Utilities SpringPoint Technologies, LLC 18 If you find that variations just isn’t working as you would expect there is a possibility that the relationships list has become corrupt. Tim Dobrinski has created a variations editor utility to help fix the relationships list. You can download it from this url: http://tinyurl.com/dbclsp.
  • 20. Contact Info SpringPoint Technologies, LLC 20 Email: dmccollough@mySpingPoint.com Blog: http://weblogs.asp.net/DavidMcCollough/ Company: www.MySpringPoint.com

Editor's Notes

  1. Show a picture of the TDW site structure but make it more generic
  2. Show a picture of the TDW site structure but make it more generic
  3. Note: Talk about turning them off.
  4. Note: Talk about turning them off.
  5. Note bullet 1: Either manually or with code.Note bullet 2: Talk about creating lists manually or through code for each of the target sites.