What do you mean by auto-load in this context?
Show it in the browser?
Upload it to a server for further processing?
Cheers
Hi Paul,
By auto-load, what I meant is that the attachment file control in the K2 form should be able to get hold of the most recently scanned document which would be saved in local PC folder. And yeah it would be reflected on the browser where the form is opened.
So if the user scans a document of certain type, it would save in a particular folder from which the form would sort of auto-load it once the form is initialized.
Hi
I don't think what you are attempting to do would be possible as you can't tell the file control to populate (without a user uploading a file to the control) a file that doesn't come from a SmartObject property, also displaying user files in the browser without them being served up from some kind of web server would be difficult.
The closest I have done in the past is to scan the files to a shared directory then use some code to read the files in that directory (I think there's a file reading service broker that you could use in conjunction with a workflow) and save them in to SharePoint, which you can then use to display them.
This obviously isn't ideal and there would be some lag in this and is pushing all the files to the server.
Cheers
Thanks for the help. I will follow the article and let me see it would help me achieving my objective.
I will update on the forum if the above steps works.
Thankyou once again for all the help.