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
March 28, 2019
Solved

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

  • March 28, 2019
  • 1 reply
  • 1019 views

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.
Best answer by Jonathon_wodnicki

Hi,

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

Thanks,

-Jon

1 reply

Jonathon_wodnicki
Community Advisor
Jonathon_wodnickiCommunity AdvisorAccepted solution
Community Advisor
April 1, 2019

Hi,

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

Thanks,

-Jon