Skip to content
This repository was archived by the owner on Nov 9, 2021. It is now read-only.

API sync - add API to import from custom_fields(squash) CiviCooP/org.… #27

Merged
merged 1 commit into from
Oct 15, 2021

Conversation

rubofvil
Copy link
Contributor

@rubofvil rubofvil commented Jul 5, 2021

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 -> #25

@jaapjansma jaapjansma merged commit 36eaf7f into CiviCooP:master Oct 15, 2021
@jaapjansma
Copy link
Contributor

Thanks @rubofvil

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants