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

Avatar

Avatar

sanketp67190370

Avatar

sanketp67190370

sanketp67190370

28-03-2019

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

wodnicki

MVP

Avatar

wodnicki

MVP

wodnicki
MVP

01-04-2019

Hi,

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

Thanks,

-Jon

Answers (0)