Forum Discussion

VeeExcelLearn's avatar
VeeExcelLearn
Brass Contributor
Aug 09, 2022

What is the best way to print out a SharePoint List

How do I make it easy for someone to print a SharePoint list that is filtered and make it come out clean and formatted?  The people who would be printing this are Presidents so I dont want them to fumble through exporting to Excel as they are not familiar with this environment especially when it comes to printing.  I know it will come out out of page range.  

  • VeeExcelLearn 

     

    There is no OOTB way to do so, you can add your custom button in List View using SPFX Extension - List View Command set and you can implement your own logic for print.

     

    Below is the similar thread which is doing print for single item with template so you can extend it according to your requirement to support printing of all the list items.

     

    https://github.com/pnp/sp-dev-fx-extensions/tree/main/samples/react-command-print

     

    Hope it will helpful to you

    • VeeExcelLearn's avatar
      VeeExcelLearn
      Brass Contributor
      kalpeshvaghela looks like something that would work but the question is is this for an individual item or the entire list. In my case I want the entire list to be printed not an item. Is this just JSON code and if so where do I put it. Please be patient as I am starting my learning journey thank you.

Resources