Forum Discussion
What is the best way to print out a SharePoint List
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
- VeeExcelLearnAug 10, 2022Brass Contributorkalpeshvaghela 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.
- kalpeshvaghelaAug 10, 2022Iron Contributor
As mentioned in previous reply, sample which I shared is only for single item, you need to adapt it for entire list.
and it's not the JSON code but it's SharePoint Framework Application Customizer - List View Command set which is using React as Framework so if you are starting your journey then first you need to grab some knowledge about SharePoint Framework
Documentation
https://docs.microsoft.com/en-us/sharepoint/dev/spfx/sharepoint-framework-overview
Hope it will help to you.
- VeeExcelLearnAug 10, 2022Brass ContributorI am not really a developer but an end user. I am not sure IT would allow me access to do this. Are there any other options for me?