|
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
|
|
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!
|
|
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
|
|
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.aspxThanks!
|
|
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.
|
|
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.
|
|