Hi! I have an issue with Excel Export plugin. Steps what I done:
- Install plugin from Excel Export | Strapi Market
- Create file config/excel.js
- Add to this file content:
module.exports = {
config: {
“api::testowo.testowo”: {
columns: [
“datetime”,
“recipeName”,
“isPositive”,
“comment”,
“userIngredients”
],
locale: “true”
},
},
};
And this is my schema:
{
“kind”: “collectionType”,
“collectionName”: “testowos”,
“info”: {
“singularName”: “testowo”,
“pluralName”: “testowos”,
“displayName”: “testowo”,
“description”: “”
},
“options”: {
“draftAndPublish”: true
},
“pluginOptions”: {
“i18n”: {
“localized”: true
}
},
“attributes”: {
“datetime”: {
“pluginOptions”: {
“i18n”: {
“localized”: true
}
},
“type”: “datetime”
},
“recipeName”: {
“pluginOptions”: {
“i18n”: {
“localized”: true
}
},
“type”: “string”
},
“isPositive”: {
“pluginOptions”: {
“i18n”: {
“localized”: true
}
},
“type”: “boolean”,
“default”: true
},
“comment”: {
“pluginOptions”: {
“i18n”: {
“localized”: true
}
},
“type”: “richtext”
},
“userIngredients”: {
“pluginOptions”: {
“i18n”: {
“localized”: true
}
},
“type”: “text”
}
}
}
-
Add some records to collection type ‘testowo’
-
Trying export data from collection type and get console error after choose collection type in excel export:
“Cannot convert undefined or null to object
TypeError: Cannot convert undefined or null to object”
My TS knowledge is bad so please be easy with me.
Thank you for any help
This topic has been created from a Discord post (1244917530733051966) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord