Answers.Body: <p>While Aidan's answer is correct that it's not hard to code a solution, you might be asking if a solution has already been coded.  If so, I'm afraid the answer is no.  </p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-11T18:10:35.100Z
Answers.LastActivityDate: 2019-01-11T18:10:35.100Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.Body: <p>This should be fairly simple to script using the Attachment api.  For docs, go to <a href="https://dmaster.demo.civicrm.org/civicrm/api#docs" rel="nofollow noreferrer">https://dmaster.demo.civicrm.org/civicrm/api#docs</a> and select Attachment as the entity which has an example of using create with a custom field.</p>
  
  <p><a href="https://i.sstatic.net/IGcCQ.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/IGcCQ.png" alt="enter image description here"></a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-10T19:45:41.003Z
Answers.LastActivityDate: 2019-01-10T19:45:41.003Z
Answers.UserDisplayName: Aidan
Body: <p>I have a bunch of certificates which are scanned as images that needs to be uploaded into the correct record to be attached in the Certificate file field.  Can this be 'imported' like how you can import data into CIVICRM contacts ?  Thanks.</p>
  
  <p>Clement</p>
  
Tags: <data-import>
Title: Mass upload of file to records
ThreadText: # Mass upload of file to records
  
  (Asked by: username_0 on 2019-01-07)
  
  I have a bunch of certificates which are scanned as images that needs to be uploaded into the correct record to be attached in the Certificate file field. Can this be 'imported' like how you can import data into CIVICRM contacts ? Thanks.
  
  Clement
  
  **Tags:** data-import
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2019-01-11. Score: 0 | Accepted answer
  
  While username_2's answer is correct that it's not hard to code a solution, you might be asking if a solution has already been coded. If so, I'm afraid the answer is no.
  
  
  ---
  
  ### Answer by username_2 on 2019-01-10. Score: 3
  
  This should be fairly simple to script using the Attachment api. For docs, go to <https://dmaster.demo.civicrm.org/civicrm/api#docs> and select Attachment as the entity which has an example of using create with a custom field.
  
  [![enter image description here](https://i.sstatic.net/IGcCQ.png)](https://i.sstatic.net/IGcCQ.png)
  
  
  ---
  
  