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.



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


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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.