Payload is the open-source, fullstack Next.js framework, giving you instant backend superpowers. Get a full TypeScript backend and admin panel instantly. Use Payload as a headless CMS or for building powerful applications.
feat(plugin-import-export): adds support for disabling fields (#13166)
### What? Adds support for excluding specific fields from the import-export plugin using a custom field config. ### Why? Some fields should not be included in exports or previews. This feature allows users to flag those fields directly in the field config. ### How? - Introduced a `plugin-import-export.disabled: true` custom field property. - Automatically collects and stores disabled field accessors in `collection.admin.custom['plugin-import-export'].disabledFields`. - Excludes these fields from the export field selector, preview table, and final export output (CSV/JSON).
P
Patrik committed
5839cb61fa9c01b156be400c7c48d665d41ff27e
Parent: f4d951d
Committed by GitHub <noreply@github.com>
on 7/14/2025, 9:10:36 PM