Welcome Guest Search | Active Topics | Sign In | Register

HtmlToPdfTriggerMode.Dual Stopped working after upgrading to 21.3.18 Options
Tom Karafonda
Posted: Wednesday, February 16, 2022 1:50:48 AM
Rank: Newbie
Groups: Member

Joined: 9/12/2012
Posts: 8
As part of a semi-regular refresh I updated from 21.1.11 to 21.3.18. The scenario where we use HtmlToPdfTriggerMode.Dual stopped working. All other use cases still work. I know everyone says it but I didnt change any other code so I am relatively confident the updated DLLs are the culprit. please advise.

Thanks,

Tom
eo_support
Posted: Thursday, February 17, 2022 7:31:18 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Hi,

There is indeed an issue with this build that eoapi.isEOPdf() always returns false --- it should return true instead inside EO.Pdf. So if your manual triggering code relies on this function, then it would not work.

Our latest build on our download page fixed this issue. So you can download that build and see if it resolves the issue for you. Make sure you revisit your license key page to get a new license key for this version becaue this is 2022 build so it requires a different key.

Thanks!
Tom Karafonda
Posted: Wednesday, December 6, 2023 4:08:05 PM
Rank: Newbie
Groups: Member

Joined: 9/12/2012
Posts: 8
Hi,

I am experiencing the same issue again after upgrading to 23.4.5.

Thanks,

Tom
eo_support
Posted: Wednesday, December 6, 2023 7:20:45 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Hi,

We are not aware of this problem in build 23.4.5. Can you send a test project to us? See here for more details:

https://www.essentialobjects.com/forum/test_project.aspx

Thanks!
Tom Karafonda
Posted: Thursday, December 7, 2023 12:13:29 PM
Rank: Newbie
Groups: Member

Joined: 9/12/2012
Posts: 8
Apologies, I am good, in setting up the sample, I see that the javascript library changed. We used to call
if (typeof(eopdf) == "object") eopdf.convert();
but now I see we need to call:
if (window.eoapi && eoapi.isEOPdf()) eoapi.convert();

Thanks.

eo_support
Posted: Thursday, December 7, 2023 12:33:09 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Great! We did keep "eopdf" for a few versions for backwards compatability but it was eventually removed. Sorry for the breaking changes and glad to hear that you found out the root of the problem.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.