Fields – Upload File

An upload file field allows the user to include a file relevant to the current Record in its original format. It will require an XML element name to allow it to be added to the data base, and may or may not be required.

When an image is uploaded an additional button will be displayed to open the image in a popup window.

When a PDF file is uploaded an additional button will be displayed to view the PDF in a popup window.

This is what the file upload field will look like in a form:

A screenshot of the upload file field within trellispark.

Below is the field definition page for an upload file field:

  • Storage Location
    • The storage location defined at the workspace level that determines where the uploaded file will be saved.
  • Display Image Thumbnail
    • Determines if a thumbnail will be rendered if the uploaded file is an image.
  • Clear Button Text
    • Allows you to change the Clear button text to something other than “Clear”.
  • Max File Size
    • Determines the max file size that can be uploaded in megabytes.
  • Display Audio Player
    • Determines if an audio player will be displayed if an audio file is uploaded.
  • Display Video Player
    • Determines if a video player will be displayed if a video file is uploaded.
  • Video Player Height
    • Allows you to set the height of the video player in pixels. Only available if Display Video Player is Yes.
  • Video Player Width
    • Allows you to set the width of the video player in pixels. Only available if Display Video Player is Yes.
  • Display Download Button
    • Determines if the download button is visible.
  • Display Clear Button
    • Determines if the clear button is visible.
  • Autoplay Video
    • Determines if the video player will start playing once it’s loaded. Only available if Display Video Player is Yes.
  • Display Copy File URL Button
    • Determines if the copy file url button will be displayed when a file is uploaded.
  • Upload icon button class
    • Contains the CSS class that will be used to render an icon (e.g., Font Awesome class). If left empty a default icon will be displayed.
  • Upload button text
    • Determines the text that will be displayed when no file is uploaded. If left empty default text will be displayed.
  • Allowed file types
    • A comma separated list (e.g., item1,item2,item3) that will contain the file extensions of the files that are allowed to be uploaded. If left empty all file types will be allowed.
  • Enable File Compression
    • Determines if the file will be compressed before being uploaded.
  • Enable File Encryption
    • Only available if Enable File Compression is Yes. Determines if the compressed file will be encrypted.
Updated on January 2, 2024

Was this article helpful?

Related Articles

Need Support?
Can’t find the answer you’re looking for? Don’t worry we’re here to help!
Contact Support

Leave a Comment