Solved
File extraction with headers only, no data
Is it possible to extract a blank file with headers only using the File Extraction activity?
Is it possible to extract a blank file with headers only using the File Extraction activity?
Hi all,
you could also use the File class (https://experienceleague.adobe.com/developer/campaign-api/api/c-File.html?hl=file) to achieve this:
var f = new File("/path/to/output/file.csv");
f.open("a"); // opens file in "append" mode
f.writeln("Header 1;Header 2; Header 3");
f.close();Cheers, Tobias
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.