5

Go to Administer/System Settings/Misc...you should see an option for the maximum number of attachments?


5

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


3

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 ...


3

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 .../wp-content/plugins/civicrm/civicrm/CRM/Contribute/Form/Contribution/confirm.php 'PDFFilename' => 'receipt.pdf' - Line ...


2

I just stumbled on an extension for this: https://civicrm.org/extensions/e-mail-template-attachments Although, I'm having a little trouble with it maybe you'll have more luck.


2

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.


2

There is a special permission for accessing user file uploads in CiviCRM. You can turn this off for Anonymous user and I believe your files won't be accessible for Anonymous users.


2

We did end up using Documents - we added quite a few new features to it to extend its capabilities which you can read about here


2

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 ...


1

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: https://github.com/CiviCooP/org.civicoop.documents/blob/master/documents.php#L95


1

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.


1

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?


1

Please ignore what I wrote. The fix does work. I just fixed the wrong installation. What a dork. All sorted now.


1

If you are on WordPress, there are at least of couple of plugins that do full-text search on files: https://searchwp.com/ https://wordpress.org/plugins/opensearchserver-search/ 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. However, ...


1

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 ...


1

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-...


1

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


1

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 ...


1

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: https://github.com/civicrm/apachesolr_civiAttachments When you run a search with "Search => Full Text" and filter on activities, it will include any matches in PDFs/DOCs/etc that are ...


Only top voted, non community-wiki answers of a minimum length are eligible