0

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.

CommandAction="javascript:print();"

Is there any way to achieve similar functionality modern experience?

2

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, privacy policy and cookie policy

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