Moodle plugins directory: Import competency framework
Import competency framework
Admin tools ::: tool_lpimportcsv
Maintained by Damyon Wiese
This admin tool allows import/export of competency frameworks using a comma separated value file (CSV). This imports and exports all data contained in the competency framework including related competencies, and any configured competency rules.
Current versions available: 1
This admin tool allows import/export of competency frameworks using a comma separated value file (CSV). This is useful to move competency frameworks between Moodle sites - or to import new competency frameworks - by first mapping all the fields to match the CSV format used by this plugin.
Please don't try and install this plugin on Moodle 3.2 or later because it is already included with Moodle core.
Please login to view contributors details and/or to contact them
Please login to post comments
Thanks Damyon for sharing the plugin with the Moodle community. I was able to successfully test the basic functionality and did not notice any issues with the code that would block the approval here (not that I would expect them ). I was checking the input data sanitization and it seems to be processed well in the framework_importer class. The raised coding style issues look like easy to fix things and at least replacing
varwith proper visibility scope identifiers
publiccould make it in the next update (folks tend to see plugins submitted by HQ members as referential ones).
I am happy to approve this now. You are cleared to land, welcome to the Plugins directory.
I simply have 3 columns in a spreadsheet and have saved as a CSV file to upload.
Any help would be appreciated
1 - So, I made this csv file looking like that:
Parent ID number;ID number;Short name;Description;Description format;Scale values;Scale configuration;Rule type;Rule outcome;Rule config (optional);Cross-referenced competency ID numbers;Exported ID (optional);Is framework;Taxonomy
Only the first four columns have data. All the others (beginning with "Description format") are empty since I don't know how to fill them.
2 - Then I drop the file into the box on the "Import competency framework" page;
CSV delimiter - ;
Encoding - UTF-8
3 - As I hit the "Import button", I see the following:
Confirm the column mappings
Parent ID number - Parent ID number
ID number - ID number
Short name - Short name
Description - Description
Description format - Description format
Scale values - Scale values
Scale configuration - Scale configuration
Rule type (optional) - Rule type (optional)
Rule outcome (optional) - Rule outcome (optional)
Rule config (optional) - Rule config (optional)
Cross-referenced competency ID numbers - Cross-referenced competency ID numbers
Exported ID (optional) - Exported ID (optional)
Is framework - Is framework
Taxonomy - Taxonomy
4 - When I hit "Confirm", I'm taken back to the "Import competency framework" showing the message "File format is invalid."
I would add all the competencies manually, but there are over 1000 of them.
I do really need help with this import. So, any suggestions are apreciated.
Please, Can anyone explain or provide me with resources that explain what do the following optional fields mean?
1. Rule type
2 . Rule outcome
3. Rule config
4. Cross-referenced competency