Question Editor API Initialization
custom_metadata
You can use custom metadata to store additional information relating to a question.
For example, you could use custom metadata if you wanted authors to be able to relate the question to an activity in their LMS.
If you customize Question layouts, you can specify a div
element with data-lrn-qe-custom-metadata
to
choose where the metadata fields are rendered. If no such element exists in the layout, fields specified in custom_metadata
will appear at the bottom of the edit panel.
The data is stored in the metadata attribute of the question JSON.
Values
Attribute path custom_metadata
Type object
Properties
-
[metadataKey] object