Harness and Section forms - Adding an Attach Content control
Harness and Section forms - Adding an Attach content control
The Attach content control ( pxAttachContent ) allows application users to attach files to a desktop or an offline-enabled application. Users can add any number of files by using either the file browser or drag and drop functionality. You can customize this control to be displayed as a button, link, or icon.
Using this control at run time in a desktop application opens the default file browser window and users can attach files to their application.
On a mobile device, users can select content from the built-in image, video or audio gallery, as well as any type of an attachment from any other source that is available in the device's native file picker component. In addition, you can configure various compression parameters to limit the size of files created on a mobile device.
-
Add a control from the Basic menu to a section or layout.
-
Click the View properties icon for the control to open the Cell Properties window.
-
Next to the control name, click Change and select Attachments .
- Optional: On the General tab, configure the following settings:
-
Display options for the control
-
Attachment compression parameters for mobile apps
-
-
Click Submit to save the changes to the control.
The Attach content control is also supported in offline-enabled applications. For more information, see Attach content support in offline mode .