I want to add a print button to SharePoint modern experience list views in both Lists and Libraries.

In classic view print dialog can be opened with executing a javascript function in CommandAction property.


Is there any way to achieve similar functionality modern experience?

1 Answer 1


Unfortunately, this type of customization is disabled in the Modern list and libraries experience by Microsoft.

So, only option right now is to keep using classic lists experience if you want the functionality or wait for MS to allow customization.

Uservoice link - Allow Javascript customization and CSS branding/theming in the new Document Library Experience - upvote on this link and make your voice heard.

MSDN link - Customize modern list and libraries

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.