Save publishing site as template – The right way using PnP Provisioning

…if you are familiar with remote provisioning technics which I’ve been promoting for years, this is a kind of similar model. You create a site, out of the box site and then apply actions on top of it so you don’t break the site by using something evil like site definitions or web templates…

Save your newly created sites as templates is one of the best features on SharePoint, it saves you a lot of time and work if you want to replicate them in your environment but this is not the best way of doing it as explained in the quote above specially if you are using Publishing features.

In this article I’ll explain you how to save and deploy a Publishing site using the PnP PowerShell and the PnP Provisioning.

Save Site as Template - SharePoint

(more…)

Build a breadcrumb using SPFx extensions

A few months ago, I’ve built a solution to add the breadcrumb navigation to all SharePoint sites and pages. While that solution still works fine on SharePoint 2013, 2016 and on the classic experience of SharePoint online it no longer works for the modern sites.

In the previous solution I used a script link to add the breadcrumb globally to the site collection, this functionality was disabled by Microsoft in the modern experience and it was replaced by the SPFx Extensions.

(more…)

What’s new for SharePoint from Microsoft Ignite

The third edition of Microsoft Ignite occurred from 25 to 29 of September in Orlando, Florida and had 26 000 attendees, for SharePoint it was an amazing week with a lot of new features being announced, if you hadn’t the opportunity to attend the event in this article you will find a resume of the announcements.

SharePoint is growing more than ever and Jeff Teper made it clear with the announced numbers, over the last 12 months the number of users and organizations that joined SharePoint is higher than the last 12 years. Check down below what will be the features that will continue to bring more users to get on board with the platform.

(more…)

How to add Google Analytics to SharePoint without modifying the master page

Google Analytics is the most widely used web analytics service in the internet, it provides a concise analysis with reports of everything that happens in your site as well as real time reports, mostly targeted for public sites it also works on intranets.

Intranet portals are the central hub of companies; important information is communicated to employees through this portals and you need to make sure that everyone can access to it no matter the device or technologies used.

Analyzing your intranet portal will help you to understand how users interact with it, what are the most viewed sites and what sites do you need to improve.

Add JavaScript File

(more…)

Can you still use sandbox solutions in 2017?

The answer to this question is yes, but… not for all situations and not all types of sandbox solutions.

SharePoint sandbox solutions were introduced with SharePoint 2010 and provided a mechanism to execute code outside of the ISS worker process. The sandbox solutions do not affect the entire farm; they are installed per site collection and they can be installed by the site collection administrator.

Every day I deal with SharePoint users that are extremely afraid of using sandbox solutions mainly because the message about this type of solutions being deprecated was not properly communicated by Microsoft.

sandbox solutions in 2017

(more…)

Create a modern breadcrumb navigation on SharePoint

Breadcrumb navigation was available by default on SharePoint 2007 and 2010 but with the introduction of SharePoint 2013 it was removed and until today it wasn’t reintroduced.

Today I’m revisiting one my most read articles, back in 2013 I wrote an article to explain how this functionality can be added again to SharePoint and judging by the number of views this article still has there’s a lot of people trying to get the breadcrumb back.

The method from the previous article is still valid but it requires you to manually modify the master page, if you are not going to customize the layout of your site there’s no need to mess with it.

SharePoint Breadcrumb

(more…)

Fix publishing pages with custom page layouts created from template

This article is a continuation of my previous article that explains how to save publishing sites as templates.

Per the feedback received some people was not able to access the sites created with the template, this happens with sites that include pages with custom page layouts.

Before getting into details about how to fix this please notice that the previous article is a hack to save the site as a template, save site as a template is disabled in all Publishing sites and other type of sites with publishing features active, this means that the hack may not work in all SharePoint scenarios.

Page layout template error

(more…)

Save publishing site as a template

Save your newly created SharePoint site as a template can save you a lot of time if you want to replicate it again in your environment.

Unfortunately if you used a Publishing Site or if you had to activate the Publishing Features in a Collaboration Site, save site as a template will not be available.

In this article I explain all the steps to bring back this feature to the publishing sites and also the extra steps you may need to activate all site features.

Save Site as Template - SharePoint

(more…)

Remove Faulty Web Parts from page

If you are a SharePoint developer and the Web Part you are working on is causing so many errors that you can’t even edit the page this tip is for you.

Removing malfunction webparts is very easy all you have to do is access the Maintenance Web Part Page, in this article I’ll show you three different ways to open this page.

Remove SharePoint Web Part

(more…)

Be prepared to the SharePoint framework

The SharePoint Framework was announced on 4th of May and it introduced a new model to develop SharePoint webparts that is radically different from its predecessors.

Over the years SharePoint development required a specific environment, with SandBox and Farm webparts is required at least one server with SharePoint and Visual Studio to develop and debug, with the App model introduced in 2013 the SharePoint server is no longer needed but it requires Visual Studio and a Developer site collection hosted on Office 365.

With the new framework you are absolutely free to choose your environment, the only requirement is a computer able to run the latest web technologies, you can even use Mac OS or a Linux distro.

SharePoint Framework

(more…)


Web developer focused on SharePoint branding, blogger, tech enthusiast. Travelling and sports are my addictions, knowledge and success are my daily motivations.