C24. Downloads
Release notes
Date | Update | Updated by |
---|---|---|
14 Jan 2022 | Component finalised | @Japneet Kaur (Deactivated) @Steven Mao (Unlicensed) |
Overview
Objective:
The download component allows users to download digital assets from the website.
Use case:
This component be used when a downloadable version of a factsheet/resource is available on a content/article page.
Business rules
BR-# | Business rule |
---|---|
BR-1 | There is support for downloading single or multiple assets The download component is a field that is available on the basic content page. |
BR-2 | The download module should only be used to link to files hosted in the CMS. |
BR-3 | The file type must be recognised by the CMS. |
BR-4 | The file type and size will automatically be sourced from the file properties. Content authors will have the ability to author the name of the file. By default this will be the file name. |
BR-5 | The download module is optional. Content authors will have the ability to add either one or multiple download components to the pages. |
BR-6 | The download links may wrap across several lines based on the length of file name being used. |
BR-7 | The component should have the following elements displayed:
|
BR-8 | The whole component is clickable and lead to an immediate download of the file on the user’s device. |
Design
Desktop | Mobile |
---|---|
Example
| Example
|
CMS Elements
ID | Field | Type | Mandatory | Notes |
---|---|---|---|---|
1 | Icon | Icon | N | The icon should be relevant to the document type |
2 | Title | Text | Y | The title is automatically populated from the file link provided in CMS |
3 | File type | Text | N | The file type is automatically populated from the file link provided in CMS |
4 | Language | Text | N | The language is automatically populated from the file link provided in CMS |
5 | Published date | Text | N | The published date is automatically populated from the file link provided in CMS |
6 | Size | Text | N | The size is automatically populated from the file link provided in CMS |
7 | Download URL link | Text and Link | Y | On selecting the link the file downloads on the browser and is saved in the users downloads folder on desktop |
8 | Download icon | Icon and link | Y | On selecting the icon the file downloads on the browser and is saved in the users downloads folder on desktop |