Developer / Plugins

Files

Last updated on 13-May-2020 by Jakob Jakobsen Boysen
Jakob Jakobsen Boysen

Platform Lead
boysen@scifeon.com
, Thomas P. Boesen
Thomas P. Boesen

Founder
boesen@scifeon.com

Definition

Files (for download) are defined in the contributions.json file. A file is described by the following JSON:

  • id Used for referencing the file.
  • file The relative path to the file.
  • description An optional description, mainly used for administrators.

Example

contributions.json

The following snippet defines a file for download:

In a view, a link to the file can be generated by using the SCIFEON.Utils-object: