{"id":1220,"date":"2012-06-18T22:41:21","date_gmt":"2012-06-19T05:41:21","guid":{"rendered":"http:\/\/blog.brainlitter.com\/?p=1220"},"modified":"2012-06-18T22:41:21","modified_gmt":"2012-06-19T05:41:21","slug":"itchy-publishing-trigger-finger-resetting-a-meeting-workspace-back-to-its-original-master-page-using-powershell-after-resetting-all-subsites-to-inherit-the-master-page","status":"publish","type":"post","link":"https:\/\/regroove.ca\/brainlitter\/2012\/06\/18\/itchy-publishing-trigger-finger-resetting-a-meeting-workspace-back-to-its-original-master-page-using-powershell-after-resetting-all-subsites-to-inherit-the-master-page\/","title":{"rendered":"Itchy Publishing Trigger Finger?  Resetting a meeting workspace back to its original master page using powershell (after resetting all subsites to inherit the master page)"},"content":{"rendered":"<p>While we have blogged this in various forms, from setting one site to multiple sites and\/or collections, I just wanted to take 2 minutes to make the following commentary.<\/p>\n<h2>The Problem<\/h2>\n<p>If you push a master page change through all sub sites (webs) in a collection and you have meeting or document workspaces, those will get overwritten and you\u2019ll have various bugs and problems with those workspaces because they use a different master page (MWSDefaultv4.master for meeting workspaces, for example). This is done by doing this (with the publishing features turned on\u2026)<\/p>\n<p><a href=\"\/wp-content\/uploads\/brainlitter\/2012\/06\/SNAGHTML62392dc.png\"><img loading=\"lazy\" decoding=\"async\" style=\"padding-left: 0px;padding-right: 0px;padding-top: 0px;border: 0px\" title=\"SNAGHTML62392dc\" src=\"\/wp-content\/uploads\/brainlitter\/2012\/06\/SNAGHTML62392dc_thumb.png\" alt=\"SNAGHTML62392dc\" width=\"577\" height=\"243\" border=\"0\" \/><\/a><\/p>\n<p>Figure 1 : think about the ramifications of doing this, meeting workspaces and search centers, among other things just don\u2019t like it&#8230;<\/p>\n<h2>The Reason<\/h2>\n<p>Meeting and document workspaces use different master pages and if you haven\u2019t created new branded master pages to accommodate them, you\u2019ll discover the issues (mostly javascripty little things that will crop up later such as deleting appointment pages, etc.) eventually.<\/p>\n<p><a href=\"\/wp-content\/uploads\/brainlitter\/2012\/06\/clip_image001.png\"><img loading=\"lazy\" decoding=\"async\" style=\"padding-left: 0px;padding-right: 0px;padding-top: 0px;border: 0px\" title=\"clip_image001\" src=\"\/wp-content\/uploads\/brainlitter\/2012\/06\/clip_image001_thumb.png\" alt=\"clip_image001\" width=\"538\" height=\"186\" border=\"0\" \/><\/a><\/p>\n<p>Figure 2 : Meeting workspaces have their own master pages damnit!\u00a0 So watch that publishing trigger finger!<\/p>\n<h2>The Fix<\/h2>\n<p>If you don\u2019t have a plan for branding meeting workspaces, etc. and you have already flipped the switch and forced master pages down the throats of your workspaces, you\u2019ll need to either:<\/p>\n<ol>\n<li>Go into Designer in those sites and change the master page back<\/li>\n<li>Live with the little problems (ya, right, users LOVE that)<\/li>\n<li>Reset the pages with PowerShell, an example is provided below<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<div id=\"codeSnippetWrapper\">\n<div id=\"codeSnippet\">\n<pre>$web = Get-SPWeb <span style=\"color: #006080\">\"http:\/\/portal.somewhere.com\/sites\/some_site\"<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre>$web.MasterURL = <span style=\"color: #006080\">\"\/sites\/some_site\/_catalogs\/masterpage\/MWSDefaultv4.master \"<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre>$web.CustomMasterURL = <span style=\"color: #006080\">\"\/sites\/some_site\/_catalogs\/masterpage\/MWSDefaultv4.master\"<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre>$web.Update()<\/pre>\n<p><!--CRLF--><\/p>\n<pre>$web.Dispose()<\/pre>\n<p><!--CRLF--><\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>While we have blogged this in various forms, from setting one site to multiple sites and\/or collections, I just wanted to take 2 minutes to make the following commentary. The Problem If you push a master page change through all sub sites (webs) in a collection and you have meeting or document workspaces, those will &hellip; <a href=\"https:\/\/regroove.ca\/brainlitter\/2012\/06\/18\/itchy-publishing-trigger-finger-resetting-a-meeting-workspace-back-to-its-original-master-page-using-powershell-after-resetting-all-subsites-to-inherit-the-master-page\/\"><\/a><\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":"","_jetpack_memberships_contains_paid_content":false},"categories":[14,334,450],"tags":[163,646,243,647,30],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Itchy Publishing Trigger Finger? Resetting a meeting workspace back to its original master page using powershell (after resetting all subsites to inherit the master page) - Brainlitter - Inside the mind of Sean Wallbridge<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/regroove.ca\/brainlitter\/2012\/06\/18\/itchy-publishing-trigger-finger-resetting-a-meeting-workspace-back-to-its-original-master-page-using-powershell-after-resetting-all-subsites-to-inherit-the-master-page\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Itchy Publishing Trigger Finger? Resetting a meeting workspace back to its original master page using powershell (after resetting all subsites to inherit the master page) - Brainlitter - Inside the mind of Sean Wallbridge\" \/>\n<meta property=\"og:description\" content=\"While we have blogged this in various forms, from setting one site to multiple sites and\/or collections, I just wanted to take 2 minutes to make the following commentary. The Problem If you push a master page change through all sub sites (webs) in a collection and you have meeting or document workspaces, those will &hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/regroove.ca\/brainlitter\/2012\/06\/18\/itchy-publishing-trigger-finger-resetting-a-meeting-workspace-back-to-its-original-master-page-using-powershell-after-resetting-all-subsites-to-inherit-the-master-page\/\" \/>\n<meta property=\"og:site_name\" content=\"Brainlitter - Inside the mind of Sean Wallbridge\" \/>\n<meta property=\"article:published_time\" content=\"2012-06-19T05:41:21+00:00\" \/>\n<meta name=\"author\" content=\"Sean Wallbridge\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sean Wallbridge\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/regroove.ca\/brainlitter\/2012\/06\/18\/itchy-publishing-trigger-finger-resetting-a-meeting-workspace-back-to-its-original-master-page-using-powershell-after-resetting-all-subsites-to-inherit-the-master-page\/\",\"url\":\"https:\/\/regroove.ca\/brainlitter\/2012\/06\/18\/itchy-publishing-trigger-finger-resetting-a-meeting-workspace-back-to-its-original-master-page-using-powershell-after-resetting-all-subsites-to-inherit-the-master-page\/\",\"name\":\"Itchy Publishing Trigger Finger? Resetting a meeting workspace back to its original master page using powershell (after resetting all subsites to inherit the master page) - Brainlitter - Inside the mind of Sean Wallbridge\",\"isPartOf\":{\"@id\":\"https:\/\/regroove.ca\/brainlitter\/#website\"},\"datePublished\":\"2012-06-19T05:41:21+00:00\",\"dateModified\":\"2012-06-19T05:41:21+00:00\",\"author\":{\"@id\":\"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77\"},\"breadcrumb\":{\"@id\":\"https:\/\/regroove.ca\/brainlitter\/2012\/06\/18\/itchy-publishing-trigger-finger-resetting-a-meeting-workspace-back-to-its-original-master-page-using-powershell-after-resetting-all-subsites-to-inherit-the-master-page\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/regroove.ca\/brainlitter\/2012\/06\/18\/itchy-publishing-trigger-finger-resetting-a-meeting-workspace-back-to-its-original-master-page-using-powershell-after-resetting-all-subsites-to-inherit-the-master-page\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/regroove.ca\/brainlitter\/2012\/06\/18\/itchy-publishing-trigger-finger-resetting-a-meeting-workspace-back-to-its-original-master-page-using-powershell-after-resetting-all-subsites-to-inherit-the-master-page\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Brainlitter\",\"item\":\"https:\/\/regroove.ca\/brainlitter\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Itchy Publishing Trigger Finger? Resetting a meeting workspace back to its original master page using powershell (after resetting all subsites to inherit the master page)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/regroove.ca\/brainlitter\/#website\",\"url\":\"https:\/\/regroove.ca\/brainlitter\/\",\"name\":\"Brainlitter - Inside the mind of Sean Wallbridge\",\"description\":\"Dad. Husband. Drummer. Learner of Things.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/regroove.ca\/brainlitter\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77\",\"name\":\"Sean Wallbridge\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/adf8cea6291c39d166616f2148d919a6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/adf8cea6291c39d166616f2148d919a6?s=96&d=mm&r=g\",\"caption\":\"Sean Wallbridge\"},\"url\":\"https:\/\/regroove.ca\/brainlitter\/author\/swallbridge\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Itchy Publishing Trigger Finger? Resetting a meeting workspace back to its original master page using powershell (after resetting all subsites to inherit the master page) - Brainlitter - Inside the mind of Sean Wallbridge","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/regroove.ca\/brainlitter\/2012\/06\/18\/itchy-publishing-trigger-finger-resetting-a-meeting-workspace-back-to-its-original-master-page-using-powershell-after-resetting-all-subsites-to-inherit-the-master-page\/","og_locale":"en_US","og_type":"article","og_title":"Itchy Publishing Trigger Finger? Resetting a meeting workspace back to its original master page using powershell (after resetting all subsites to inherit the master page) - Brainlitter - Inside the mind of Sean Wallbridge","og_description":"While we have blogged this in various forms, from setting one site to multiple sites and\/or collections, I just wanted to take 2 minutes to make the following commentary. The Problem If you push a master page change through all sub sites (webs) in a collection and you have meeting or document workspaces, those will &hellip;","og_url":"https:\/\/regroove.ca\/brainlitter\/2012\/06\/18\/itchy-publishing-trigger-finger-resetting-a-meeting-workspace-back-to-its-original-master-page-using-powershell-after-resetting-all-subsites-to-inherit-the-master-page\/","og_site_name":"Brainlitter - Inside the mind of Sean Wallbridge","article_published_time":"2012-06-19T05:41:21+00:00","author":"Sean Wallbridge","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Sean Wallbridge","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/regroove.ca\/brainlitter\/2012\/06\/18\/itchy-publishing-trigger-finger-resetting-a-meeting-workspace-back-to-its-original-master-page-using-powershell-after-resetting-all-subsites-to-inherit-the-master-page\/","url":"https:\/\/regroove.ca\/brainlitter\/2012\/06\/18\/itchy-publishing-trigger-finger-resetting-a-meeting-workspace-back-to-its-original-master-page-using-powershell-after-resetting-all-subsites-to-inherit-the-master-page\/","name":"Itchy Publishing Trigger Finger? Resetting a meeting workspace back to its original master page using powershell (after resetting all subsites to inherit the master page) - Brainlitter - Inside the mind of Sean Wallbridge","isPartOf":{"@id":"https:\/\/regroove.ca\/brainlitter\/#website"},"datePublished":"2012-06-19T05:41:21+00:00","dateModified":"2012-06-19T05:41:21+00:00","author":{"@id":"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77"},"breadcrumb":{"@id":"https:\/\/regroove.ca\/brainlitter\/2012\/06\/18\/itchy-publishing-trigger-finger-resetting-a-meeting-workspace-back-to-its-original-master-page-using-powershell-after-resetting-all-subsites-to-inherit-the-master-page\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/regroove.ca\/brainlitter\/2012\/06\/18\/itchy-publishing-trigger-finger-resetting-a-meeting-workspace-back-to-its-original-master-page-using-powershell-after-resetting-all-subsites-to-inherit-the-master-page\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/regroove.ca\/brainlitter\/2012\/06\/18\/itchy-publishing-trigger-finger-resetting-a-meeting-workspace-back-to-its-original-master-page-using-powershell-after-resetting-all-subsites-to-inherit-the-master-page\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Brainlitter","item":"https:\/\/regroove.ca\/brainlitter\/"},{"@type":"ListItem","position":2,"name":"Itchy Publishing Trigger Finger? Resetting a meeting workspace back to its original master page using powershell (after resetting all subsites to inherit the master page)"}]},{"@type":"WebSite","@id":"https:\/\/regroove.ca\/brainlitter\/#website","url":"https:\/\/regroove.ca\/brainlitter\/","name":"Brainlitter - Inside the mind of Sean Wallbridge","description":"Dad. Husband. Drummer. Learner of Things.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/regroove.ca\/brainlitter\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77","name":"Sean Wallbridge","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/adf8cea6291c39d166616f2148d919a6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/adf8cea6291c39d166616f2148d919a6?s=96&d=mm&r=g","caption":"Sean Wallbridge"},"url":"https:\/\/regroove.ca\/brainlitter\/author\/swallbridge\/"}]}},"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/posts\/1220"}],"collection":[{"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/comments?post=1220"}],"version-history":[{"count":0,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/posts\/1220\/revisions"}],"wp:attachment":[{"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/media?parent=1220"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/categories?post=1220"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/tags?post=1220"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}