Wiki pages are being used widely across organizations because they provide a quick and efficient way to gather large no. of diverse information at a single page which can be shared throughout the organization.
At work, we’re regularly asked by customers of The Muhimbi PDF Converter Services Online, if our PDF Converter can be used to convert SharePoint Online wiki pages to PDF in conjunction with Microsoft Flow, Logic Apps, and PowerApps? The short answer is yes, and the post below details how you can do it.
For those not familiar with the product, The Muhimbi PDF Converter Online is one of a line of subscription services that converts, merges, watermarks, secures, and OCRs files from Microsoft Flow, Logic Apps, and PowerApps- not to mention your own code using C#, Java, Python, JavaScript, PHP, Ruby and most other modern platforms.
Before we get into the How-TO, let’s review what SharePoint Online wiki Pages are in the first place.
A SharePoint Online wiki is a SharePoint site that is designed for groups of people to quickly access and share ideas by creating simple pages and linking them together. Your organization may use a wiki for a variety of reasons. On a large scale, you can share large volumes of information in an Enterprise wiki that acts as a central database, while also being easy to use for non-technical staff. On a smaller scale, you can use a team site as a wiki to gather and share ideas quickly about a single project.
In his post we’ll show you how to create a Power Automate (Flow) solution to convert a SharePoint Online wiki page to PDF whenever a new wiki page is created or an existing wiki page is modified.
Prerequisites
Before we begin, please make sure the following prerequisites are in place:
Now, on to the details of how to create a Power Automate (Flow) solution to convert SharePoint Online wiki pages to PDF whenever a new wiki page is created or an existing wiki Page is modified.
First let’s review how the basic structure of our Power Automate (Flow) looks :
Step 1 – Trigger
Step 2 – Convert HTML to PDF
Step 3 – Create File
That is it, create or update a wiki page, wait a few seconds, and then open the generated PDF.
To see the fruits of our labor, please see below what the Wiki page looks like when viewed in a browser and how it looks as a PDF.
Source Wiki Page –
Converted PDF –
Note – You will notice that the PDF includes some navigation elements. Ideally SharePoint would suppress this information in ‘Print’ mode, but it it doesn’t. We have no control over this unless you want to take the extra step of adding the following CSS to each wiki page:
<style>.ms-core-navigation { DISPLAY: none }#contentBox { margin-left: 0px }</style>
Keep checking this blog for exciting new articles about Power Automate, SharePoint Online, Power Apps and document conversion and manipulation.