11.9.4. Import a framework file¶
Administration menu → Extensions → SmartEvidence → Import
You can import a SmartEvidence framework by clicking the Import link in the SamrtEvidence navigation. The framework file must end in the extension .matrix to be recognized and interpreted by Mahara.
Click the Import link to go to the screen where you can upload a SmartEvidence file.
Click the Browse button to choose the matrix file that contains the framework that you want to use.
Click the Upload matrix button to upload the file.
The file is checked for issues in the structure of the file. It is rejected if problems are encountered. Most common issues are:
The short name has more than 100 characters.
The name of a standard element has more than 255 characters.
Punctuation or parentheses are not correct.
22.214.171.124. Create a framework file¶
Get started with a SmartEvidence framework by downloading an existing file. You can then make any number of changes.
If you created your own SmartEvidence framework files that you want to share with the community, please send them to us for review and inclusion in the download area.
You can use any text editor to create and edit your SmartEvidence framework files. If you have an editor that supports syntax highlighting for JSON files, you have an advantage as you can differentiate text that you can change from prompts that Mahara needs to interpret the file.
It is best to start your framework file with the help of one of the samples as you then know the structure and have all relevant elements in the file.
126.96.36.199. Start of the file¶
A framework file contains a number of parameters at the beginning that allow you to customise the framework to your needs.
institution: The short name of the institution in which the framework should be used is entered here. If the framework is for all institutions, all is placed here.
The institution short name can be seen by hovering over the institution name on the Institution overview page and looking at the end of the URL. The last parameter is the institution short name.
name: The title of the framework as it should be shown to authors.
description: The description of the framework is displayed on the SmartEvidence page in a collection. It can contain basic HTML code.
If the HTML code in the description field requires the use of quotation marks, these need to be escaped. Otherwise, they would be interpreted as commands. The escaping is done by placing a backslash right in front of the quotation mark:
selfassess: Determine whether people can self-assess their competencies or whether the competencies can only be assessed by somebody else. The following two values are allowed:
true: Authors can self-assess.
false: Authors cannot perform self-assessment.
evidencestatuses: Currently, there are four evidence statuses that can be used in an evidence map: begun, incomplete, partially complete, and completed. You can decide what words are used for these statuses in the framework that you set up. For example, this allows you to set up frameworks in different languages.
standards: The rest of the document holds the standards and sub-standards.
Be careful when changing a matrix file. Make sure not to remove any commas, quotation marks, brackets, curly braces, or any other marks in sections that you use. They are required for the correct interpretation of the file.
You can check if your file contains all necessary syntax by pasting it into the JSON Formatter and Validator for example. If there are any issues and JSON cannot interpret your file, the validator specifies the places where the errors occur so you can track them down and fix.
188.8.131.52. Standards section¶
You can define the standards after the initial information. They provide the heading level on the SmartEvidence overview page.
standards: Introduction of this section. You can define as many standards as you want. There is no limit.
shortname: Each standard needs a short name, e.g. a number or a summary of the full title. The short name is mandatory and a maximum of 100 characters long.
name: Title of the standard. It is mandatory and a maximum of 255 characters long.
description: The description is optional and is displayed when you hover over the name of the standard (touch-click on mobile).
standardid: Give each standard a natural number so they can be placed in the correct order and referred back to from the standard elements.
Do not place a comma after the closing curly brace of the last standard.
184.108.40.206. Standard elements section¶
Define all the standard elements, i.e. the individual sub-standards after the standards. They are the ones to which you can add evidence.
Place all sub levels immediately after the higher level standard element so that the mapping is happening correctly.
standardelements: Introduction of this section. There is no limit on how many standard elements you can define.
shortname: The short name is displayed on the SmartEvidence overview page. It is mandatory and a maximum of 100 characters long.
name: Title of the standard element. It is mandatory and a maximum of 255 characters long.
description: The description is optional and is displayed when you hover over the name of the standard element (touch-click on mobile).
standardid: Provide the ID of the standard to which you want to associate a particular standard element.
elementid: Give your standard element an ID so you can refer to it when you have another sub level. The ID needs to be placed between quotation marks.
parentelementid: Provide the elementid of the parent standard element if the standard element that you set up is on a level lower. The ID needs to be placed between quotation marks.
When a standard element has a lower level, it cannot be associated with evidence itself, but only the standard elements on the lower level.
220.127.116.11. The end of the file¶
When you defined all your standards and standard elements, you can end the file.
Do not put a comma after the last curly brace of the last standard element.
Make sure to close all angular brackets and curly braces.
18.104.22.168. The result¶
Once you finished the file, you can import it into Mahara and start using it.
Title of the framework
Description of the framework
A standard. It cannot have evidence associated, only its lower levels.
A standard element.
A standard element with further lower level elements. It cannot have evidence associated, only its lower level.
A third level of elements.
You can have more than 3 levels in your competency framework. The readability decreases though with many levels.