cfcontent no longer works with ActivePDF in CF2016 [dealbreaker]
I have been evaluating CF 2016 before purchasing to upgrade our server.
One of the key interactions we have always had was between CF and ActivePDF Toolkit.
I have spoken with ActivePDF support, and they have recreated the same issue I am reporting here with CF 2016.
After using the ActivePDF Toolkit function "Get_OutputByteStream" to put the manipulated PDF into a binary data variable (variable name "pdf"), I then pass that variable into CFCONTENT to display it in the user's browser.
<cfcontent type="application/pdf" variable="#pdf#">
However, the result is now a CF error page which says:
"[S is not a supported variable type. The variable is expected to contain binary data."
It has been verified that Get_OutputByteStream in ActivePDF is creating a good PDF by writing the variable named "pdf" to a pdf file on the server.
As a side note, I also noticed and verified with ActivePDF that CF 2016 cannot seem to handle COM properly, so I have to used the .NET integration in working with ActivePDF Toolkit. That is not a big deal but worth mentioning. However, no workaround can be found for the CFCONTENT issue mentioned above.
We have always used CFOBJECT to create the Toolkit object using the following code, which no longer works.
<CFOBJECT ACTION="Create"
TYPE="COM"
Class = APToolkit.Object
NAME="TK">
