the files are stored outside of civi database, the database itself contains only the file name, it shouldn't be a problem
However, did you think about using a "real" document management system (ie. one that offer full search on the documents and revision and whatelse) and integrate it with civi? given the quantities you expect, might be easier for the users
In a word, yes. You'll have to implement this as custom field sets, which is easy. That's menu option Administer/Customize Data and Screens/Custom fields. You can have a custom type of 'file' as a custom field, which then allows you to attach a file. You can have as many of these fields as you require, and you can set the custom field set as applying to ...
I didn't manage to test this but Receipt.pdf is been hard-coded in CiviCRM Core and if you need to change the name of the attachment then you need to look into the below file and you need to override the file to achieve your change
'PDFFilename' => 'receipt.pdf' - Line ...
I believe that's not possible yet (it would be a good feature to add to CiviCRM).
Adding attachments is only possible sending an email or bulk email, not when you create/edit a message template.
You could upload the file/attachment to your server/site and include a link that points to it in the message template so recipients can download it.
There are different solutions as you suggested. One is using custom fields of the type file upload or use activities.
There is indeed a document extension and this is one also capable of storing documents on a case. The advantage of the latter is that it could also store versions of the same document.
It is not yet possible to search for documents on a ...
I think how these options work
This options is used to build number of attachment on offline forms like Sending Email in the form activities etc. Till now its handled on All email forms, Note, Activity, Campaign and Grant. Setting 0 means no attachment field on all those forms.
Maximum Attachments For Backend Processes
This options is ...
I don't think either of those settings would help prevent attachments for mailings. The first one the help text says "Maximum number of files (documents, images, etc.) which can be attached to emails or activities. This setting applies to UI forms and limits the number of fields available on the form." Setting it to 0 does remove the attachments field from ...
It should be at url /civicrm/documents/search.
It looks like you need administer CiviCRM permission to use it.
If for some reason it isn't finding it try rebuilding the menu with /civicrm/menu/rebuild?reset=1
I'm assuming you mean this extension:
You can set up Scheduled Reminders to fire x hours after Membership Start/Join Date - and specify which membership types these relate to.
You should therefore either be able to attach the PDF to these, or, better in many cases, provide a link to the PDF so the attachment isn't part of the email.
Can you try sending gmail? to be sure the problem is on the sender side (civi) and not on the recipient one.
if the size is 0 byte, it might be that you have a limitation in PHP on how big files you upload/process can be. Is this a problem you have all the time or only with these files? are they big?
If you are on WordPress, there are at least of couple of plugins that do full-text search on files:
Since the files uploaded with CiviCRM are stored in the same folder hierarchy as the other WordPress uploads those plugins should be able to index and locate these files.
I think you're right. The table that links attachments to what they're attached to is civicrm_entity_file, and the table with details of the file itself is civicrm_file. In 4.4 (and indeed 4.6 and 4.7) the former has its own DAO but isn't its own API entity.
If you want to get details of the attachments on some entity, you might need to write a custom API ...
As the files are stored on disk, their size is not a significant issue, as @Xavier mentions in his answer. However, retrieving the files becomes slow at the operating system level in linux if you have a very large number files in the same directory - see answers 2 and following of https://stackoverflow.com/questions/466521/how-many-files-can-i-put-in-a-...
Do you have created the custom field on event?
I would suggest you to add manually (via the UI) an attachement and check how it looks like (using the api explorer and get the file(s)), it will be easier to understand what civi expects by looking at what it does
I've customized the Activity Report to display which activities have attachments. I don't think I added a filter to show ONLY records with attachments, but that's just another line or two of code. I've uploaded a copy to github here: https://github.com/PalanteJon/activityAttachmentReport/tree/master
Note that these aren't the only customizations I've made ...
This might be an answer to a slightly different question, but... in the past, I've used a mix of add-ons to perform a full-text search on activities and their attachments:
When you run a search with "Search => Full Text" and filter on activities, it will include any matches in PDFs/DOCs/etc that are ...