File Attachment

Displays as a text box with a Browse button next to it. Allows to attach documents to the process. When the Browse button is selected, it allows the navigation of a hard drive.

Options

The Object Configuration Wizard Options tab shows the specific properties for the control.

ActivityControls_Objects_FileAttachment_ObjectConfigurationWizard_OptionsTabv6.5

Visible Determines whether this control is visible.
Style CSS style of this object.
Location Location of the file.
Upload File To Type of file object you want to upload, SharePoint or XMPro.
isAsync Determines whether the file is to be uploaded Asynchronously.
CSS Class CSS class of this object.

Common Uses

The file attachment is often used to allow the end-user to attach documents supporting a specific activity.  They can be used ungrouped or as part of an Object Group if more than one upload is required from the end-user.  There is also an Async option (as defined above) which allows for more than one file to be uploaded as part of one file attachment control.

How to use

Prerequisites

  • A Process Group, Process, and Activity already created.

For more information, see Process Model.

Configure the Object

This procedure describes how to configure the Object.

ActivityControls_Objects_FileAttachment_ObjectConfigurationWizard_GeneralTab_ConfigureActivityLayoutv6.5

  1. Double-click the Activity. The Layout tab is displayed.
  2. Drag an Activity Control Object from the Activity Designer to the Layout tab. The Object Configuration Wizard is displayed.
  3. Click in the Name text field and select the name Object and type your Object name. For example, FA1050FileAttachment.
    Note the Name text field cannot contain any spaces.
  4. Click in the Caption text field and replace the text with the object name which you want displayed. For example, File Attachment.
  5. Click the Options tab and configure using the previously defined fields.
  6. Click OK.
  7. On the ribbon, click the File tab, click Save or press CTRL+S to save your changes.

Examples

ActivityControls_Objects_FileAttachment_Example1v6.5

ActivityControls_Objects_FileAttachment_Example2v6.5

ActivityControls_Objects_FileAttachment_Example3v6.5

 

This is the legacy version of the XMPro Documentation site. For the latest XMPro documentation, please visit documentation.xmpro.com

X