How can we clear all the contents/files everytime initially when the Javascript is executed in Adobe campaign Classic v6? | Community
Skip to main content
Sanket_Phawde
Level 2
Mar 28, 2019 7:28 AM UTC
Solved

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

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Jonathon_wodnicki
Jonathon_wodnickiAccepted solution
New Participant
Apr 1, 2019 4:34 PM UTC

Hi,

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

Thanks,

-Jon

1 reply

Jonathon_wodnicki
Jonathon_wodnickiAccepted solution
New Participant
Apr 1, 2019 4:34 PM UTC

Hi,

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

Thanks,

-Jon

Translate