The philosophy behind the PnP Provisioning Engine is changing, and it will start saving the content of the SharePoint sites if you explicitly request it.
Until now the provisioning engine was just getting the site structure, and the home page. To include content on it, you had to find workarounds to do it.
A year ago, I wrote an article with a workaround to include all the pages from a site in a template, it basically extracted the template multiple times (one for each page) and then combined everything in a single file.
With the latest release of the provisioning engine this workaround is no longer needed, and the pages are all added to the template at once. Lists items and documents are not yet supported but they will be also included in the upcoming releases.
This is a great change to the provisioning engine and finally it provides an easy way to migrate content from a site collection to another site collection.
How to Save a template with multiple pages
The example in this article was made using PnP PowerShell, to achieve the same result make sure you are using at least the June 2019 version.
To save a template with all the pages you will need to use the parameter -IncludeAllClientSidePages and it will extract all the pages in the Site Pages library including the page templates inside the template folder.
Connect-PnPOnline -url https://contoso.sharepoint.com
#The handlers parameter is optional, it’s used here to make the extraction faster
Get-PnPProvisioningTemplate -out template.xml -Handlers PageContents -IncludeAllClientSidePages
To apply the template back to another site you just need to run the Apply-PnPProvisioningTemplate cmdlet
If you are building and testing your pages on a dev environment this is an easy way to move all the pages to the production environment. If you will use this to migrate content, you will have to ensure that the resources referenced in the pages are available on the production site also.
Erwin van Hunen did a detailed explanation of this feature on the latest community call, you can watch it on the video below.
Community demo - Exporting and importing modern pages cross sites and tenants with PnP tools - YouTube
When you install SharePoint onprimises the image renditions are not generated automatically, and the renditions pages displays the error message below.
The blob cache is not enabled in this web application. Image renditions will not be generated until the blob cache is enabled. For information on turning on the blob cache, please review the product documentation.
To fix this issue and get the image renditions automatically generated follow the instructions provided in this article.
On the SharePoint server open the Internet Information Services (IIS) Manager
Select the SharePoint Website
On the Actions pane click on Explore
Open the web.config file with Notepad
Press CTRL + F and search for BlobCache
Change the enabled=”false” parameter to enabled=”true”
Restart the Website and you the renditions will start being generated when you upload the images
The insider Dev Tour is a Microsoft event that bring to multiple cities around the world the latest technologies to build experiences to Microsoft 365.
This year I’m one of the speakers in Lisbon and the title of my session is:
Introduction to Microsoft Graph Services
Microsoft Graph provides a unified programmability model that you can use to build apps for organizations and consumers that interact with the data of millions of users. You can use the Microsoft Graph REST APIs to access data in Azure Active Directory, Office 365 services, Enterprise Mobility and Security services, Windows 10 services, Dynamics 365, and more. We will spend the next 30 minutes exploring what you can do with the Microsoft Graph.
If you want to attend the Microsoft Insider Dev Tour make sure you register here.
Getting an error when installing SharePoint On-Prem prerequisites is a common issue but it doesn’t mean that you will need to start the installation again from scratch.
Typically it happens when the server is not connected to the internet and the tool is not able to download everything that is required to accomplish the installation, so the first thing to do is to ensure that the server is connected to the web.
If the issue persists even when connected to the web you can use the Windows Server Media DVD or ISO file to install the prerequisites.
For the second year in a row the SharePoint community was together in Las Vegas for the first major conference of the year.
Is typically during May that Microsoft announces the first batch of new features for SharePoint and this article has a resume of everything that will rollout during the next months.
Her you will find the major announcements that caught my eye, the road map for the next months, the keynote video and also the links to all the blog posts published by Microsoft.
Before heading into the new features watch the video that went viral during the conference and is making SharePoint look cool again.
New SharePoint innovations - YouTube
“SharePoint home sites, a dynamic, engaging, and personalized employee experience for your organization.”
SharePoint home sites were announced at the key note as the latest innovation for the intelligent intranet.
Home sites will be the landing page for your intranet that will group together news, events, content, conversations and video to deliver engaging experiences.
A home site is built on top of a communication site, during the initial release there will be just one for the entire tenant but is expected that this number will increase later.
You can read more about home sites on the two blog posts released during the event here and here.
Microsoft Search is an intelligent, enterprise search experience from Microsoft that applies the artificial intelligence technology (AI) from Bing and deep personalized insights surfaced by the Microsoft Graph, to make search more effective for you, increasing productivity and saving you time – so whether you’re looking to find people, files, or conversations, complete a task, pick up where you left off, or discover answers or insights, it’s just a click away, across all of your applications, your desktop, and your browser. Microsoft Search is ready when you are, so there’s nothing you need to do to start benefiting from this new search experience – just look for the new search box in the header of the applications you’re using everyday.
Microsoft Search on SharePoint is featured prominently in the header so it’s easy to find, it shows relevant information just by clicking in the new search box. You will notice that the old Search box was removed from the page area.
You can read more about Microsoft Search integrations here.
SharePoint Framework 1.9 will be available soon and it includes enhancements to the Microsoft Graph connected controls.
In addition to new scenarios you can build with SharePoint Framework, new options with SharePoint Framework tools will make creating solutions easier.
With library components, you can develop common modules of code that can be shared across multiple SharePoint Framework projects. In the upcoming 1.9 release of SharePoint Framework, coming soon, library component support will be generally available.
Microsoft is also always working to respond to your feedback, issues, and pain points. SharePoint Framework 1.8.2, released few weeks ago, updates compatibility to support Node.js 10 to help every developer use the latest releases.
More information for the developers is available here.
During the Microsoft sessions the road map for the next months was revealed, not just for SharePoint but for the entire Microsoft 365 ecosystem. Susan Hanley did a fantastic job and compiled all the slides in the presentation below. Enjoy.
SharePoint Virtual Summit
The keynote was live streamed as part of the SharePoint virtual Summit and the recording is available here. Watch the video below to see all the announcements for the intelligent workplace.
Microsoft 12 blog posts
Microsoft published 12 blog posts during the event with all the latest and greatest functionalities coming to SharePoint, all the links are available below.