Creating Reports

WrangleBot supports exporting MetaFile meta data to a Clip Report as a PDF.

const reportOptions = {
    
    pathToExport : "/path/to/folder/"
    
    uniqueNames: true, //adds timestamp to the file name
    format: "pdf" //only pdf supported
    template: "clipReport", //only clipReport supported
    
    /* optional */
    reportName: "Report Name"
    logoPath: "/path/to/company/logo",
    credits: "Generic ABC Company LLC" //the name of the asset owner
}

await library.query.metafiles.many({$ids:[...]}).export.report(reportOptions);

Last updated