API File upload does not work for ONLYOFFICE field

Any critical bugs will be fixed within 24-48 hours.
Post Reply
thielem
Posts: 22
Joined: 12 Mar 2023, 22:30
Name: Moritz Thiele
Location: Germany, Berlin

API File upload does not work for ONLYOFFICE field

Post by thielem »

Hi!
The usual syntax for uploading a file to an attachments field does not work for the new field type "ONLYOFFICE server".
I am assuming that it is just not implemented yet, but I am treating it as a bug because our usual workflow with uploading attachments via API does not work anymore after migrating to ONLYOFFICE.

I appreciate your help!
SCR-20240429-jblt.png
User avatar
support
Site Admin
Posts: 6216
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: API File upload does not work for ONLYOFFICE field

Post by support »

The source for this filed type was missed. Added it. File from archive replace to plugins\ext\classes\api\
Let me know if it works ok now.
Attachments
api.zip
(10.29 KiB) Downloaded 7 times
thielem
Posts: 22
Joined: 12 Mar 2023, 22:30
Name: Moritz Thiele
Location: Germany, Berlin

Re: API File upload does not work for ONLYOFFICE field

Post by thielem »

Yes that works, thank you!
Post Reply