Is JSLink exclusive to default forms?
The JSLink field exists on my default forms, like below:
However, it does not work when I create a new custom form via SP Designer, as below:
Is this expected?
How can I add JsLink to a custom form?
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.Sign up to join this community
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:
< ZoneTemplate >from the default form
< 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