Allow viewers to download a file.
Last reviewed: April 22, 2021
This feature works comparably in both the Classic and Flex UI versions of the UBCMS. In the future, screenshots and language will be updated to reflect Flex UI.
State and federal rules require documents to be ADA compliant. > read more on accessible documents
Use this component whenever a file needs to be made available to your visitors, either to view in a separate tab (for common formats like images or PDFs) or downloaded onto the visitor's device. The local system decides how to handle the file, as defined by browser settings and the user’s preference. If the browser recognize the format, or does not have a way to open/display it, it usually defaults to downloading the file. If the file is loaded into a new tab, the viewer will have to download it from there.
Add the component to the page. There is one, un-named tab.
For common formats, an icon will automatically be added in front of the filename. See examples in the right sidebar.
This includes common file types, such as:
For files that are located in the UBCMS, their size will also be provided, in parentheses after the filename.
The component automatically identifies many common file formats and adds a suitable icon and text for screen readers. It also shows the file size!
Please do not embed files larger than 50MB in size.
Link text: Label the file download link. Leave the field blank to use the file's name; e.g. 'Org-Chart.pdf.'
File Location: Choose between 'UBCMS file' and 'External link.'
For a UBCMS file, select the file you wish to be downloaded. UBCMS files can be uploaded just to the current page, but for site maintenance purposes, it is often better to put them in the Digital Asset Manager (DAM) first, then pull them onto the page.
For an External link, a new field appears.
External link: Provide the complete URL to your file, including the http:// or https:// prefix; e.g. http://www.example.com/my_document.pdf.