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

Get RelationField data #6

Open
vinitchopra12 opened this issue Jul 28, 2020 · 1 comment
Open

Get RelationField data #6

vinitchopra12 opened this issue Jul 28, 2020 · 1 comment

Comments

@vinitchopra12
Copy link

I am just wondering how can I extract the Relation Field Data in the Output File.
Eg: If I want to export all the Products Objects in that I want the Category Information to be Id and Name.

image

so my data would like

{

         "Id": 54,
        "Name": "Keaton Tote",
        "Description": "Some Product Description",
        "image": {},
        "P_category": {
              "Id": 54,
              "Name": "Category Name 1",
          },
        "By Store": "15"
}

Also, in config I have set the destinationPath but still the Export file was always on Root Dir.

FYI, I have setup Pimcore v6.6

Thanks,

@Yivan
Copy link

Yivan commented Sep 30, 2021

Hello,

With Pimcore 10, export tools are pretty limited, there is the possibility to export with the grid listing (not very convenient for batch/process export). There was the good https://github.com/w-vision/DataDefinitions, but it is in beta state for Pimcore 10 (I tried it and it is not ready).
With the DataHub there is the data-importer which is really great, but no data-exporter (I would like so much so we get really good tools for import/export ! :-) ).
This extension so i the only available for batch process export. But it lacks more native getter/transformer like the importer can give us.

I vote +1 for this issue, as at least having the possibility to have a relational object/obects (multi relation) getter would be really useful.

image

Thanks!

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

2 participants