DemandFlow Support Centre

Row Type: File and Files

ReferenceRow Types ReferenceUpdated 29/04/2026
The File and Files row types enable document and file management on records, supporting upload, download, and preview of attachments.

Overview

DemandFlow provides two row types for managing file attachments on records: File (for a primary file attachment area) and Files (for managing a collection of files stored as a property on the record). Both support uploading, downloading, and viewing attached documents.

File Row Type

The File row type creates a dedicated file management area where users can upload, view, and download files associated with the record.

File Properties

PropertyRequiredDescription
TypeYesMust be set to file
IDYesThe field identifier for the file attachment.
HeaderNoA heading displayed above the file area.
HeightNoThe height of the file area in pixels. Defaults to 500 pixels if not specified.
File TypesNoAn array of allowed file extensions (e.g. [".pdf", ".docx", ".xlsx"]). When specified, only files matching these extensions can be uploaded.
Single FileNoWhen set to true, only one file can be attached. Uploading a new file replaces the existing one.
No Delete FileNoWhen set to true, the delete button is hidden, preventing users from removing attached files.

Files Row Type

The Files row type manages a collection of files stored as an array property on the record. This is useful when you need multiple file attachments organised in a list.

Files Properties

PropertyRequiredDescription
TypeYesMust be set to files
HeaderNoA heading displayed above the files area.
PropertyYesThe name of the property on the record that stores the files array.
TypesNoAn array of allowed file type restrictions.

File vs. Files

FeatureFileFiles
StorageManaged as a dedicated file attachmentStored as an array property on the record
Multiple filesSupports multiple unless Single File is enabledAlways supports multiple files
Best forPrimary document attachments with preview supportCollections of supporting documents

Supported File Operations

  • Upload — drag and drop files or use the upload button to attach files
  • Download — click on an attached file to download it to your computer
  • Delete — remove attached files (unless disabled with the No Delete File option)
  • Preview — certain file types (images, PDFs) can be previewed directly within the interface

Best Practices

  • Use the File Types property to restrict uploads to appropriate formats for the use case
  • Place file attachments on a dedicated "Documents" or "Attachments" panel for clear organisation
  • Use Single File when the record should only have one primary document (e.g. a signed contract)
  • Consider using the No Delete File option for compliance scenarios where file removal should be prevented
filefilesuploadattachmentsdocumentsdownloadrow type

Was this article helpful?

← Back to Knowledge Base