We would be able to map a CIFS share and create files for certain activities using vRO workflow. We are looking for ways to delete a file as well.
We are running with vRO 7.2 and any help related to this issue is appreciated.
Have you tried the File scripting object and its method deleteFile()?
Note that you need to configure read/write/execute access permissions for the corresponding directories in the file /etc/vco/app-server/js-io-rights.conf
If this is pure vRO, you should move this thread to the vRO subforum.
Have you tried the File scripting object and its method deleteFile()?
Note that you need to configure read/write/execute access permissions for the corresponding directories in the file /etc/vco/app-server/js-io-rights.conf
Yes, rwx permission is available in that file for CIFS share. Also, for testing purpose I have tried like below and is successful. Thank you!
//For example test1 file residing in the share
var fName = "test1.xml";
var fPath = outdir+"//folderName//"+ fName;
var dFile = new File(fPath);
dFile.deleteFile();