Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Export to PDF functionality not working in Campaign Classic

onem27750064
Level 1
Level 1

Hi All,

 

We are facing an issue while exporting PDF Reports of Email deliveries since last month in Adobe Campaign Classic. While exporting it waits about 2-3 minutes to generate the report and then we receive a pop-up window for saving the file locally but file downloaded locally will be having null size (0KB size). This file doesn't holds any content and it can't be opened in of the pdf readers.

But on the other hand for the same email delivery we are able to export it as Excel. There is no pop-up error messages coming in Campaign rich-client console.

Note here we are able to export and download to Excel reports in both xlsx & ods format without any troubles

 

 pdf_issue.JPG

 

One strange behaviour is like we are able to get it saved locally in pdf format using the print option (using the circled print button).

 

From the application server logs we have noticed the below error message during this export.

2021-02-12 06:15:38.976Z 000075F1 00001210 1 error log XSV-350142 A problem occurred while creating the report: '[phantomJS]Unable to post to: https://xxxxx.yyyyy.com/report/me
ssageCenterExecutionTimes?__universe=reports&__securitytoken=%-------------************-------------------&_context=global&_reportLabel=Message%2520Center%2520processing%252
0time&_banimation=false\n'. (iRc=-53)

 

Current Campaign version: 9032 Gold Standard 11

 

We are not able to find any sultion for this issue from the past two months. Kindly help if someone of you have come across this starnge behaviour.

 

Thanks in advance.

 

--

Regards

Abin Cherish

1 Accepted Solution
vraghav
Correct answer by
Level 2
Level 2

Hi Abin, The environment variable on the server side need to be set properly to invoke LibreOffice correctly. Please contact support if not done already

View solution in original post

3 Replies
wodnicki
Community Advisor
Community Advisor

Hi,

 

Try switching htmlToPdf mode to wkhtmltopdf in instance conf:

 

Thanks,

-Jon

onem27750064
Level 1
Level 1

Hi Wodnicki,

 

We don't have this wkhtmltopdf binary. Only the phantomjs binary and htmlToPdf.js file is available.

From where can we get the wkhtmltopdf binary and its associated js file?

 

--

Regards

Abin Cherish

vraghav
Correct answer by
Level 2
Level 2

Hi Abin, The environment variable on the server side need to be set properly to invoke LibreOffice correctly. Please contact support if not done already

View solution in original post