Yesterday, I posted this…
However, I’m seeing that the problem is bigger than just what I have described above. I still don’t have a clue how to deal with the problem.
I’m going to first describe what I have, then, what I need!
I have a form with a few fields on it. When I look at the info box, I see these fields
$$Return, Data Type: Text
$FILE, Data Type: Attached Object
$UpdatedBy, Data Type: Text List
$V2AttachmentOptions, Data Type: Text contents “0”
DbName, Data Type: Text, Formula: @WebDbName
FileName, Data Type: Text, Formula: @AttachmentNames
Form, Data Type: Text, Contents: “MyFormName”
In addition, I have a File Upload Control so that web users can attach a file.
What I need is the following:
-
From WebQuerySave I call an agent that should detach the file,
-
then I want to read the detached .csv file, and create documents with the data from the csv.
-
I need to delete the file from the server OS.
I’m doing this in Java, and I have much of the processing code written. This works. Needless to say, the code has become quite involved.
Here are my questions.
-
Because I don’t have an RTF on the page where we “hold” the file, how can I detach the file?
-
I’ve tried a few of the snippets of Java Code that allow me to determine what kind of embedded object it is, however, it looks like I (again) have to access it through an RTF object. Any other Ideas how I could code this?
-
Would there be an easier way for users to send me their files? Some of these files will get quite large. Email is out of question.
Help!
Marcus