{"id":538,"date":"2024-03-13T12:29:25","date_gmt":"2024-03-13T11:29:25","guid":{"rendered":"https:\/\/www.paalolav.no\/?p=538"},"modified":"2024-03-13T12:29:51","modified_gmt":"2024-03-13T11:29:51","slug":"automating-page-templates-in-sharepoint-online","status":"publish","type":"post","link":"https:\/\/www.paalolav.no\/?p=538","title":{"rendered":"Distributing page and news templates in SharePoint Online"},"content":{"rendered":"\n<p>According to Copilot, in\u00a0<strong>SharePoint Online<\/strong>, well-designed\u00a0<strong>page and news templates<\/strong>\u00a0play a crucial role in enhancing collaboration and communication. These templates ensure\u00a0<strong>consistent branding<\/strong>, efficient content creation, and structured layouts. Authors can focus on their message without worrying about formatting, resulting in a seamless user experience across devices. Additionally, templates facilitate targeted content delivery, version control, and SEO optimization. In summary, these templates empower organizations to create impactful content efficiently while maintaining a cohesive visual identity.<\/p>\n\n\n\n<p>Anyways, quite a few of my customers use different templates for news and pages in&nbsp;<strong>SharePoint Online<\/strong>. For intranets that have separate sites for news and pages, I\u2019ve devised a solution: I store all the template files in a shared assets site and include a choice column where the customer designates each template as either a news template or a page template. The process automatically removes old templates and generates new ones, ensuring that centrally distributed templates are consistently available in the solution.<\/p>\n\n\n\n<p>Additionally, I\u2019ve developed a&nbsp;<strong>Logic App<\/strong>&nbsp;that retrieves these templates and distributes the page and news templates to the appropriate sites within the hub. This approach streamlines the user experience by offering fewer, yet more relevant, templates for selection.<\/p>\n\n\n\n<p><strong>Screenshot of the Logic App (from the Preview Designer):<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><a href=\"https:\/\/www.paalolav.no\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-13-at-12.11.08.png\"><img loading=\"lazy\" decoding=\"async\" width=\"836\" height=\"1024\" src=\"https:\/\/www.paalolav.no\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-13-at-12.11.08-836x1024.png\" alt=\"\" class=\"wp-image-539\" style=\"width:650px;height:auto\" srcset=\"https:\/\/www.paalolav.no\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-13-at-12.11.08-836x1024.png 836w, https:\/\/www.paalolav.no\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-13-at-12.11.08-245x300.png 245w, https:\/\/www.paalolav.no\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-13-at-12.11.08-768x941.png 768w, https:\/\/www.paalolav.no\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-13-at-12.11.08-1253x1536.png 1253w, https:\/\/www.paalolav.no\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-13-at-12.11.08.png 1312w\" sizes=\"(max-width: 836px) 100vw, 836px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/www.paalolav.no\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-13-at-12.11.44.png\"><img loading=\"lazy\" decoding=\"async\" width=\"540\" height=\"1024\" src=\"https:\/\/www.paalolav.no\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-13-at-12.11.44-540x1024.png\" alt=\"\" class=\"wp-image-540\" srcset=\"https:\/\/www.paalolav.no\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-13-at-12.11.44-540x1024.png 540w, https:\/\/www.paalolav.no\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-13-at-12.11.44-158x300.png 158w, https:\/\/www.paalolav.no\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-13-at-12.11.44-768x1457.png 768w, https:\/\/www.paalolav.no\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-13-at-12.11.44-810x1536.png 810w, https:\/\/www.paalolav.no\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-13-at-12.11.44.png 992w\" sizes=\"(max-width: 540px) 100vw, 540px\" \/><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>According to Copilot, in\u00a0SharePoint Online, well-designed\u00a0page and news templates\u00a0play a crucial role in enhancing collaboration and communication. These templates ensure\u00a0consistent branding, efficient content creation, and structured layouts. Authors can focus on their message without worrying about formatting, resulting in a seamless user experience across devices. Additionally, templates facilitate targeted content delivery, version control, and SEO [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":541,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[86,70,78,67],"tags":[74,101],"class_list":["post-538","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-automations","category-intranet","category-logic-apps","category-sharepoint","tag-sharepoint","tag-templates"],"_links":{"self":[{"href":"https:\/\/www.paalolav.no\/index.php?rest_route=\/wp\/v2\/posts\/538"}],"collection":[{"href":"https:\/\/www.paalolav.no\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.paalolav.no\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.paalolav.no\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.paalolav.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=538"}],"version-history":[{"count":2,"href":"https:\/\/www.paalolav.no\/index.php?rest_route=\/wp\/v2\/posts\/538\/revisions"}],"predecessor-version":[{"id":543,"href":"https:\/\/www.paalolav.no\/index.php?rest_route=\/wp\/v2\/posts\/538\/revisions\/543"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.paalolav.no\/index.php?rest_route=\/wp\/v2\/media\/541"}],"wp:attachment":[{"href":"https:\/\/www.paalolav.no\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=538"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.paalolav.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=538"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.paalolav.no\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=538"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}