Options

Handling several Local files in RTC without user interaction

StormStorm Member Posts: 27
edited 2011-09-12 in NAV Three Tier
I was searching around after How to handle Local files in RTC without user interaction and I found this:
http://blogs.msdn.com/b/nav/archive/2010/10/05/magicpath-downloadfromstream-and-uploadintostream-without-a-dialog-box.aspx

This was (almost) completely what I was looking for :-) But what if you don't know the exact filename(s) on the file(s)? For example if you want to handle all the files in a specified folder (one file at a time, and only files (not other folders)). In the Classic client you would use the File record, but how do you do it from RTC?

Thanks.

This Code gives the user a window where he/she needs to pick the file that needs to be handled.
IF UPLOAD(
                       WindowBarText,
                        "Import File From this folder",
                        'csv File *.csv| *.csv',
                         ClientFileName,
                         ServiceLayerFileName)

THEN BEGIN
  Blablabla
end;

Comments

Sign In or Register to comment.