If you really need to save it to a file and display it in the browser, use cfcontent with the file attribute.

Author: Gagar Faehn
Country: Anguilla
Language: English (Spanish)
Genre: Career
Published (Last): 2 March 2015
Pages: 366
PDF File Size: 13.42 Mb
ePub File Size: 19.84 Mb
ISBN: 906-7-28209-559-1
Downloads: 69462
Price: Free* [*Free Regsitration Required]
Uploader: Zushicage

I suck at XSL too. I did some searching and found an explanation of it that suggests it can be any string so folks can either create such a variable or modify the 4 places it’s used within.

How did you get to the bottom of this! Then we started experimenting with everything. Thanks for the update. This task would occur subsequent to the inital request. Cfdcument NAME attribute is for when you don’t want to do that. You can see how taking the process of determining widths out of the equation would benefit the processing speed.

This would round up this useful page!

When I use the cfcontent my browsers asks if I want to open or save the file, but the filename has an. More likely, you may choose this approach to facilitate caching and later reusing the generated output.


Stack Overflow works best with JavaScript enabled. In other words, they are mangling the file a bit to make it work in the new format. If they match, the PDF will display correctly.

Keep those questions coming. How do I open the document in the browser just after the cfdoc is created? Anyone else cfdocmuent similar problems? By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies. When it comes to performance, however, there are a number of things to keep in mind.

Discussion – ColdFusion

To get the latest PDF viewer, visit http: I had 2 issues with PDF attachments using cfdocument. It happens on the client – and you are using the cfocument of the desktop to do some of your work for you good for you! DNS issues are always problematic on web servers and rarely understood. I have a page with a. I’ll do a new blog entry on it in a moment. Please enter a title.

Differences between cfdocument and cfhtmltopdf

Turns out it’s not as easy as it could be. I fcdocument a FTP But I’m guessing you must have had a reason to make it a variable. You should check that out. This blog is running version 5. Blog provided and hosted by CF Webtools. Filesize was way too large for some reason. Comments 8 Print del.


The page just hangs waiting for a response, it appears. Are you still running CF11? The weird thing is that XSL: The larger or higher resolution the image file, the more processor intensive it becomes.

I have just finished getting this to work. Why does anr impact performance? Enter your email address to subscribe to this blog.

coldfusion – Opening PDF file after creating CFDocument – Stack Overflow

We have the latest hot fixes in place This content has been marked as final. OK, I have confirmed now more specifics, about whether this issue is about “commercial” us You don’t have JavaScript enabled. I wish they would let us round.

I didn’t try cfpdf. Turned out to be a versioning problem I save the chart as a. I had a reason today to test this workaround on ColdFusion This is, naturally, a processor intensive operation. Email Required, but never cfdofument. All the resources it needs to be viewed must be embedded in the file. Anyone got an idea how to save it to a file?