Open LemurSage opened 2 months ago
config/excel.ts
export default () => ({ config: { "api::form-submission.form-submission": { columns: [ "companyRUT", "fullName", "email", "phone", "RUT", "fleetSize", "companyName", "vehicleCount", "ChargingPlanName", ], relation: { vehicleId: { column: ["vehicleName", "brand", "modelYear", "price"], }, creditPlanId: { column: [ "planName", "bankName", "downPayment", "paymentTerm", "interest", "installment", ], }, }, }, }, });
Output from the Excel Export tab for the relevant Relations is as follows.
Only the first column from the related collections is visible and available for download.
All fields from the related collections are visible
Only the first column from the related collection is available for view and download.
this would be fixed with https://github.com/vinubabu323/strapi-plugin-excel-export/pull/16
Code
config/excel.ts
export default () => ({ config: { "api::form-submission.form-submission": { columns: [ "companyRUT", "fullName", "email", "phone", "RUT", "fleetSize", "companyName", "vehicleCount", "ChargingPlanName", ], relation: { vehicleId: { column: ["vehicleName", "brand", "modelYear", "price"], }, creditPlanId: { column: [ "planName", "bankName", "downPayment", "paymentTerm", "interest", "installment", ], }, }, }, }, });
Output from the Excel Export tab for the relevant Relations is as follows.
Only the first column from the related collections is visible and available for download.
Expected Behavior
All fields from the related collections are visible
Output Obtained
Only the first column from the related collection is available for view and download.