{"id":265,"date":"2022-12-29T14:06:56","date_gmt":"2022-12-29T13:06:56","guid":{"rendered":"https:\/\/blog.bardalen.no\/?p=265"},"modified":"2022-12-30T09:45:08","modified_gmt":"2022-12-30T08:45:08","slug":"library-for-office-templates-in-sharepoint","status":"publish","type":"post","link":"https:\/\/blog.bardalen.no\/index.php\/2022\/12\/29\/library-for-office-templates-in-sharepoint\/","title":{"rendered":"Creating a library for Office templates in SharePoint"},"content":{"rendered":"\n<p>Are you moving all your file shares to SharePoint and scratching your head for what to do with all your companys Office templates? Look no further, I&#8217;ve got you covered! Not only will I explain how it all works but also provide you with some PowerShell-lines to create a document library where you can store your templates.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How it all works in Office 365<\/h2>\n\n\n\n<p>Microsoft has provided a native solution for customers going full cloud and needing a centralized store for Office templates. They call it a &laquo;organization assets library&raquo; where you can store these files. You can create and specify up to 30 libraries in an organization, but all must reside in the same SharePoint site. And only libraries can be set as an asset library, not a specific folder. So be sure you create a dedicated library for this. You can also create a library for storing images and photos as well, but I&#8217;m not covering that here.<\/p>\n\n\n\n<p>When you assign a library for templates it creates a CDN (Content Delivery Network) in your tenant. This takes care of the distribution of the templates to the end users&#8217; computers and is done automatically. A CDN makes sure your resources are downloaded from a server close to your clients, and providing a good performance. <\/p>\n\n\n\n<p>Microsoft Docs: <a href=\"https:\/\/learn.microsoft.com\/en-us\/microsoft-365\/enterprise\/content-delivery-networks?view=o365-worldwide\" target=\"_blank\" rel=\"noreferrer noopener\">Content Delivery Networks<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to do it in PowerShell<\/h2>\n\n\n\n<p>The Microsoft way of doing it is to create a document library manually, and designate that library via PowerShell. We are here taking this a step further and and we do everything in PowerShell with the help from a module called <a href=\"https:\/\/pnp.github.io\/powershell\/\">PnP Powershell<\/a>. Follow the link to get help with installing that, or proceed to read if you already have it.<\/p>\n\n\n\n<p>This script is also available on my <a href=\"https:\/\/github.com\/Bangdalen\/PS-MS365-Tools\/blob\/master\/CreateTemplateLibrary.ps1\" target=\"_blank\" rel=\"noreferrer noopener\">GitHub<\/a>. Feel free to add comments and suggestions if you have ways to improve it!<\/p>\n\n\n\n<p>First we need to connect to the SharePoint Admin site as an admin with enough priviliges to create a SharePoint site:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" style=\"font-size:.875rem;line-height:1.25rem\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#33384d;color:#969dc4\">PowerShell<\/span><span role=\"button\" tabindex=\"0\" data-code=\"Connect-PnPOnline -url https:\/\/yourdomain-admin.sharepoint.com -Interactive\" style=\"color:#A6ACCD;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki\" style=\"background-color: #292D3E\"><code><span class=\"line\"><span style=\"color: #82AAFF\">Connect-PnPOnline<\/span><span style=\"color: #A6ACCD\"> <\/span><span style=\"color: #89DDFF\">-<\/span><span style=\"color: #A6ACCD\">url https:<\/span><span style=\"color: #89DDFF\">\/\/<\/span><span style=\"color: #82AAFF\">yourdomain-admin.sharepoint.com<\/span><span style=\"color: #A6ACCD\"> <\/span><span style=\"color: #89DDFF\">-<\/span><span style=\"color: #A6ACCD\">Interactive<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>This next command creates the site, with Title, Site name, Location, Time zone and description. The &laquo;-Wait&raquo; at the end makes sure every artifact is ready before we continue:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" style=\"font-size:.875rem;line-height:1.25rem\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#33384d;color:#969dc4\">PowerShell<\/span><span role=\"button\" tabindex=\"0\" data-code=\"New-PnPSite -Type TeamSite -Title &quot;TemplateSite&quot; -Alias &quot;TemplateSite&quot; -IsPublic -Lcid 1044 -TimeZone 4 -Owner &quot;thatuser@yourdomain.com&quot; -Description &quot;SharePoint site for templates in Word, Excel and PowerPoint&quot; -Wait\" style=\"color:#A6ACCD;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki\" style=\"background-color: #292D3E\"><code><span class=\"line\"><span style=\"color: #82AAFF\">New-PnPSite<\/span><span style=\"color: #A6ACCD\"> <\/span><span style=\"color: #89DDFF\">-<\/span><span style=\"color: #A6ACCD\">Type TeamSite <\/span><span style=\"color: #89DDFF\">-<\/span><span style=\"color: #A6ACCD\">Title <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">TemplateSite<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #A6ACCD\"> <\/span><span style=\"color: #89DDFF\">-<\/span><span style=\"color: #A6ACCD\">Alias <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">TemplateSite<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #A6ACCD\"> <\/span><span style=\"color: #89DDFF\">-<\/span><span style=\"color: #A6ACCD\">IsPublic <\/span><span style=\"color: #89DDFF\">-<\/span><span style=\"color: #A6ACCD\">Lcid <\/span><span style=\"color: #F78C6C\">1044<\/span><span style=\"color: #A6ACCD\"> <\/span><span style=\"color: #89DDFF\">-<\/span><span style=\"color: #A6ACCD\">TimeZone <\/span><span style=\"color: #F78C6C\">4<\/span><span style=\"color: #A6ACCD\"> <\/span><span style=\"color: #89DDFF\">-<\/span><span style=\"color: #A6ACCD\">Owner <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">thatuser@yourdomain.com<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #A6ACCD\"> <\/span><span style=\"color: #89DDFF\">-<\/span><span style=\"color: #A6ACCD\">Description <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">SharePoint site for templates in Word, Excel and PowerPoint<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #A6ACCD\"> <\/span><span style=\"color: #89DDFF\">-<\/span><span style=\"color: #A6ACCD\">Wait<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p><a href=\"https:\/\/learn.microsoft.com\/en-us\/dotnet\/api\/microsoft.sharepoint.spregionalsettings.timezones?view=sharepoint-server\" target=\"_blank\" rel=\"noreferrer noopener\">List of supported Time Zones<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/learn.microsoft.com\/en-us\/previous-versions\/office\/sharepoint-csom\/jj167546(v=office.15)\" target=\"_blank\" rel=\"noreferrer noopener\">List of supported Locales<\/a><\/p>\n\n\n\n<p>A blank and empty site will not do, unless you want to use the default &laquo;Shared documents&raquo; library. To create a new, dedicated document library we must first change the context of where we run our commands:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" style=\"font-size:.875rem;line-height:1.25rem\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#33384d;color:#969dc4\">PowerShell<\/span><span role=\"button\" tabindex=\"0\" data-code=\"Connect-PnPOnline -url https:\/\/yourdomain.sharepoint.com\/sites\/TemplateSite -Interactive\" style=\"color:#A6ACCD;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki\" style=\"background-color: #292D3E\"><code><span class=\"line\"><span style=\"color: #82AAFF\">Connect-PnPOnline<\/span><span style=\"color: #A6ACCD\"> <\/span><span style=\"color: #89DDFF\">-<\/span><span style=\"color: #A6ACCD\">url https:<\/span><span style=\"color: #89DDFF\">\/\/<\/span><span style=\"color: #82AAFF\">yourdomain.sharepoint.com<\/span><span style=\"color: #89DDFF\">\/<\/span><span style=\"color: #A6ACCD\">sites<\/span><span style=\"color: #89DDFF\">\/<\/span><span style=\"color: #A6ACCD\">TemplateSite <\/span><span style=\"color: #89DDFF\">-<\/span><span style=\"color: #A6ACCD\">Interactive<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>Then we create the dedicated library:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" style=\"font-size:.875rem;line-height:1.25rem\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#33384d;color:#969dc4\">PowerShell<\/span><span role=\"button\" tabindex=\"0\" data-code=\"New-PnPList -Title &quot;Templates&quot; -Template DocumentLibrary -Url Templates -EnableContentTypes -EnableVersioning -OnQuickLaunch\" style=\"color:#A6ACCD;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki\" style=\"background-color: #292D3E\"><code><span class=\"line\"><span style=\"color: #82AAFF\">New-PnPList<\/span><span style=\"color: #A6ACCD\"> <\/span><span style=\"color: #89DDFF\">-<\/span><span style=\"color: #A6ACCD\">Title <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">Templates<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #A6ACCD\"> <\/span><span style=\"color: #89DDFF\">-<\/span><span style=\"color: #A6ACCD\">Template DocumentLibrary <\/span><span style=\"color: #89DDFF\">-<\/span><span style=\"color: #A6ACCD\">Url Templates <\/span><span style=\"color: #89DDFF\">-<\/span><span style=\"color: #A6ACCD\">EnableContentTypes <\/span><span style=\"color: #89DDFF\">-<\/span><span style=\"color: #A6ACCD\">EnableVersioning <\/span><span style=\"color: #89DDFF\">-<\/span><span style=\"color: #A6ACCD\">OnQuickLaunch<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>And finally, set this very Library as a Assets library in your organization:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" style=\"font-size:.875rem;line-height:1.25rem\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#33384d;color:#969dc4\">PowerShell<\/span><span role=\"button\" tabindex=\"0\" data-code=\"Add-PnpOrgAssetsLibrary -LibraryUrl https:\/\/yourdomainn.sharepoint.com\/sites\/TemplateSite\/Templates -OrgAssetType OfficeTemplateLibrary\" style=\"color:#A6ACCD;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki\" style=\"background-color: #292D3E\"><code><span class=\"line\"><span style=\"color: #82AAFF\">Add-PnpOrgAssetsLibrary<\/span><span style=\"color: #A6ACCD\"> <\/span><span style=\"color: #89DDFF\">-<\/span><span style=\"color: #A6ACCD\">LibraryUrl https:<\/span><span style=\"color: #89DDFF\">\/\/<\/span><span style=\"color: #82AAFF\">yourdomainn.sharepoint.com<\/span><span style=\"color: #89DDFF\">\/<\/span><span style=\"color: #A6ACCD\">sites<\/span><span style=\"color: #89DDFF\">\/<\/span><span style=\"color: #A6ACCD\">TemplateSite<\/span><span style=\"color: #89DDFF\">\/<\/span><span style=\"color: #A6ACCD\">Templates <\/span><span style=\"color: #89DDFF\">-<\/span><span style=\"color: #A6ACCD\">OrgAssetType OfficeTemplateLibrary<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>This command may throw an error saying CDN is not enabled in this organization. Ignore that message. <\/p>\n\n\n\n<p>Now everything is ready to copy files to the newly created library. After some time those files will appear in Word, Excel and PowerPoint as templates looking like this:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.bardalen.no\/wp-content\/uploads\/2022\/12\/Skjermbilde-2022-12-29-kl.-13.50.39-827x1024.png\" alt=\"\" class=\"wp-image-278\" width=\"414\" height=\"512\" srcset=\"https:\/\/blog.bardalen.no\/wp-content\/uploads\/2022\/12\/Skjermbilde-2022-12-29-kl.-13.50.39-827x1024.png 827w, https:\/\/blog.bardalen.no\/wp-content\/uploads\/2022\/12\/Skjermbilde-2022-12-29-kl.-13.50.39-242x300.png 242w, https:\/\/blog.bardalen.no\/wp-content\/uploads\/2022\/12\/Skjermbilde-2022-12-29-kl.-13.50.39-768x952.png 768w, https:\/\/blog.bardalen.no\/wp-content\/uploads\/2022\/12\/Skjermbilde-2022-12-29-kl.-13.50.39.png 996w\" sizes=\"auto, (max-width: 414px) 100vw, 414px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Sources<\/h2>\n\n\n\n<p><a href=\"https:\/\/learn.microsoft.com\/en-us\/sharepoint\/organization-assets-library\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/learn.microsoft.com\/en-us\/sharepoint\/organization-assets-library<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/pnp.github.io\/powershell\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/pnp.github.io\/powershell\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Are you moving all your file shares to SharePoint and scratching your head for what to do with all your companys Office templates? Look no further, I&#8217;ve got you covered! Not only will I explain how it all works but also provide you with some PowerShell-lines to create a document library where you can store your templates. How it all works in Office 365 Microsoft has provided a native solution for customers going full cloud and needing a centralized store&#8230;<\/p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"https:\/\/blog.bardalen.no\/index.php\/2022\/12\/29\/library-for-office-templates-in-sharepoint\/\">Les mer<span class=\"screen-reader-text\"> Les mer<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24,64,55],"tags":[53,5,22],"class_list":["post-265","post","type-post","status-publish","format-standard","hentry","category-microsoft-365","category-powershell","category-sharepoint","tag-microsoft-365","tag-powershell","tag-sharepoint"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Creating a library for Office templates in SharePoint - Blog.bardalen.no<\/title>\n<meta name=\"description\" content=\"Create a central store for your companys Office templates with PowerShell\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.bardalen.no\/index.php\/2022\/12\/29\/library-for-office-templates-in-sharepoint\/\" \/>\n<meta property=\"og:locale\" content=\"nb_NO\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Creating a library for Office templates in SharePoint - Blog.bardalen.no\" \/>\n<meta property=\"og:description\" content=\"Create a central store for your companys Office templates with PowerShell\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.bardalen.no\/index.php\/2022\/12\/29\/library-for-office-templates-in-sharepoint\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog.bardalen.no\" \/>\n<meta property=\"article:published_time\" content=\"2022-12-29T13:06:56+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-30T08:45:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/blog.bardalen.no\/wp-content\/uploads\/2022\/12\/Skjermbilde-2022-12-29-kl.-13.50.39-827x1024.png\" \/>\n<meta name=\"author\" content=\"Tony Bardalen\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Skrevet av\" \/>\n\t<meta name=\"twitter:data1\" content=\"Tony Bardalen\" \/>\n\t<meta name=\"twitter:label2\" content=\"Ansl. lesetid\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutter\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/blog.bardalen.no\/index.php\/2022\/12\/29\/library-for-office-templates-in-sharepoint\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/blog.bardalen.no\/index.php\/2022\/12\/29\/library-for-office-templates-in-sharepoint\/\"},\"author\":{\"name\":\"Tony Bardalen\",\"@id\":\"https:\/\/blog.bardalen.no\/#\/schema\/person\/824afefe68762a6905723a53c0f28f9a\"},\"headline\":\"Creating a library for Office templates in SharePoint\",\"datePublished\":\"2022-12-29T13:06:56+00:00\",\"dateModified\":\"2022-12-30T08:45:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/blog.bardalen.no\/index.php\/2022\/12\/29\/library-for-office-templates-in-sharepoint\/\"},\"wordCount\":496,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/blog.bardalen.no\/#\/schema\/person\/824afefe68762a6905723a53c0f28f9a\"},\"image\":{\"@id\":\"https:\/\/blog.bardalen.no\/index.php\/2022\/12\/29\/library-for-office-templates-in-sharepoint\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/blog.bardalen.no\/wp-content\/uploads\/2022\/12\/Skjermbilde-2022-12-29-kl.-13.50.39-827x1024.png\",\"keywords\":[\"Microsoft 365\",\"PowerShell\",\"SharePoint\"],\"articleSection\":[\"Microsoft 365\",\"PowerShell\",\"SharePoint\"],\"inLanguage\":\"nb-NO\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/blog.bardalen.no\/index.php\/2022\/12\/29\/library-for-office-templates-in-sharepoint\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.bardalen.no\/index.php\/2022\/12\/29\/library-for-office-templates-in-sharepoint\/\",\"url\":\"https:\/\/blog.bardalen.no\/index.php\/2022\/12\/29\/library-for-office-templates-in-sharepoint\/\",\"name\":\"Creating a library for Office templates in SharePoint - Blog.bardalen.no\",\"isPartOf\":{\"@id\":\"https:\/\/blog.bardalen.no\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/blog.bardalen.no\/index.php\/2022\/12\/29\/library-for-office-templates-in-sharepoint\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/blog.bardalen.no\/index.php\/2022\/12\/29\/library-for-office-templates-in-sharepoint\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/blog.bardalen.no\/wp-content\/uploads\/2022\/12\/Skjermbilde-2022-12-29-kl.-13.50.39-827x1024.png\",\"datePublished\":\"2022-12-29T13:06:56+00:00\",\"dateModified\":\"2022-12-30T08:45:08+00:00\",\"description\":\"Create a central store for your companys Office templates with PowerShell\",\"breadcrumb\":{\"@id\":\"https:\/\/blog.bardalen.no\/index.php\/2022\/12\/29\/library-for-office-templates-in-sharepoint\/#breadcrumb\"},\"inLanguage\":\"nb-NO\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.bardalen.no\/index.php\/2022\/12\/29\/library-for-office-templates-in-sharepoint\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"nb-NO\",\"@id\":\"https:\/\/blog.bardalen.no\/index.php\/2022\/12\/29\/library-for-office-templates-in-sharepoint\/#primaryimage\",\"url\":\"https:\/\/blog.bardalen.no\/wp-content\/uploads\/2022\/12\/Skjermbilde-2022-12-29-kl.-13.50.39.png\",\"contentUrl\":\"https:\/\/blog.bardalen.no\/wp-content\/uploads\/2022\/12\/Skjermbilde-2022-12-29-kl.-13.50.39.png\",\"width\":996,\"height\":1234},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.bardalen.no\/index.php\/2022\/12\/29\/library-for-office-templates-in-sharepoint\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Hjem\",\"item\":\"https:\/\/blog.bardalen.no\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Creating a library for Office templates in SharePoint\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.bardalen.no\/#website\",\"url\":\"https:\/\/blog.bardalen.no\/\",\"name\":\"Blog.bardalen.no\",\"description\":\"A blog about cloudy stuff\",\"publisher\":{\"@id\":\"https:\/\/blog.bardalen.no\/#\/schema\/person\/824afefe68762a6905723a53c0f28f9a\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.bardalen.no\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"nb-NO\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/blog.bardalen.no\/#\/schema\/person\/824afefe68762a6905723a53c0f28f9a\",\"name\":\"Tony Bardalen\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"nb-NO\",\"@id\":\"https:\/\/blog.bardalen.no\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/433273fdcc418ba1a5101686ae0fa85fc15baf53a2bafc63eb84bce1911caa0e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/433273fdcc418ba1a5101686ae0fa85fc15baf53a2bafc63eb84bce1911caa0e?s=96&d=mm&r=g\",\"caption\":\"Tony Bardalen\"},\"logo\":{\"@id\":\"https:\/\/blog.bardalen.no\/#\/schema\/person\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Creating a library for Office templates in SharePoint - Blog.bardalen.no","description":"Create a central store for your companys Office templates with PowerShell","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:\/\/blog.bardalen.no\/index.php\/2022\/12\/29\/library-for-office-templates-in-sharepoint\/","og_locale":"nb_NO","og_type":"article","og_title":"Creating a library for Office templates in SharePoint - Blog.bardalen.no","og_description":"Create a central store for your companys Office templates with PowerShell","og_url":"https:\/\/blog.bardalen.no\/index.php\/2022\/12\/29\/library-for-office-templates-in-sharepoint\/","og_site_name":"Blog.bardalen.no","article_published_time":"2022-12-29T13:06:56+00:00","article_modified_time":"2022-12-30T08:45:08+00:00","og_image":[{"url":"https:\/\/blog.bardalen.no\/wp-content\/uploads\/2022\/12\/Skjermbilde-2022-12-29-kl.-13.50.39-827x1024.png","type":"","width":"","height":""}],"author":"Tony Bardalen","twitter_card":"summary_large_image","twitter_misc":{"Skrevet av":"Tony Bardalen","Ansl. lesetid":"4 minutter"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.bardalen.no\/index.php\/2022\/12\/29\/library-for-office-templates-in-sharepoint\/#article","isPartOf":{"@id":"https:\/\/blog.bardalen.no\/index.php\/2022\/12\/29\/library-for-office-templates-in-sharepoint\/"},"author":{"name":"Tony Bardalen","@id":"https:\/\/blog.bardalen.no\/#\/schema\/person\/824afefe68762a6905723a53c0f28f9a"},"headline":"Creating a library for Office templates in SharePoint","datePublished":"2022-12-29T13:06:56+00:00","dateModified":"2022-12-30T08:45:08+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.bardalen.no\/index.php\/2022\/12\/29\/library-for-office-templates-in-sharepoint\/"},"wordCount":496,"commentCount":0,"publisher":{"@id":"https:\/\/blog.bardalen.no\/#\/schema\/person\/824afefe68762a6905723a53c0f28f9a"},"image":{"@id":"https:\/\/blog.bardalen.no\/index.php\/2022\/12\/29\/library-for-office-templates-in-sharepoint\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.bardalen.no\/wp-content\/uploads\/2022\/12\/Skjermbilde-2022-12-29-kl.-13.50.39-827x1024.png","keywords":["Microsoft 365","PowerShell","SharePoint"],"articleSection":["Microsoft 365","PowerShell","SharePoint"],"inLanguage":"nb-NO","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blog.bardalen.no\/index.php\/2022\/12\/29\/library-for-office-templates-in-sharepoint\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/blog.bardalen.no\/index.php\/2022\/12\/29\/library-for-office-templates-in-sharepoint\/","url":"https:\/\/blog.bardalen.no\/index.php\/2022\/12\/29\/library-for-office-templates-in-sharepoint\/","name":"Creating a library for Office templates in SharePoint - Blog.bardalen.no","isPartOf":{"@id":"https:\/\/blog.bardalen.no\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blog.bardalen.no\/index.php\/2022\/12\/29\/library-for-office-templates-in-sharepoint\/#primaryimage"},"image":{"@id":"https:\/\/blog.bardalen.no\/index.php\/2022\/12\/29\/library-for-office-templates-in-sharepoint\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.bardalen.no\/wp-content\/uploads\/2022\/12\/Skjermbilde-2022-12-29-kl.-13.50.39-827x1024.png","datePublished":"2022-12-29T13:06:56+00:00","dateModified":"2022-12-30T08:45:08+00:00","description":"Create a central store for your companys Office templates with PowerShell","breadcrumb":{"@id":"https:\/\/blog.bardalen.no\/index.php\/2022\/12\/29\/library-for-office-templates-in-sharepoint\/#breadcrumb"},"inLanguage":"nb-NO","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.bardalen.no\/index.php\/2022\/12\/29\/library-for-office-templates-in-sharepoint\/"]}]},{"@type":"ImageObject","inLanguage":"nb-NO","@id":"https:\/\/blog.bardalen.no\/index.php\/2022\/12\/29\/library-for-office-templates-in-sharepoint\/#primaryimage","url":"https:\/\/blog.bardalen.no\/wp-content\/uploads\/2022\/12\/Skjermbilde-2022-12-29-kl.-13.50.39.png","contentUrl":"https:\/\/blog.bardalen.no\/wp-content\/uploads\/2022\/12\/Skjermbilde-2022-12-29-kl.-13.50.39.png","width":996,"height":1234},{"@type":"BreadcrumbList","@id":"https:\/\/blog.bardalen.no\/index.php\/2022\/12\/29\/library-for-office-templates-in-sharepoint\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Hjem","item":"https:\/\/blog.bardalen.no\/"},{"@type":"ListItem","position":2,"name":"Creating a library for Office templates in SharePoint"}]},{"@type":"WebSite","@id":"https:\/\/blog.bardalen.no\/#website","url":"https:\/\/blog.bardalen.no\/","name":"Blog.bardalen.no","description":"A blog about cloudy stuff","publisher":{"@id":"https:\/\/blog.bardalen.no\/#\/schema\/person\/824afefe68762a6905723a53c0f28f9a"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.bardalen.no\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"nb-NO"},{"@type":["Person","Organization"],"@id":"https:\/\/blog.bardalen.no\/#\/schema\/person\/824afefe68762a6905723a53c0f28f9a","name":"Tony Bardalen","image":{"@type":"ImageObject","inLanguage":"nb-NO","@id":"https:\/\/blog.bardalen.no\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/433273fdcc418ba1a5101686ae0fa85fc15baf53a2bafc63eb84bce1911caa0e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/433273fdcc418ba1a5101686ae0fa85fc15baf53a2bafc63eb84bce1911caa0e?s=96&d=mm&r=g","caption":"Tony Bardalen"},"logo":{"@id":"https:\/\/blog.bardalen.no\/#\/schema\/person\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/blog.bardalen.no\/index.php\/wp-json\/wp\/v2\/posts\/265","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.bardalen.no\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.bardalen.no\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.bardalen.no\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.bardalen.no\/index.php\/wp-json\/wp\/v2\/comments?post=265"}],"version-history":[{"count":16,"href":"https:\/\/blog.bardalen.no\/index.php\/wp-json\/wp\/v2\/posts\/265\/revisions"}],"predecessor-version":[{"id":284,"href":"https:\/\/blog.bardalen.no\/index.php\/wp-json\/wp\/v2\/posts\/265\/revisions\/284"}],"wp:attachment":[{"href":"https:\/\/blog.bardalen.no\/index.php\/wp-json\/wp\/v2\/media?parent=265"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.bardalen.no\/index.php\/wp-json\/wp\/v2\/categories?post=265"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.bardalen.no\/index.php\/wp-json\/wp\/v2\/tags?post=265"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}