Skip to main content

Currently, i have some file in Server. I define a smartform with a "download" button. When click to the button, the program will download file. I can do the problem easily with asp.net. However, i am unclear how to do that with smartform. Anyone help me. Thanks advance.

Hi,


You may add a property of type "file" to your smartobject (if it's a smartbox). If you create an edit item view, K2 will use a "File Attachment control" for this property.


The name of the file and its content will be stored into XML elements inside the database column of this property.


 


Nico


Hello Nico,


The format of my file is txt, not xml. So, it is even correct with your solution ?


Reply