AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Sharepoint Modern List Print Item4/29/2021
See our Cookie Policy dismiss Sign in Join now Download SharePoint list item as PDF using Microsoft Flow (with some help from SPFx extensions) Published on May 29, 2018 May 29, 2018 21 Likes 3 Comments Report this post RaviChandra Maniyani Follow Senior SharePoint Consultant at Netwoven Inc.Like 21 Comment 3 Share LinkedIn Facebook Twitter 2 Recently I was working on Microsoft Flow and one of the interesting action is Convert file which can take HTML file as an input and convert them it into a PDF file.You can hook this Flow to a SharePoint List (via SPFX extension) and can be used to generate a PDF file on the selected list item.
![]() ![]() Using Compose action and trigger function grab the list item ID from the request and pass that value to Get Item action which queries the targeted list. Add a Get File action and grab an image from the SharePoint document library. Convert this image to dataURI format, so html can render it. To keep things simple, pull only few columns from the queried list and use them to create the final HTML table. Once you have the HTML, provide the URL in the Convert file action. ![]() It is time to hook this to a SharePoint list via SPFx extensions. Sharepoint Modern List Print Item How To Get StartedIf you are totally new to SPFx extension I refer you to read this Microsoft blog which details on how to get started. Also make sure the PDF command is visible only when one item is selected in the list. Store only non-secured contents in the list or add additional validation in the Flow, so it executes only when it called via SPFx extensions. Follow Microsoft Flow, SharePoint Online Convert to PDF SPFx extensions 3 comments Sign in to leave your comment Show more comments. More from RaviChandra Maniyani 11 articles SharePoint Hub Sites Coming to Office 365 March 25, 2018 New Communication sites Overview July 9, 2017 Hide columns in SharePoint list using April 19, 2017 LinkedIn 2020 About Accessibility User Agreement Privacy Policy Cookie Policy Copyright Policy Brand Policy Guest Controls Community Guidelines (Arabic) etina (Czech) Dansk (Danish) Deutsch (German) English (English) Espaol (Spanish) Franais (French) Bahasa Indonesia (Bahasa Indonesia) Italiano (Italian) (Japanese) (Korean) Bahasa Malaysia (Malay) Nederlands (Dutch) Norsk (Norwegian) Polski (Polish) Portugus (Portuguese) Romn (Romanian) Русский (Russian) Svenska (Swedish) (Thai) Tagalog (Tagalog) Trke (Turkish) (Chinese (Simplified)) (Chinese (Traditional)) Language.
0 Comments
Read More
Leave a Reply. |