Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add import method for sonata admin #27

Open
9 tasks
nicolas-bastien opened this issue Apr 30, 2021 · 0 comments
Open
9 tasks

Add import method for sonata admin #27

nicolas-bastien opened this issue Apr 30, 2021 · 0 comments

Comments

@nicolas-bastien
Copy link
Member

nicolas-bastien commented Apr 30, 2021

Goal

Use this bundle to import data from a screen in sonata admin

Todos

  • Create importTrait in Controller\Admin
  • implements import method base on sonata edit style
  • Add a generic form
  • use transformer to extract file or textarea data
  • use csv extractor and implement text extractor
  • add generic template
  • admin should implement configureImportColumns
  • use loader to have good performance

To be defnied

  • Implement a way to add transformer ex colums Fullname to extract to last and firstname

Description

  • Add an import action to SonataCRUD admin.
  • Allow you to upload a file or copy/paste data in a textarea.
  • Upload display a preview to show exactly what will be created, updated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant