The custom-fields plugin from this repository has been moved and updated to a new repository. If you are using this plugin and wish to upgrade while retaining your existing configurations, a migration process is required.
The plugin is now maintained at strapi-plugin-parent-child-relationships, where it is also fully documented.
Note: We recommend migrating as soon as possible to benefit from new features and fixes.
Thank you for your support and understanding. Follow the steps below to ensure a smooth migration.
In your ./config/plugins.js, remove the current configuration for custom-fields, remove the following:
"custom-fields": {
enabled: true,
resolve: "./src/plugins/custom-fields",
},In the ./src folder of your Strapi project, replace the old configuration for the custom fields as outlined below:
- Old:
"customField": "plugin::custom-fields.custom-relation"- Replace with:
"customField": "plugin::parent-child-relationships.relation"- Old:
"customField": "plugin::custom-fields.custom-enumeration"- Replace with:
"customField": "plugin::parent-child-relationships.dynamic-root"Run the following command in your Strapi project directory:
With npm:
npm install strapi-plugin-parent-child-relationshipsWith yarn:
yarn add strapi-plugin-parent-child-relationshipsAfter installation, start your application in development with:
npm run develop
# or
yarn developOnce everything is working as expected, you can safely remove the old custom-fields plugin folder located at ./src/plugins/custom-fields.

