3

Both parts of my question have been answered other places but it is not clear if the two things I would like can happen simultaneously.

I have a standard task list that I wish to filter by a lookup column I added to the list.

  • The task items fail to filter by the SharePoint list filter until "server render" is checked (or another view other than the default is selected).
  • Checking "server render" allows filtering but breaks the checkbox functionality evidently because hierarchytaskslist.js does not load.
  • I tried a few different methods of loading hierarchytaskslist.js with "server render" checked but this results in the filter working, but the checkbox still not rendering (value shown as yes/no).

My question is, is there a way to get both the list filtering and the rendering of checkboxes to work at the same time?

  • Have you set that js file as a JSLink on the ListView? That's what Microsoft does by default to ensure it is there... But its a JSLink so other code can have removed it. But it could be server-render breaks something else and that's why MS decided to leave it out.... lots of bugs in that CSR code – Danny '365CSI' Engelman May 5 '17 at 18:01
  • @Danny'365CSI'Engelman I did add the JSLink reference and confirmed that it loaded but I'm afraid I don't fully understand the implications of server-render and JSLink, timing, etc. I also registered the SOD and loaded in a script editor, finally just inserting a copy/paste of the actual code in hierarchytaskslist.js right into the page but no combination of any of these with different views would allow for both functions to work at the same time. – Phil Detweiler May 5 '17 at 18:12
  • I am not going to test it, but if that JS file is not loaded or removed, I fear they had a problem in combo with Server Render and decided to remove/disable it. As I said, plenty of bugs in CSR. And as far as we know (after a year) CSR is not going to be available in (SPO) "Modern Experiences", so it looks like Microsoft has EOD (End Of Development) it – Danny '365CSI' Engelman May 5 '17 at 18:31
  • Interesting, thanks. I was thinking that perhaps the answer might be related to why the filtering works if a non-default view is selected (and server-render unchecked) but I'm not even clear on why this is the case... – Phil Detweiler May 5 '17 at 18:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.