May 24, Maybe try a different content type, this should work files. cfcontent. Jan 13, To output a Flashpaper format report, use a CFCONTENT type of . I know CFDocument only supports FlashPaper and PDF (as of CF8). TIA. Jun 11, Bug in ColdFusion’s cfcontent within CustomTag execution end. Removing the trailing slash worked for me too (CF8). Thank you!!.

Author: Kazizragore Moogugis
Country: Colombia
Language: English (Spanish)
Genre: Spiritual
Published (Last): 12 April 2016
Pages: 344
PDF File Size: 20.50 Mb
ePub File Size: 1.85 Mb
ISBN: 393-8-40248-933-1
Downloads: 97293
Price: Free* [*Free Regsitration Required]
Uploader: Brarr

It worked for me! This may not be news to some, but it was to me.

Check the file name of the PDF. This is some very innovative stuff. Here’s a quick example: PDF files were being sent as. The first 2x “– boundary ” lines I had coded as “– boundary –“. January 13, Wil, that’s interesting to hear. Hello, how can I convert pdf to excel? You’re right, though, that it can be a great benefit.

Bug in ColdFusion’s cfcontent within CustomTag execution end

I had not noticed it that the support matrix said only jdk I’ll put in a report about this to New Atlanta. Looking at the code above, can anyone see a reason why IE9 would not render the download dialog box for a Word document?

Maybe try a different content type, this should work for. I’ll do a new blog entry on it in a moment. This can fool you if you do development running a desktop running CF – because your local machine has all the MIME mappings of the crowded subway that is a developers workstation. It does not check to see if the file exists. If you have a document storage application or a data export application you know what I mean.


That is very handy. Sorry to have to play traffic cfdontent. Some may know the available FileName attribute, which allows you to save the output to a file. Thank you, I can’t recommend it enough. Just out of curiosity I had a reason today to test this workaround on ColdFusion Note that the “test!

Barry, I’m not clear cfcontemt your question. I used some Ben Nadel test code to check this, and his code used static text in the cfsavecontent, used a static filename, and still used toBinary and Tobase64 around the cfsavecontent name in the cfcontent tag, but still no download box This usually works great, but for some reason the output was always been displayed twice. For example, an engineering firm might upload CAD files, Office files, PDFs, images, and proprietary formats that you have cfcontfnt seen before.

I think it’s too important for folks to miss as many, even Adobe folks, have said “it can’t be done”. Thought it was working – but it’s NOT!

In fact you can readily use a non existent file without a full path and it will work just as well. Please correct the error and then click the Refresh button, or try again later. If any would ask, “but what about spreadsheets? Perhaps it just dumps it out? Jon you’re a star! If I can find it, I’ll post it.

Anyone got an idea how to save it to a file? If anyone comes across this post and is still looking for cf solution, I was able to get this to work by passing a variable to cfcontent. But I’m guessing you must have had a reason to make it a variable. David, I’m afraid that really has nothing to do with the entry here ok, cfconrent about PDFs, and so is yours, but it’s a stretch.


Please be thoughtful, detailed and courteous, and adhere to our posting rules. That said, something still feels “buggy” though fccontent if you exit the template hault the START mode of executionyou still shouldn’t see the output twice – it would only jump to the body which you don’t have and then on to the END mode execution, which would only cfcontemt once.

GB in SQL Server – Coldfusion Database Access

This is my first time posting to Stack Overflow, so be gentle. To get the latest PDF viewer, visit http: Looks like I need another solution for this. Here’s good news though. Thanks for taking care of that, Dan. Have something to contribute to this discussion? If the feature interests you, Cfconten recommend you report it to them as a bug.

XML will ignore any special characters inside. You can, in fact, send the report out as an attachment to cfmail. If you are like me, you end up writing code that switches against the file extension to set the mime type. How would you output it?

When trying to output to MS Excel I get an error. There is an option in Coldfusion 8 cfdocument tag called fontembed.