How to save SharePoint Site Page as PDF and save PDF to document library

%3CLINGO-SUB%20id%3D%22lingo-sub-2099605%22%20slang%3D%22en-US%22%3EHow%20to%20save%20SharePoint%20Site%20Page%20as%20PDF%20and%20save%20PDF%20to%20document%20library%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2099605%22%20slang%3D%22en-US%22%3E%3CP%3EI%20would%20like%20to%20know%20if%20it%20is%20possible%20to%20automate%20the%20process%20of%20saving%20a%20SharePoint%20site%20page%20as%20a%20pdf%20and%20then%20saving%20this%20pdf%20into%20a%20document%20library.%20Currently%20to%20do%20this%20I%20have%20to%20print%20the%20page%20(ctrl%2Bp)%20and%20choose%20the%20option%20to%20save%20as%20pdf.%20Then%20once%20saved%20to%20my%20pc%20I%20upload%20the%20pdf%20file%20to%20the%20document%20library.%20Is%20it%20possible%20to%20have%20a%20webpart%20or%20button%20on%20the%20site%20page%2C%20which%20automatically%20does%20this%20for%20me%20using%20custom%20code%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2099605%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDocument%20Library%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2100804%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20save%20SharePoint%20Site%20Page%20as%20PDF%20and%20save%20PDF%20to%20document%20library%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2100804%22%20slang%3D%22en-US%22%3ENo%20direct%20way%20to%20do%20that%20without%20some%20coding%20%2F%20Flow.%20Just%20as%20an%20example%20(a%20little%20bit%20out%20of%20date%2C%20but%20it's%20a%20good%20sample%20to%20look%20at)%3A%20%3CA%20href%3D%22https%3A%2F%2Fblog.muhimbi.com%2F2017%2F10%2Fconverting-sharepoint-online-pages.html%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fblog.muhimbi.com%2F2017%2F10%2Fconverting-sharepoint-online-pages.html%3C%2FA%3E%3C%2FLINGO-BODY%3E
Frequent Visitor

I would like to know if it is possible to automate the process of saving a SharePoint site page as a pdf and then saving this pdf into a document library. Currently to do this I have to print the page (ctrl+p) and choose the option to save as pdf. Then once saved to my pc I upload the pdf file to the document library. Is it possible to have a webpart or button on the site page, which automatically does this for me using custom code?

1 Reply
No direct way to do that without some coding / Flow. Just as an example (a little bit out of date, but it's a good sample to look at): https://blog.muhimbi.com/2017/10/converting-sharepoint-online-pages.html