Feature Wiki

Information about planned and released features

Tabs

Field Type Link List for Metadata

This feature request is a part of the Calendar Revision III.

1 Initial Problem

It's possible to add links (external or internal) as custom metadata field, but there is no possibility to add lists of links (multiple links displayed behind the same label).

Currently, a separate metadata field has to be created for each link and a suitable title has to be found.

Instead of this
Link 1 => Evaluation Students
Link 2 => Evaluation Teachers

we would like to have this
Multiple Links 1 => Evaluation Students
          => Evaluation Teachers

Current Metadata Link Field Type

2 Conceptual Summary

We need a new field type called "External Link List" in the custom metadata area.

A "External Link List" field is defined by

  • Type (External Link List)
  • Title required
  • Description
  • Searchable
We need a new field type called "Internal Link List" in the custom metadata area.

A "Internal Link List" field is defined by
  • Type (Internal Link List)
  • Title required
  • Description
  • Searchable

3 User Interface Modifications

3.1 List of Affected Views

  • All Objects (f.e. sessions) > Metadata > Custom Metadata Definition > Edit Fields
  • Administration > Metadata > Custom Metadata

3.2 User Interface Details

The changes in the administration are rather basic, the two new types (internal and external link list) are added to the dropdown in which the new type of custom metadata is selected. The forms appearing after that are the same as for internal and external link.

However there are major changes Custom Metadata Definition of the respective objects (see next section).

3.3 New User Interface Concepts

Adding multiple links for one field requires a new input ui element. We therefore propse to add the entries in the input section (see: https://github.com/ILIAS-eLearning/ILIAS/pull/704):

  • Internal Links
  • External Links
Both allow to add multiple or single internal and external links to an input container (e.g. a form). The element for the internal links has been partially specified in: https://github.com/ILIAS-eLearning/ILIAS/pull/360 (see screenshots).

Note that the requirement for those two new elements, makes this a rather large FR, since we need to shift the current form of the Custom Metadata Definition to the new versions of inputs to make in work with the new elements.

4 Technical Information

Currently there is no support for the storage of multiple values in the database assigned to "Advanced Meta Data" entries. The existing field type "Selection List (multiple) uses the  string "~:~" for seperation of multiple values.

The storage will be changed: multiple entries will be stored as multiple db rows.

5 Contact

6 Funding

If you are interest in funding this feature, please add your name and institution to this list.

7 Discussion

8 Implementation

{The maintainer has to give a description of the final implementation and add screenshots if possible.}

Test Cases

Test cases completed at {date} by {user}

  • {Test case number linked to Testrail} : {test case title}

Approval

Approved at {date} by {user}.

Last edited: 12. Oct 2020, 12:42, Meyer, Stefan [smeyer]