Open nirav-tvc opened 4 months ago
I am also facing the same issue
Also facing the same issue with version 1.23.1 Generates "ValidationError" at import.
I fixed it by not using the plugin but building a custom controller instead. That helped a lot Used csv file for generating the bulk upload feature.
Hi, same here. This happens after the update to Strapi 4.25.0
Hey folks, same issue here. Are there any plans to implement or fix that missing part?
As per documentation, I have added "idField" in schema.json of collection as well as enabled:true in config/plugin.js.
However, when importing data, I am not able to see/select "title" in dropdown.
my schema.json file:
{ "kind": "collectionType", "collectionName": "deals", "info": { "singularName": "deal", "pluralName": "deals", "displayName": "Deal", "description": "" }, "options": { "draftAndPublish": true }, "pluginOptions": { "import-export-entries": { "idField": "title" } }, "attributes": { "name": { "type": "string" }, "slug": { "type": "string" }, "title": { "type": "string", "unique": true, "required": true } } }
my plugin.json file:
module.exports = ({ env }) => ({ 'import-export-entries': { enabled: true, config: { serverPublicHostname:"", importUniqueIdentifierField: ['title', 'name', 'id', 'slug', 'url', 'legend'], }, }, });
my package.json file:
{ "name": "my-strapi-project", "private": true, "version": "0.1.0", "description": "A Strapi application", "scripts": { "develop": "strapi develop", "start": "strapi start", "build": "strapi build", "strapi": "strapi" }, "dependencies": { "@strapi/plugin-cloud": "4.23.0", "@strapi/plugin-i18n": "4.23.0", "@strapi/plugin-users-permissions": "4.23.0", "@strapi/strapi": "4.23.0", "better-sqlite3": "8.6.0", "react": "^18.0.0", "react-dom": "^18.0.0", "react-router-dom": "5.3.4", "strapi-plugin-import-export-entries": "^1.23.1", "styled-components": "5.3.3" }, "author": { "name": "A Strapi developer" }, "strapi": { "uuid": "3a810887-0491-44a4-9edd-793ef07b7666" }, "engines": { "node": ">=18.0.0 <=20.x.x", "npm": ">=6.0.0" }, "license": "MIT" }
Also, refer screenshot when I am trying to select "title" field as unique identifier.![Screenshot_456](https://github.com/Baboo7/strapi-plugin-import-export-entries/assets/153903355/e48d2e72-50fd-439f-8744-6ec0dde8ef4f)
Can any please help with what I am doing wrong ?