NextGen FSM

Understanding the new Multi-Attachment Node Type - Overview

This document explains the "Multi-Attachment" node type, a component used in dynamic forms for data input. This node is a hybrid between the "Attachment" and "Pictures" nodes, allowing users to upload multiple files, including photos captured directly from a device, within a single field. This functionality is crucial for collecting diverse documentation related to operating fields, workstations, or server-side operations.

Key Characteristics

The "Multi-Attachment" node offers the following features:

  • Multiple File Uploads: Users can upload multiple files within a single node.

  • Configurable Limit: The number of files that can be uploaded is configurable.

  • Direct Photo Capture: The node includes the ability to capture photos directly from the device.

  • Maximum File Size: You can define the maximum file size allowed for each attachment.

  • Allowed File Extensions: An additional table, "File Extensions," allows you to define a list of permissible file types for upload.

  • Maximum Attachment Number: You can set the maximum number of attachments that can be uploaded to the specific node.

Supported File Extensions

The following file formats are supported:

  • Documents: .txt, .doc, .docx, .pdf, .rtf, .xls, .xlsx.

  • Images: .gif, .png.

  • Videos: .mpg, .mp2, .mpeg, .mpe, .mpv, .m2c, .avi, .mov, .qt, .flv.

File Management Actions

For each attached file, users can perform the following actions:

  • Download it.

  • Rename it.

  • Delete it.

Node Display

The Multi-Attachment node displays consistently across different platforms.

On Server Side

The node presents the input field where users can upload document files from the mobile's library, related to operating fields or workstations, or from server-side operations.

On Mobile Devices (iPhone and iPad)

The display behavior is similar on mobile devices, providing the input field for file compilation.

Dynamic Behavior with Expressions

The Multi-Attachment node supports the use of expressions, enabling dynamic behavior based on specific conditions. For example, expressions can be used to:

  • Make the node visible or hidden based on conditions.

  • Make the node mandatory based on conditions.

  • Automatically populate the field with a photo based on conditions.

  • Pre-fill the node based on conditions.

  • Set the node to read-only based on conditions. In read-only mode, the fields will appear in grey to clearly indicate that they cannot be edited