Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

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

sanketp67190370
Level 2
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
wodnicki
Correct answer by
Community Advisor
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
wodnicki
Correct answer by
Community Advisor
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