nitisha
1st June 2016, 08:39
Hi,
I want to validate client directory paths before proceeding with further operations.
As per documentation the following functions are not supported:
create.local.file()
create.local.directory()
dir.select.dialog.local()
get.client.directory()
get.local.filename()
remove.local.directory()
remove.local.file()
seq.fstat.local()
The functions provided correspond to file operations at server.
Are there any equivalent functions for client directory creation/deletion operations in HTML 5?
Thanks & Regards
Nitisha
nitisha
8th June 2016, 08:50
Any ideas on how to handle client operations in HTML 5?
Also is it possible to view other than ".txt" files in browser window for HTML 5?
Thanks & Regards
Nitisha
Ajesh
8th June 2016, 14:00
which version of Baan are you using and where is it written (As per documentation the following functions are not supported:)?
darkhorse
8th June 2016, 16:04
Hi Ajesh,
I think HTML 5 (LN UI) works from LN 10.4 onwards.
Also In the Latest Programmer Guide, Above concerned functions are mentioned (Client related operation not working in LN UI).
Attaching Scrrenshot for your reference.
@Nitisha :
As far as I know , I doubt there is any Client related functions which may working in LN UI.
Please correct me if I am wrong
oirfeodent
9th June 2016, 12:33
Hi,
I want to validate client directory paths before proceeding with further operations.
As per documentation the following functions are not supported:
create.local.file()
create.local.directory()
dir.select.dialog.local()
get.client.directory()
get.local.filename()
remove.local.directory()
remove.local.file()
seq.fstat.local()
The functions provided correspond to file operations at server.
Are there any equivalent functions for client directory creation/deletion operations in HTML 5?
Thanks & Regards
Nitisha
As you mention HTML 5, I assume you are using LNUI.
In HTML 5, the client functions are in sync with how the browser (Chrome/IE) handles downloads and uploads natively.
Due to this restrictions, directory creations are not allowed.
But if you call, client.download.file() LNUI will let the user to save where s/he wishes to save the file, similar to how we download files from regular websites.
Chrome: Default Download Folder
IE: Open or Save & Open
Firefox: as per user setting.
Regards.