Does anyone have a snippet handy for deleting all ...
# suitescript
a
Does anyone have a snippet handy for deleting all the files in a folder in hte file cabinet?
s
I don't think you would need a snippet... create a saved search on folders and limit the criteria to only the folder you want, make sure you return
file...internalid
.. then loop those results and use file.delete()
a
Okay. I didn't mean it was hard. Just thought if it was done already could save the time
After all it should take all of 10 minutes...