I have created a list and in the newform I have added a jslink in it. Then I have saved this list as a List template to create other lists based on it.

When I create a new list based on this list template above, the jslink is not added anymore in the newform.

How can I add the jslink in the newform of the List Template I saved?

1 Answer 1


Alas The JSLink is not part of the Template as the Template can be used on another Site Collection and existing JSLinks may point to non-existing files.

(you could also say: Microsoft did not update the old Template code to include JSLinks .. then again Publishing Sites can't be templated because of hardcoded ContentType IDs)

So you have to re-assign the JSLinks again, by hand, or with code


Makes the manual way a bit easier:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.