Can we use JSLink for built-in application pages for specific type of Lists?

What possible ways we can add CSS and JS to specific out of box List application pages?

May can use JSlink?

  • You mean assign a JSLink file to a particular custom list? Jan 26, 2015 at 14:25

1 Answer 1


You can set the JSlink property using the server side object model.


using (SPSite site = new SPSite(SPContext.Current.Web.Url))
    SPWeb web = site.RootWeb;
    SPField taskPriorityField = web.Fields["Priority"];

    taskPriorityField.JSLink = "/_layouts/15/TestJslink/TestJsLink.js";

For CSS :

you have specific files in the solution that will be deployed in the virtual file /_Layout.

For more informations : Informations MSDN


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.