I have created a custom list definition and detailed in many articles across the net I have specified my file in the JSLink property of the view. For some reason it is no longer working.
Note: I have also tried ~layouts. But for some reason when I create the list it is no longer working. I have tried creating the list in both Powershell and the UI.
When I set the JSLink property on the web part on the view, it works as expected, but no through the schema.xml any more.
console.log("") message inside the file, which is only called when I set the JSLink property on the web part itself.
I can also see from View Source that the file is not being added.
I have checked the JSLink property on the View in Powershell and it is set to the one I define in the schema.xml
Is there something I am missing?