API sync - add API to import from custom_fields(squash) CiviCooP/org.…
Created by: rubofvil
Add API to import the files in custom fields to the extension org.civicoop.documents:
The API can be used in this way
drush cvapi documents.import subject={String:Subject of the document} custom_field_id={Int:Id of custom_field}
- There is no limit in the execution, will try to migrate in one time, to big imports is better execute in bash to avoid timeouts
- The original file is keeped (In custom field)
Issue -> https://github.com/CiviCooP/org.civicoop.documents/issues/25