Ashley - I have a couple of questions about the importer API. First in the example plugin.js, on line 70, you have: const imageEntry = zipFile.GetEntry(filename);
[quote:3bzhpeq7] // Look for the given filename in the zip file.
const imageEntry = zipFile.GetEntry(filename);
if (!imageEntry)
return; // referenced filename is missing in zip
// If the file exists, read the referenced image file as a Blob.
const imageBlob = await zipFile.ReadBlob(imageEntry);
Is it possible to have it read from the folder of the dropped file, or does it have to be a zip file that contains the other files?
Second question, how would I go about adding entries to the event sheet - In C2, dragging and dropping the scml file created the On Initialized event, and added the Associate actions. Is this possible with this API yet?