Hi Team,
I have report which needs to be schedule at 10AM daily to the me and another one. Can you guys help me to support on this? Attached screenshot is for your reference.
Thanks,
Shama.
Solved! Go to Solution.
You can automate the report through java script.
vars.AshokDeliveryRpt="/usr/local/neolane/nl6/var/xxxxxxxxx/export/Ashok_DS_1.xls";
var reportName = "CustomDeliveryStatistics";
var path = vars.AshokDeliveryRpt;
var exportFormat = "XLS";
isAdHoc = false;
var _ctx = <ctx _context="selection" _selectionCount="1" _selection={campId} _schema="nms:delivery" _reportContext={reportName} />
xtk.report.export(reportName,_ctx,exportFormat,path,isAdHoc);
Once report is generated in the export directory - you can add it as an attachment and send it everyday in a specified time.
You can automate the report through java script.
vars.AshokDeliveryRpt="/usr/local/neolane/nl6/var/xxxxxxxxx/export/Ashok_DS_1.xls";
var reportName = "CustomDeliveryStatistics";
var path = vars.AshokDeliveryRpt;
var exportFormat = "XLS";
isAdHoc = false;
var _ctx = <ctx _context="selection" _selectionCount="1" _selection={campId} _schema="nms:delivery" _reportContext={reportName} />
xtk.report.export(reportName,_ctx,exportFormat,path,isAdHoc);
Once report is generated in the export directory - you can add it as an attachment and send it everyday in a specified time.
Hi Ashok,
Thanks for getting me back.
I have created the report by using descriptive analysis mode. Then how should we able to use the above script in the report? Sorry. Since I am new to create reports in Adobe Campaign Classic, I need your guidance on this.
Much appreciated.
Shama.
Views
Replies
Total Likes
Create a new report - whatever you are trying to view in Descriptive analysis - you could do it through report query then create a output page. Refer the query whatever you created as 'contextual data'. Save and publish.
Then Call that report internal name in the above mentioned Java script.
Hi Vinod,
Thanks for getting me back.
I haven't used Javascript by creating report.
Could you share any screenshot reference on how did you create the report with query builder plus Javascript functionality on ACC please?
Thanks,
Shama.
Views
Replies
Total Likes
Views
Likes
Replies