JSLink on Custom Form
La solution
When you use designer to create a form - it creates a stone age webpart DataFormWebPart
that does not have JSLink property. Only XSL Link
Starting form SharePoint 2013, the forms use ListFormWebPart
webpart. It does have JSLink.
If you want SharePoint Designer to create forms - then follow these steps:
- Create a new form
- Borrow the node
< ZoneTemplate >
from the default form - Replace your new form's
< ZoneTemplate >
with the one you copied from the out-of-the-box one.
P.S. I don't like the idea of using SharePoint Designer in 2018. There are very few legitimate cases when it's justified, but it's a topic for a different discussion
Licencié sous: CC-BY-SA avec attribution
Non affilié à sharepoint.stackexchange