Skip to content

civex.load_file_list

Load file refs from a file_list field. Returns the refs as a list without reading the bytes — use civex.load_file if you need the actual content of a single file, or feed the list into civex.match_files_to_records / civex.create_records_from_files.

Plugin ID: civex.load_file_list
Category: data-sources
Capabilities: read

Config

Field Type Required Default Description
field string yes The file list field of the record it runs on.

Outputs

Name Type Required Description
files files yes The files in the field.
- id: get_photos
  plugin: civex.load_file_list
  config:
    field: photos

- id: process
  plugin: civex.match_files_to_records
  inputs:
    files: get_photos.files