Automate Report Sending

Avatar

Avatar

alistairk396804

Avatar

alistairk396804

alistairk396804

27-02-2017

Hi,

I am looking to automate sending reports to a group of recipients at the end of a campaign.

I am basing this off of THIS use case. I have some queries and questions.

In the Javascript there are two different code examples available in that use case, one in the screen shot and the other in the example code snippet. I can get neither to work. Am I right in thinking there is an ';' missing from the code after _reportContext={reportName} />? If so could the fix be posted?

var reportName = "deliveryFeedback"; var path = "C:\\"+"deliveryFeedback"+".pdf"; var exportFormat = "PDF"; isAdHoc = false; var _ctx = <ctx _context="global" _reportContext={reportName} />xtk.report.export(reportName,_ctx,exportFormat,path,isAdHoc)

Second. The linked use case seems to store a file onto a local drive and then picks this up in the delivery. Is there a simple way to pass this over in the delivery and not involve downloading onto a local drive? My initial attempts to replicate the method I've used to attach files is failing and I'd just like to check if it is feasible.

View Entire Topic

Avatar

Avatar

somasundaramh14

Avatar

somasundaramh14

somasundaramh14

16-10-2018

Hi,

I'm also getting the same issue as:

BAS-010017 Cannot read from file '/usr/local/neolane/nl6/var/"my product server address"/' (errno=2, No such file or directory)

Can you please help me with this?

@alistairk39680404

Please let me know how did you fix this.