Forum Discussion
John Aage Andersen
Sep 09, 2016Iron Contributor
JSlink not applying on list view web part! Where to store? How to correctly refer to it?
We have a customers list and on one page we have added the list view webpart. The list is shown with the name and other columns. We have a javascript display template (JSlink). We have stored t...
John Aage Andersen
Sep 09, 2016Iron Contributor
Thanks Juan
We will then keep that location for the javascript files.
But how exactly are the javascript files in that location to be referenced from inside the JSlink entry field?
Enjoy, John
Brent Caudill
Sep 09, 2016Copper Contributor
• When referencing the JS file in the JS Link field in the Web Part properties you need to use the ~sitecollection token:
~sitecollection/Library/jslink.js
~sitecollection/site/Library/jslink.js
- Sep 09, 2016Brent is correct!