Windows – Linux – Mac OSX Guides

How to delete a file using SSJS in XPages

It’s easy to do file deletion operation using java.io.File class because the class provides us a delete() method, but unfortunately you can’t use that method inside Domino Designer’s SSJS editor, you will get a syntax error if you try to do so.

Lotus notes domino

So, here’s a workaround (credited to Mark Leusink) I put here for my own reference

 

Tagged with:     , , , , ,

Related Articles

Loading Facebook Comments ...

Post your comments

Your email address will not be published. Required fields are marked *