I'm able to make changes(like background color for specific item) in listview webpart using JSLink.

My query - When I change the view from 'Current View' to Other 'Custom View' in ListView Webpart. It takes me to customview.aspx page and I don't see the background color changes appear in the listitem.

FYI: js file located in style library.

Am I missing something?

1 Answer 1


The page representing the other view ( customview.aspx in your case) is different from the page where JSLink is working for you. In this new page, you need to edit the web part to and include the JSLink reference just like it has been done for the other page.

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.