You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
1.2 KiB

  1. As importation and exportation are different processes, they are triggered in different ways :
  2. **To import files**, you need to create an *"Attachment Import Task"* (menu *Settings > Technical > Attachments Import Tasks*) which defines :
  3. - where to find the files to import from the backend server (path to the files, selection pattern)
  4. - what to do with the source files in the backend server (avoid duplicates, delete/rename after import...)
  5. - how the files will be processed once imported (through the **File Type** field).
  6. .. image:: ../static/description/import_task.png
  7. .. epigraph::
  8. 🔎 The **File Type** options are defined by other modules built to process the Attachments Queues with the same "File Type".
  9. **To export files**, you need first to register them as *"Attachments Queues"* objects linked to an *"Attachment Export Task"* (which set automatically their **File Type** to *"Export File (External Location)"*).
  10. Then, you can export one file at a time from the *Attachment Queue*'s form view, or export all the *Attachments Queues* in a pending state related to the same *Export Task* from the given *Export Task* form view (menu *Settings > Technical > Attachments Export Tasks*) :
  11. .. image:: ../static/description/export_task.png