This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice This article is not considered official documentation for K2 software and is provided "as is" with no warranties.
How to download a file in the File Attachment control when clicking on a button.
Before You Begin
- Add a Data Label control, and check the literal property on the control.
- Below your button click rule, add an action rule to set the properties of the data label. Click on configure, and map the data label's Text property to the following value:
- Save and test your form.
The above steps can also be applied for the Save as PDF control.