CompanyMan
Scout

File Attachment from File Server

Jump to solution

1.Is it possible to show files that are stored file system on Windows on Smartform using "Content" control?

2. Is it possible to store attachment files in a directory on file syste?

 

Requirement is, scanned PDFs will be stored on a windows server. I need to show them on Smartform. Another requirement is, user will attach file on Smartform and they should be saved in file system in same directory.

Thanks

0 Kudos
3 Replies
Albarghouthy
Apprentice

Re: File Attachment from File Server

Jump to solution

Hi K2 Beginner,


 


1- The Content Control is designed for web pages only, you might need to create a custom broker to load files from Folder to a list view
2- See this: https://briank2com.wordpress.com/2016/07/01/save-generated-pdf-into-server-file-location/

CompanyMan
Scout

Re: File Attachment from File Server

Jump to solution

Thank you!

0 Kudos
JohanL
Apprentice

Re: File Attachment from File Server

Jump to solution

Hi,

 

If you can get IIS installed on the file server and expose the folder as a Virtual Directory, you can then reference the path in the content control through the Web Site Virtual folder.

I've tested this and it does work.

HTH!

 

JohanL