Skip to content

[EPIC] CD: Import and Export #37928

Open
0 of 2 issues completed
Open

Description

@zJaaal

Description

Content Drive is replacing Content Search, and there's one thing people still have to go back to the old portlet for: moving content in and out as CSV. Import and Export both live only in Content Search today, so anyone who bulk-loads content or pulls it out for a spreadsheet or a migration still has to leave Drive to do it.

This epic brings both into Drive. They're grouped because they are two halves of the same loop: what Export writes, Import should be able to read back.

The two are in different shape. Import is mostly frontend: the import endpoint already exists and already powers the legacy preview, so the work is the flow in Drive. Export needs a new endpoint, because the only export today is a legacy Struts action that works from search filters, handles one content type, and knows nothing about folders.

Child What it covers
#37896 Add CSV content import to Content Drive Import from the Upload button, with the same form and preview Content Search has
#37900 Add content export to Content Drive Export the selection, folders and content together, as one CSV per content type in a zip

Each child carries its own details.

Desired Outcome

  • An editor can import a CSV from Content Drive and gets the same options and the same preview of conflicts they get in Content Search today
  • An editor can select folders and content in Drive and export them, including everything inside those folders
  • A CSV produced by Export can be imported back without editing it
  • Export respects permissions: content the user can't see is never exported
  • Editors stop going back to Content Search to import or export

Target Personas

  • Developer teams
  • Content teams
  • DevOps teams
  • System administrators (dotCMS)

Links

Two related gaps to file separately. They're existing backend behavior, not part of this work:

  • An imported row whose folder doesn't exist lands at the site root with no error
  • The import job endpoints don't check who owns a job, so any backend user can see or cancel another user's import

Sub-issues

Sub-issues

0 of 2 Issues completed
Loading 2 sub-issues

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions