I have JS file that can open pdf files into new windows, now I want to know how can I upload that to the document view? this is the AllItems.aspx file that display all the documents and this is my site collection sitename/September05TeamSite. I can't find the JSLink property on this page, I can only see the JSLink property on the Webparts.

1 Answer 1


Edit the page of AllItems.aspx in SharePoint Designer and then edit the webpart. You will find the JSLink option on the webpart inside AllItems.aspx for that webpart.

Alternatively, you can click the Library Tab, then "Form Web Parts" -> "Default Display Form" to edit the webpart of the default display form (AllItems.aspx). The JSLink will be in the webpart options of the webpart there.

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.