Skip to content

Get RelationField data #6

@vinitchopra12

Description

@vinitchopra12

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,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions