Export
Assets
eas_fields
Check if the field name is requested in eas_fields. If yes, proceed.
assets
Check for a rule in assets. A rule applies if any file in the array of files has an explicit rule.
If a rule applies but no explicit rule is defined, the file is exported only if it is preferred.
The explicit rule false, says to not export the file.
The explicit rule true applies the default rule to the asset. The default rule is in eas_field for the matched field name.
Any other rule must be a list of versions which versions of that file are exported.
A rule in assets always exports actual file version data, not just the url as it is possible with eas_field.
eas_field
The eas_field exports actual file data if files is set to true. The version is determined by the versions array.
If eas_field specifies data to be exported, the data array contains a list of versions for which no actual file version data is exported, but only the url to the files as well as other information.
element name
The element name for the exported file is the column name. It can be overwritten in fields.
Example output
Last updated