Expand my Community achievements bar.

Adobe Campaign User Groups are live now. Join our Adobe Campaign User Groups and connect with your local leaders!
SOLVED

How can we clear all the contents/files everytime initially when the Javascript is executed in Adobe campaign Classic v6?

Avatar

Level 2

I need to clear all the content/files which are uploaded or saved when the javascript code is executed, so when the same code is executed again it should clear all the previous contents/files.

need all the actions to be implemented in javascript.

Any solutions?

Regards,

Sanket Phawde

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

Assuming 'clear' means delete, use execCommand() with shell code, 'rm' for Linux, 'del' for Windows.

Thanks,

-Jon

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi,

Assuming 'clear' means delete, use execCommand() with shell code, 'rm' for Linux, 'del' for Windows.

Thanks,

-Jon