0

I have created a JSLink file to open the edit form for a list item in a modal window. It works great on an Office 365 dev site, but when I try to use it within our on-premise SharePoint 2013 environment, I get a page not found error when clicking the "Send Comment to Manager" link. It's a standard task list, with no modifications.

I can manually open the link in the address bar without any issues, so the form is available.

JSLink Display

Page not found error

JSLink Code

  • How about sharing your code? As a blind guess I would say the page you are requesting does not exist. Check your browser dev tools - there should be the reason for the 404. – Mx. Jul 18 '16 at 10:22
  • The code is available via the gist.github.com/jwstl/4eadfb6f1411380a2ec3a7e520fadeb6 The issue was due to the URL path pointing to the page not being well formatted – Jason Jul 18 '16 at 22:13
  • 1
    So if you solved your problem you could either answer your own question or close it. – Mx. Jul 19 '16 at 8:06
0

the solution was to change the URL to the form from this

/Lists/Staffing%20Scheduling%20Standard%20Work%20Tasks/CommentForm.aspx?ID=

to this

/sites/standardwork/Lists/Staffing%20Scheduling%20Standard%20Work%20Tasks/CommentForm.aspx?ID=

Your Answer

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

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