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.
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 activityA specific step in a process. It will be the user interface for that step (web form or a screen), for example, the Leave Application (screen interface or web form) will be the first Activity in the Leave Requisition process. The Leave Application Authorization will be the second step or Activity in the Leave Requisition process. One Process can have multiple activities.. 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.
- Double-click the Activity. The Layout tab is displayed.
- Drag an Activity Control Object from the Activity Designer to the Layout tab. The Object Configuration Wizard is displayed.
- 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. - Click in the Caption text field and replace the text with the object name which you want displayed. For example, File Attachment.
- Click the Options tab and configure using the previously defined fields.
- Click OK.
- On the ribbon, click the File tab, click Save or press CTRL+S to save your changes.
Examples