|
|
The Attach Content control assists with attaching and uploading media files for Pega 7 applications, including (but not limited to):
When in a mobile web browser, this control is limited to attaching image files only. When a user takes any action on a mobile device with this control enabled, a dialog box will be launched in the application with selections for the user, which differ based on the device's operating system.
Using a desktop browser with this control enabled launches the file browser, allowing users to select a type of capture mechanism and/or utilize an "attach file(s)" file selection prompt directly from their desktop. Desktop browser users are not limited to image files when using this control, and may attach other file types. This control also provides support for multiple file selection when attaching files.
If you are using a cell-based layout and you drag the control into a cell that is not empty, then the dropped control replaces the current contents of the cell.
icon for the control to display the Cell Properties dialog.
Map the new control to display output of the pzControlButtonReadOnly in the design view.
On-click actions are executed after selected photo/file is uploaded. If the upload fails or if the user cancels the capture and upload process, the configured OnClick actions will not be executed.
Other events can be configured on the OnClick action for this control (such as "refresh section"). These events are executed after the inherited behavior.