youtube image
From YouTube: Building extension to save documents as PDF in tenant document libraries

Description

In this 11-minute Developer-focused demo, Mikael Svenson shares his updated list extension first created 2 years ago for converting one or more selected documents into pdfs using internal SharePoint REST APIs. The extension uses 2 key methods – Export (download) and Save As (convert). Saves pdfs to current library. Mikael steps through the conversion and render coding – essentially copy entire document and metadata to blob, writes data into pdf. Tenant wide extension is automatically created in the App Catalog. This PnP Community demo is taken from the SharePoint Framework and JavaScript Special Interest Group (SIG) – Bi-weekly sync call recorded on March 25, 2021.

Demo Presenter: Mikael Svenson (Microsoft) | @mikaelsvenson

Supporting materials:
• Repo - Save and convert as PDF by PnP | https://github.com/pnp/sp-dev-fx-extensions/tree/master/samples/react-command-convert-to-pdf
• Documentation - SPRenderListDataOptions options | https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-lists-and-list-items-with-rest#sprenderlistdataoptions-options

Learn more:
• Learn more about the Microsoft 365 Patterns and Practices community at: http://aka.ms/m365pnp
• Visit the Microsoft 365 Patterns and Practices community YouTube channel: https://aka.ms/m365pnp-videos