In the clue pool, I need a new field that allows me to upload attachments.
The types of attachments include: images, documents, videos, compressed files, etc.
Yes, SuiteCRM does not have file upload field type yet.
https://store.suitecrm.com/search/1/file%20upload/
In module builder, create new module, and select “File” type.
Builder will clone Documents module; then customize your module.
Important! You must enable legacy view for this module
Thanks! I didn’t know that we can build something like this.
But your solution will work if someone wants to create the custom module; not in the existing ones.
I belive that in a CRM application in not a bad idea to have attachments records separated from data records
Thank you very much for your reply.
I always thought it was because I hadn’t found the right place, but it turned out that there wasn’t this field type de.
Hey, there is this upload feature in the contract module and the document module.
If stored separately, there may be gaps or missing information when checking the follow-up records later.
Does the v8.8 version support it?
Unfortunately, I need to add fields in the current module, not in a new one.
Unfortunately no.
The backend code to upload files is in “file template” module that you can extend only when you create a new module
You may try this Introduction | Multiple File Upload on the store. Work in legacy view
Thank you for your advice.
Unfortunately, the plugins above the store still don’t support the v8.8 version.
Check Installation Guide | Multiple File Upload, at bottom
See how they added in the code:
vardefs.php
'filename' =>
array(
'name' => 'filename',
'vname' => 'LBL_FILENAME',
'type' => 'file',
'source' => 'non-db',
'comment' => 'The filename of the document attachment',
'required' => true,
'noChange' => true,
'allowEapm' => true,
'fileId' => 'document_revision_id',
'docType' => 'doc_type',
'docUrl' => 'doc_url',
'docId' => 'doc_id',
),