convertToJSFile
Posted: Wed Dec 07, 2011 9:49 am
when i ran in developer it works fine. deployed the solution and access via smart client it resulted in
what is the default directory where this file will be created?
thanks!
- Code: Select all
java.io.ioexception: Access is denied.
what is the default directory where this file will be created?
- Code: Select all
function initializeDataLogFile() {
var f = plugins.file.convertToJSFile("log.txt");
if (f.exists())
f.deleteFile();
f.createNewFile();
}
thanks!