do JSLink customizations work well in the modern UI for document libraries?

I saw couple of articles which says NO JS/CSS Customization in modern UI

Please advise on the same


JSLink will not work, there are a few alternative options. However, you should carefully analyze your current JSLink business logic and compare available options in modern UI.
If you have heavy javascript customizations with JSLink, most likely you won't be able to successfully port everything to modern UI.

Here are the alternative options I was talking about:

  • Column Formatting - it only supports UI styling customizations for columns via JSON, javascript isn't allowed

  • Field Customizer - you can use javascript to change look and feel of a column inside listview.

  • ListView Command Set - extends the SharePoint command surfaces to add new actions, and provides client-side code that you can use to implement behaviours.


In SharePoint Online modern interface list/library view, the JSLINK will not work.

We can use the column formatting to achieve the same requirement, the following official document for your reference:

Use column formatting to customize SharePoint

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.