Hi,
I've created a plugin with builder that is intended to save pdf files (as well as doc, docx) too.
I created an attachMany relation:
public $attachMany = [
'orderdocuments' => ['System\Models\File', 'public' => false]
];
and added a file upload widget to my backend form and the setting to the allowed extensions and mime like pdf, doc,docx
Upload is working fine, files are saved. By clicking on the attached file the usual dialog appears with title and description to edit and the attachment url . But I can't find a way to download or display the files from the backend like eg. in a webmail interface. The link created is something like this
http://.../backend/backend/files/get/NTIhNzufnHikdKLWQrsoplXRhYmFkNjA=
without any document at last and is stopped by the antivirus Any hints where I can find a howto?
Thanks in advance
Last updated