I have a problem using JSLink. The goal is to color in red, orange, green the priority field. For information, I followed step-by-step the tutorial given by Microsoft.
In Site Features, I've ACTIVATED the 'SharePoint Server Publication'
In Site Settings, I click on 'Master Page'. It send me to the master page gallery (on site collection). I added my .js, following this tutorial, with the following information:
- JavaScript display template
- target type = View
- standalone = Override
- target scope =
/site_collection/etc/etc/mysite/mylistview.aspx
And finally 'Publish' to validate.
In my list view, I click to modify the web part, and under Miscellaneous, in JS field, I add the link to the JS file in the masterpage. Ie,
/site_collection/etc/masterpage/colorpriority.js
After that, I close the file, but nothing happens !