Home
TeamSite
Submit file via file dialog
code
Hi
we are currently using TS5.5 in combination with a web service. This service provides a file that should be save in a workarea and submitted.
Currently its possible for me the use OpenAPI for saving the file at a hard-coded location. However, I would like to bring up a file dialog like common one used in TS and let the user select the correct location.
Does somebody know, whether the code for the filedialog is reusable. Furthermore I wasn't able to find a kind of submit-method() in IWFile. I guess it's available somewhere else, right?
Regards, Matthias
Find more posts tagged with
Comments
Migrateduser
hi,
The submit method in OpenAPI is present in the class IWFileBatch. There are other useful methods in that class that can be used for batch processing of files.
As for the filedialog, I do not think it is reusable. But since you are developing with Java and OpenAPI, it should be fairly easy to come up with a dialog box to serve your purpose.
Best Regards,
Narendra