Skip to main content
Skip table of contents

Multifile

Overview

Use the Multifile control to allow users to pick a file from their computer. This is often used for adding attachments for emails or other activities in a dialog.

Example

The following example is taken from the "BatchPrintProperties" dialog.


XML
<Multifile caption="ids.attachment.add.toolTip" captions="fileName" data="data" head="true" items="transientAttachmentCommand attachments" lazy="false" name="multifile"/>

Explanations

When the lazy property is set to true, the data for the attachment is uploaded only after a dialog is closed. When the lazy property is set to false, the attachment is uploaded as soon as it is confirmed as selected.

If the attachment instance is associated with the parent class through an association class, then setting lazy=false is recommended. This makes the attachment data available for use when the intersection class instances are created.

The above example is a case in point, where the attachment is associated to the parent, ScheduleItem, though the association class, ActAttachmentLink.

More details

More information about specific properties for the Multifile Control can be found in the Model Description Language Reference.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.