Unable to upload Attachments to list items

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
Alex
Posts: 32
Joined: Fri Jun 30, 2017

04 Aug 2017

Hi,
we have the follwing issue with SPFORMS in O365

1. starting create new list item
2. click on "Attach file"
3. pick the file for upload
4. click OK and nothing happens
following mesage is being shown in the Console

Code: Select all

Uncaught TypeError: Cannot read property 'insertRow' of null
    at OkAttach (form.js:1)
    at HTMLInputElement.onclick (fd_CSM Comment_NewForm.aspx?List=8b74836c-784a-4dbb-a6c2-8912e4ba5675&Source=https%3A%2F%2F[DOMAINNAME].sharepoint.com%2Fsites%2Fcsm%2Fweb2%2FLists%2FTicketList%2Ffd_CSM%20Ticket_DisplayForm.aspx%3FList%3De1adb08d%2Da834%2D4385%2D9f6b%2D5fc20b4e3486%26ID%3D14%26Source%3Dhttps%3A%2F%2F[DOMAINNAME]%2Esharepoint%2Ecom%2Fsites%2Fcsm%2Fweb2%2FSitePages%2FHome%2Easpx%26ContentTypeId%3D0x010800DF81B6C359A33445826B04B865CBD5C700A750A5E9E02FED4A96EA4ECBEB19B807&RootFolder=&IsDlg=1&Web=303f9eb6-430f-4299-baa1-a301bd6ad494:676)
OkAttach @ form.js:1
onclick @ fd_CSM Comment_NewForm.aspx?List=8b74836c-784a-4dbb-a6c2-8912e4ba5675&Source=https%3A%2F%2F[DOMAINNAME].sharepoint.com%2Fsites%2Fcsm%2Fweb2%2FLists%2FTicketList%2Ffd_CSM%20Ticket_DisplayForm.aspx%3FList%3De1adb08d%2Da834%2D4385%2D9f6b%2D5fc20b4e3486%26ID%3D14%26Source%3Dhttps%3A%2F%2F[DOMAINNAME]%2Esharepoint%2Ecom%2Fsites%2Fcsm%2Fweb2%2FSitePages%2FHome%2Easpx%26ContentTypeId%3D0x010800DF81B6C359A33445826B04B865CBD5C700A750A5E9E02FED4A96EA4ECBEB19B807&RootFolder=&IsDlg=1&Web=303f9eb6-430f-4299-baa1-a301bd6ad494:676
what's going wrong?

br, Alex

User avatar
Nikita Kurguzov
Posts: 889
Joined: Mon Jul 03, 2017

04 Aug 2017

Hello, Alex!
Did you add Attachments field to the Form?
Attachments.png
Attachments.png (4.51 KiB) Viewed 2736 times
It is very important for attachments to work properly.
Cheers

Alex
Posts: 32
Joined: Fri Jun 30, 2017

07 Aug 2017

Thanks Nikita, works as expected!

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests