Custom Fields Import/Export

Administration tools ::: tool_customfields_exportimport
Maintained by Serge Touvoli
Export and import the structure of user profile, course, and cohort custom fields in JSON format — includes CLI support.

Custom Fields Import/Export 1.0.2

Moodle 4.2, 4.3, 4.4, 4.5, 5.0
Released: Thursday, 7 August 2025, 2:12 AM

This release focuses on resolving several issues reported during the initial review and improving code quality across the plugin.

What’s fixed

  • Added missing header and copyright information in all files (#3)
  • Implemented missing Privacy API in privacy/provider.php (#2)
  • Fixed several PHP namespace declarations and collisions (#7, #9)
  • Sanitized all imported user data using clean_param() for improved security (#10)
  • Replaced hardcoded strings with language strings (#6)
  • Added missing language strings in lang/en/ and lang/fr/ (#5)
  • Resolved plugin rendering errors (#8)
  • Added missing PHPDoc tags to functions and parameters (#4)
  • Integrated GitHub Actions CI with moodle-plugin-ci workflow (#1)

Code Quality

  • Fixed all remaining phpcs coding style errors using Moodle’s code checker.
  • Ensured compliance with moodle-plugin-ci checks (PHPDoc, phplint, lang, etc.).

Version information

Version build number
2025080600
Version release name
1.0.2
Maturity
Stable version
MD5 Sum
2528ad881986679042a42ba7d9fdf97b
Supported software
Moodle 4.2, Moodle 4.3, Moodle 4.4, Moodle 4.5, Moodle 5.0
  • Latest release for Moodle 4.2
  • Latest release for Moodle 4.3
  • Latest release for Moodle 4.4
  • Latest release for Moodle 4.5
  • Latest release for Moodle 5.0

Version control information

Version control system (VCS)
GIT
VCS repository URL

Default installation instructions for plugins of the type Administration tools

  1. Make sure you have all the required versions.
  2. Download and unpack the module.
  3. Place the folder (eg "mytool") in the "admin/tool" subdirectory.
  4. Visit http://yoursite.com/admin to finish the installation