Copy link to clipboard
Copied
Hi All,
I have an interactive pdf (in where I can type something and save it if I want).
I am using the following CF code to read that pdf and display its contents using the <cfdump> tag. But nothing is being displayed upon running this code. I just wonder whether the CF8 Developer edition might not have any support for <cfpdf> tag?. Please correct me if I am wrong.
<cfpdfform source="C:\ColdFusion8\wwwroot\david\Sample_PDF.pdf" result="resStruct" action="read">
<cfdump var="#resStruct#" label="PDF Contents">
</cfpdfform>
Any idea?.
Try moving the CFDUMP outside of the CFPDFFORM tags.
<cfpdfform source="C:\ColdFusion8\wwwroot\david\Sample_PDF.pdf" result="resStruct" action="read" />
<cfdump var="#resStruct#" label="PDF Contents" />
Message was edited by: JR "Bob" Dobbs Added code sample.
Copy link to clipboard
Copied
Try moving the CFDUMP outside of the CFPDFFORM tags.
<cfpdfform source="C:\ColdFusion8\wwwroot\david\Sample_PDF.pdf" result="resStruct" action="read" />
<cfdump var="#resStruct#" label="PDF Contents" />
Message was edited by: JR "Bob" Dobbs Added code sample.
Copy link to clipboard
Copied
Thanks JR!!.. Good Catch!!...